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.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
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