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.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
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