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.
How to create a currency symbol in a script?
Hi-
We have a custom field in an estimate for that need to be populated with either $ or £ or €... I can paste the symbol into the field manually, and it will render in the PDF merge output (when sending the proposal). However, this field needs to be populated by a script.
The problem is that these lines (obviously a few a re left out) don't seem to work:
var csymbol="£";
estimate.setFieldValue('ccustbody_currsymbol', csymbol);
I have tried using "\u00A3" for GBP (with no luck). I see that the hex codes for symbols are listed at: http://www.xe.com/symbols.php#list
0