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.
Error re: comparison of values in Advanced PDF template
We have an Advance PDF template for invoices that includes from Freemarker logic.
For example, there was a sections of HTML following the below condition:
<#if record.discounttotal != 0>
I've since added another section of HTML following the below condition:
<#if record.amountpaid != 0>
However, now when I try to either save the template or preview it, I get the following error:
I can click Save to submit it anyway, and the template works exactly as expected. It's mostly annoying, with the biggest impact being not getting a preview of the template.
What syntax should be used to get at the value of a sequence+hash+string?
0