Discussions
Join the NetSuite community to innovate, connect, and discover what’s next.
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Register now
How can I add Bottle Deposits to Invoices?
Hello Everyone,
I'm trying to add bottle deposits to invoice templates. Here's the line from the original template my company was using:
<td colspan="12"><span class="itemname">${item.item}</span><br />${item.description}</td>
The trouble is that bottle deposits in our system are currently stored as OtherChargeSaleItem, which doesn't have a description field. The information I want to include in the template is in item.displayname instead.
I've worked around this in one template with the following:
<td colspan="12"><span class="itemname">${item.item}</span><br /><#if item.displayname?length != 0>${item.displayname}<#else>${item.description}</#if></td>