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.
How do I delete a custom field value from SalesOrder?
I am trying to update several of many custom fields on a SalesOrder.
Some fields I would like to delete or unset. Yet I have tried a null value and empty string to no avail.
so.setCustomFieldList( new CustomFieldList( new CustomFieldRef[] { new StringCustomFieldRef("custbody_field1", "value1") , new SelectCustomFieldRef("custbody_field2", new ListOrRecordRef(null , "value2" , null, "customrecord_field2" ) ) } ) ); 0