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.
How Approve Sales Order from Script
Hi
I want to approve sales order with a script, I've read all the related threads and I do what they say, but nothing seems to work.
I been having this problem for a while and and it just has begun to make me angry, I've trying for several options and I don't know what else to do.
The last time, I put this code:
nlapiSubmitField(recType,recId,'orderstatus','B');
nlapiSubmitField(recType,recId,'origstatus','B');
nlapiSubmitField(recType,recId,'statusRef','pendingFulfillment');
nlapiSubmitRecord(record);
But it doesn't work, and something weird is that in the debugger it WORKS!!!!.
if you... if anyone can help I'll appreciate it.
0