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
dynamicl
07/23/2020, 2:59 PM
Permissions? What role are you using with the access token?
netsuite 1
s
screnshaw
07/23/2020, 3:00 PM
the role has full permissions to sales order
screnshaw
07/23/2020, 3:00 PM
it's able to create the order status and any status I want, but not able to update the status
screnshaw
07/23/2020, 3:12 PM
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"
screnshaw
07/23/2020, 3:15 PM
Found it. There is a Sales Order Approval Permission. You'd think NetSuite would throw an error
d
dynamicl
07/23/2020, 4:51 PM
Do you have your code in a try catch block? Worth doing if not.