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.
User Event script errors out - but only from the console
I'm running a User Event script with a before submit trigger on a Work Order. I am grabbing some info from one of the items in the sublist and then populating a few custom body fields. In particular, I'm populating a custom field of type integer.
When I run the script through the UI everything works as expected. However, if i perform an nlapiSubmitField from the console, I get the error:
INVALID_FLD_VALUE - You have entered and Invalid Field Value 1000.0 for the following field: custbody_quantity
I have tried everything I can think of to try and get the thing to submit properly. I've tried:
0