Modules

filter

 

Objects/Functions

module (N/piremoval)

SuiteScript 2.0

PiRemovalTask.recordType

// Please search https://system.netsuite.com/app/help/helpcenter.nl?search=PiRemovalTask.recordType for more information.

N/piremoval Module
PiRemovalTask.recordType
Property Description: Type of record whose PI is removed. All records referenced in the piremoval.PiRemovalTask object must be the same type.
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.recordType

Example:

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

myPiRemovalTask.save();
var theRecordType = myPiRemovalTask.recordType;
//...
// Add additional code

//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_156174658201.html