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.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Create Sales Order in Pending Approval Status
When Sales Orders are added online I want them to have a Status of Pending Fulfillment, but when I create them using a Web Service I want them to have a Status of Pending Approval.
When I set the status using:
order.setStatus(SalesOrderOrderStatus.__pendingApproval);
I get the error:
You do not have permissions to set a value for element status due to one of the following reasons: 1) The field is read-only; 2) An associated feature is disabled; 3) The field is available either when a record is created or updated, but not in both cases.
Any ideas on how I could achieve this?
0