Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
How to add Age in Days Column at Statement Printout Using Advanced PDF/HTML Template?
I followed these two answers 49990 and 81907, but it still gives me an error when previewing the pdf. could you please enlighten me what was wrong? Thank you!
<td align="right" style="width: 106px;">${((.now?date?long-line.duedate?date?long)/(1000*60*60*24))?int}</td>
tried removing the spaces also
<#list record.lines as line><tr>
<td style="width: 83px;">${line.datecol}</td>
<td style="width: 103px;">${line.description}</td>
<td style="width: 91px;">${line.duedate}</td>
<#if line.duedate?string?has_content>
<td align="right" style="width: 106px;">${((.now?date?long-line.duedate?date?long) / (1000 * 60 * 60 * 24))?int}</td>
<#else>
<td align="right" style="width: 106px;">${fieldID}</td>