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.
Please note that on Saturday, April 18, 2026, at 8:00 PM Pacific Time, our Case Management System will undergo a scheduled maintenance for approximately 15 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
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