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!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Remove partner from SalesOrder .Net
Hi All. I have an existing SalesOrder record that has the partner populated. I am trying to update the SalesOrder using SuiteTalk via .Net to remove the reference to the partner. I've tried:
salesOrder.partner = null;
salesOrder.partner = new RecordRef();
salesOrder.partner = new RecordRef { internalId = null, type = RecordType.customer, typeSpecified = true };
The update always returns success, but the partner remains unchanged. I can change the partner to a different customer, I just cannot remove the link. I am able to remove the partner via the UI.
Any help would be appreciated.
Thanks,
Jon
0