mescalante
07/17/2025, 8:01 PMCeligo AI
07/17/2025, 8:01 PMAI generated answer (using internal Slack threads):To insert a tab on an Advanced PDF template in NetSuite, you would need to use the Freemarker language which is used in the Advanced PDF templates. You can create a table structure using HTML and then populate the data using Freemarker. Here's a basic example of how you might structure a table:
html
<table>
<thead>
<tr>
<th>Column 1</th>
<th>Column 2</th>
<th>Column 3</th>
</tr>
</thead>
<tbody>
<#list record.item as item>
<tr>
<td>${item.item}</td>
<td>${item.description}</td>
<td>${item.amount}</td>
</tr>
</#list>
</tbody>
</table>
In this example, record.item
is the list of line items on the record, and ${item.item}
, ${item.description}
, and ${item.amount}
are the fields you want to display in the table. You would replace these with the actual fields you want to display.
To select the record type for the Advanced PDF, you need to go to the standard PDF template of the record type you want to create, edit it, and save it. This will automatically create a Custom Template for that record type. Once you've created the template, go to the record you wish to set that template for, go to customize form, then go to the print template drop-down field, select your template, and hit save.
As for accessing the billable time on an invoice in an advanced PDF, it's not natively possible. However, you can run a query and then inject it into an advanced PDF in a script, and then you could use that table.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
07/17/2025, 8:02 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.826192915
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.815876663
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.811759531
Celigo AI
07/17/2025, 8:02 PM