Adding Apply Sublist to Check Templates
By default, Apply sublist items are not printed on check templates. However, you can customize the check template as follows to include the Apply sublist.
<#if check.item?has_content || check.expense?has_content || check.apply?has_content>
<table style="position: absolute;overflow: hidden;left: 36pt;top: 90pt;width: 436pt;">
<#list check.expense as expense>
<tr>
<td>${expense.account}</td>
<td>${expense.date}</td>
<td>${expense.description}</td>
<td align="right">${expense.amount}</td>
</tr>
</#list>
<#list check.item as item>
<tr>
<td> </td>
<td>${item.date}</td>
<td>${item.item}, ${item.description}</td>
<td align="right">${item.amount}</td>
</tr>
</#list>
<#if check.apply?has_content>
<#list check.apply as apply>
<tr>
<td> </td>
<td>${apply.applydate}</td>
<td>${apply.type} ${apply.refnum}</td>
<td align="right">${apply.amount}</td>
</tr>
</#list>
</#if>
</table>
</#if>
Related Topics
- Source Code Editing in the Template Editor
- Source Code Editing to Customize Advanced Templates
- Syntax for Advanced Template Fields
- Setting a Template to Use a Font Unavailable in NetSuite
- Languages for Printed Forms that Use Advanced Templates
- Adding Translated Content in Advanced Printouts
- Adding Striping to Line Items in Advanced Templates
- Adding Page Breaks to Tables
- Printing Subsidiary Logo on Advanced Templates
- Using FreeMarker to Work with Hidden Fields Used in Advanced Templates
- Adding Bar Codes in Advanced Templates