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.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
Advanced PDF / HTML Template - Boolean vs Text Comparisons
I encountered many instances where I have a field in Production and the same field in the Sandbox, and I try running a comparision in Freemarker for the value stored in the field, but for some reason I am getting different responses in each environment.
The funny thing is the following: I understand that there could be some sort of change to the way the system reads in custom fields, but this is happening with core, built-in Netsuite fields as well.
For example, with checkbox fields, I attempted to run formulas such as:
<#if CUSTOMFIELDHERE
I received some sort of error when attempting this check, so I modified it to:
0