Modules
Objects/Functions
SuiteScript 2.0
// Please search https://system.netsuite.com/app/help/helpcenter.nl?search=PiRemovalTask.fieldIds for more information.
N/piremoval Module
PiRemovalTask.fieldIds
Property Description:
IDs of the fields whose PI is removed.
If no field IDs are entered, no information changes are performed. If the field IDs are null or invalid, the following exception occurs:
Wrong parameter type: options.fieldIds is expected as array.
Type:
string[] (read-only)
Module:
N/piremoval Module
Parent Object:
piremoval.PiRemovalTask
Sibling Object Members:
PiRemovalTask Object Members
Since:
2019.2
Search NetSuite -
https://system.netsuite.com/app/help/helpcenter.nl?search=PiRemovalTask.fieldIds
Example:
// Code Example 1
// Add additional code
//...
var myPiRemovalTask = piremoval.createTask({
recordType: 'customer',
recordIds: [95],
fieldIds: ['email'],
historyReplacement: 'removed_value'
});
myPiRemovalTask.save();
var theFieldIds = myPiRemovalTask.fieldIds;
//...
// Add additional code
//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_156174501852.html