Modules
Objects/Functions
SuiteScript 2.0
// Please search https://system.netsuite.com/app/help/helpcenter.nl?search=PiRemovalTask.historyReplacement for more information.
N/piremoval Module
PiRemovalTask.historyReplacement
Property Description:
The text used in system notes to replace the original value.
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.historyReplacement
Example:
// Code Example 1
// Add additional code
//...
var myPiRemovalTask = piremoval.createTask({
recordType: 'customer',
recordIds: [95],
fieldIds: ['email'],
historyReplacement: 'removed_value'
});
myPiRemovalTask.save();
var theHistoryReplacement = myPiRemovalTask.historyReplacement;
//...
// Add additional code
//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_156174597006.html