Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
Adding a currency symbol to the Totals box
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".