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!
INSUFFICIENT_PERMISSION error when setting salesrep on a SalesOrder
Hi,
I'm encountering a permissions error when I try to create a Sales Order through the SuiteTalk SOAP API. (I'm using the Ruby netsuite gem as an abstraction from the SOAP API)
It seems I have an issue related to the Sales Rep field, but the field is not read-only on the form.
<soapenv:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Header>
<platformMsgs:documentInfo xmlns:platformMsgs="urn:messages_2017_2.platform.webservices.netsuite.com">
<platformMsgs:nsId>WEBSERVICES_713884_092020191304521456628074885_edb4e84d57442</platformMsgs:nsId>
</platformMsgs:documentInfo>
</soapenv:Header
1