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.
Please note that on Saturday, April 11, 2026, at 8:00 PM Pacific time, our Case Management System will undergo a scheduled maintenance for approximately 30 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
Can't update SalesOrders' pnRefNum field using SOAP webservice
We're using v2020_1 and have code working that can update a field on the SalesOrder. For example, we can update the transaction date (tranDate field).
However, we want to update the pnRefNum field but can't. The server returns success but the value is not getting updated.
We spoke to someone in support and they said we also have to update the ccApproved and authCode fields as well but that doesn't work either. Again the transaction succeeds but the pnRefNum field is not getting updated.
Here's what the soap body looks like for the request:
<soap:Body>
<platformMsgs:update>
<platformMsgs:record xsi:type="tranSales:SalesOrder" internalId="10845577" externalId="">
1