Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
c# sample code to set employees' with related custom fields to null with SuiteTalk
[h=2]Hi all,[/h] to set a custom field defined on the employees I did:
ListOrRecordRef mainReviewer = new ListOrRecordRef();
mainReviewer.internalId = "id from the related list here";
SelectCustomFieldRef scfr1 = new SelectCustomFieldRef();
scfr1.internalId = "1625";
scfr1.scriptId = "custentity_employee_main_reviewer";
scfr1.value = mainReviewer;
emp.customFieldList[0] = (CustomFieldRef)scfr1;
Now, I'm trying to set to null that field and I haven't found code samples to do it.
Can anybody out there help me?
Many thanks,
Antonio