Netsuite: Creating auto-generated tables
You can pull data from Netsuite into your Conga Collaborate documents to create an auto-generated table.
This is an example of a basic pricing table that will work if you’re using the standard fields in Netsuite. You can customize some parts of the code (shown below) to your own Netsuite instance in order to populate the table with the correct information.
BUILDING YOUR TABLE
To create an auto-generated table
<table style=”width: 100%;” data-source=”OpportunityLineItems”data-filter=”PricebookEntry.Product2.Family = ‘Subscription'” data-sort=”PricebookEntry.Product2.Name”> <thead> <tr> <th>Name</th> <th>Item Price</th> <th>Quantity</th> <th>Total Price</th> </tr> </thead> <tbody> <tr> <td>[name]</td> <td class=”money” style=”text-align: center;”>[itemprice]</td> <td class=”integer” style=”text-align: center;”>[quantity]</td> <td class=”money” style=”text-align: center;”>[totalprice]</td> </tr> </tbody> <tfoot> <tr> <td colspan=”3″ rowspan=”1″ style=”text-align: right;”>Total Price:</td> <td class=”money” style=”text-align: right;”>[SUM(priceperunit)]</td> </tr> </tfoot> </table>
Finally, test your auto-generated table using your data from Netsuite. When you create a new document, choose the template where you added the pricing table. You should be able to click Preview and see your populated table