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.
Please note that on Saturday, April 11, 2026, at 8:00 PM Pacific time, our Case Management System will undergo a scheduled maintenance for approximately 30 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
Why is Math.round not working on certain roles?
Hello,
We currently have created a custom suitescript for some label printing that we use for inventory.
Mainly, the suitelet script looks at a Work Order Issue, and then populates the quantities on a table so that we can input how many copies of a label to print.
It populates these values on a sublist using the following line of code:
The weird part is that I hjave this working on my role (I have an admin role without access to HR stuff), and so can my manager, but when we try this with a non-admin employee on their role, the Math.round seems to fail:
Tagged:
0