Modules
Objects/Functions
SuiteScript 2.0
// Please search https://system.netsuite.com/app/help/helpcenter.nl?search=PiRemovalTaskLogItem.message for more information.
N/piremoval Module
PiRemovalTaskLogItem.message
Property Description:
Log item text message.
The message specifies if the record type is not set, or if one of record, field, or workflow IDs do not exist.
Type:
string (read-only)
Module:
N/piremoval Module
Parent Object:
piremoval.PiRemovalTaskLogItem
Sibling Object Members:
PiRemovalTaskLogItem Object Members
Since:
2019.2
Search NetSuite -
https://system.netsuite.com/app/help/helpcenter.nl?search=PiRemovalTaskLogItem.message
Example:
// Code Example 1
// Add additional code
//...
var myPiRemovalTask = piremoval.createTask({
recordType: 'customer',
recordIds: [95],
fieldIds: ['email'],
historyReplacement: 'removed_value'
});
myPiRemovalTask.save();
var myId = myPiRemovalTask.id;
var myStatus = piremoval.getTaskStatus({
id: myId
});
var theLogList = myStatus.logList;
for (var i = 0; i < theLogList.length; i++) {
var theLogListMessage = theLogList[i].message;
// Do something with the log list message here
}
//...
// Add additional code
//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_156174862773.html