Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
How do I limit the Price field {item.rate} to display 2 decimals in HTML/PDF forms??
Our Price field displays as follows in an Advanced PDF/HTML Template Invoice PDF.
Here is my attempted solution:
<td align="right" colspan="6" line-height="50%">${nsformat_rate(32, "USD")item.rate)}</td>
which gives error:
Error on line 209, column 83 in template.Detail...
Syntax error in template "template" in line 209, column 83:
Encountered "item", but was expecting one of:
".."
<DOT_DOT_LESS>
"..*"
"}"
There is apparently much I do not understand here. Any guidance appreciated. Thank you!
0