Rick Goodrow
09/17/2021, 4:54 PMitem.quantitycommitted
is apparently a string value. I have a an <#if item.quantitycommitted > 0>
statement that was working previously because NetSuite was silently doing a string to numeric conversation on item.quantitycommitted
before evaluating, but threw Unexpected Errors when the quantity went over 999, due to the string value of item.quantitycommitted
being 1,234
. Apparently a comma makes the string to numeric conversation throw the unexpected error (confirmed by Support via log lookup). Anyone know how to reliably get the numeric value of numeric fields within an Advanced PDF Template?David B
09/19/2021, 11:13 PMit must be in the locale independent form, where the decimal separator is dot, and there's no grouping.
Rick Goodrow
09/20/2021, 3:31 PM