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.
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