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.
Update: Narrative Insights has been restored and is now available.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
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