Discussions

Check out Oracle NetSuite upcoming events and conferences here
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!
Update your Profile with your Support type to get your Support Type badge.
Expand your NetSuite knowledge by joining our Ask A Guru Live sessions. RSVP on this event now.
Community Poll: What sort of content would you like to see more of?
Get ready to take on exciting new challenges and become the next SuiteMaster of the Month!

Adding a currency symbol to the Totals box

edited Mar 17, 2022 8:52PM in NetSuite Admin Corner 1 comment

Hi All


I just wanted to share with you a User Event script that I had written to add the currency symbol to the numbers in the Totals box, found on Estimates, Bills, and Sales Orders among others. It assumes that the current locale/currency is prefixed to the value rather than suffixed (as in some situations) but this can be easily changed per implementation.

It doesn't run intentionally on create or copy as the currency could be changed mid transaction and wouldn't reflect the value correctly. And relies on the jQuery engine being available 1.5 seconds after the script tag (from the inline html) is executed, to be able to load the necessary modules, extract the current currency, and inject the correct symbol. It also expects the totalbox to have a CSS class of "totallingtable".

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!

Leaderboard

Community Whiz

Quarter 3 (Jul-Sep 2024)

This Week's Leaders

This Month's Leaders

All Time Leaders