To my earlier message, in regards to changing the ...
# suitescript
s
To my earlier message, in regards to changing the sales order status, it works in user event script and client script, but NOT in a restlet. thoughts anyone?
d
Permissions? What role are you using with the access token?
netsuite 1
s
the role has full permissions to sales order
it's able to create the order status and any status I want, but not able to update the status
Yeah, I'm at a loss here. If I go to update the sales order's status, it shows in an after submit I have as correct, but when I refresh the page it is still "Pending Approval"
Found it. There is a Sales Order Approval Permission. You'd think NetSuite would throw an error
d
Do you have your code in a try catch block? Worth doing if not.