module (N/piremoval)

SuiteScript 2.0

// Please search for more information.

N/piremoval Module
Property Description: ID that uniquely identifies the PI removal task. This ID is assigned to the PI removal task when is called to save the task. You cannot specify your own task ID.
Type: number (read-only)
Module: N/piremoval Module
Parent Object: piremoval.PiRemovalTask
Sibling Object Members: PiRemovalTask Object Members
Since: 2019.2
Search NetSuite -


// Code Example 1
// Add additional code
var myPiRemovalTask = piremoval.createTask({
recordType: 'customer',
recordIds: [95],
fieldIds: ['email'],
historyReplacement: 'removed_value'
var theId =;
// Add additional code