The update operation is used to update an instance of a record in NetSuite. It is similar to the updateList operation, which allows users to update more than one record at a time.
The code template below shows the usage of a nullfield list to clear an already set field for the email address and phone fields using PHP ToolKit
Note: This article requires existing knowledge of Web Services and PHP.
$nullFieldArray = array(); $nullFieldArray['name'] = array(); $nullFieldArray['name'][] = 'email'; //clear email address $nullFieldArray['name'][] = 'phone'; //clear phone number $caseFields['nullFieldList'] = $nullFieldArray;
No comments:
Post a Comment