PiRemovalTask.recordType

Note:

The content in this help topic pertains to SuiteScript 2.0.

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

Syntax

Important:

The following code sample shows the syntax for this member. It is not a functional example. For a complete script example, see N/piremoval Module Script Sample.

            // 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 

          

Related Topics

piremoval.PiRemovalTask
N/piremoval Module
Personal Information (PI) Removal

General Notices