EntityDeduplicationTask.masterSelectionMode

Note:

The content in this help topic pertains to SuiteScript 2.0.

Property Description

When you merge duplicate records, you can delete all duplicates for a record or merge information from the duplicate records into the master record.

Set this property to determine which of the duplicate records to keep or select the master record to use by ID.

Use the task.MasterSelectionMode enum to set the value.

Type

string

Supported Script Types

Server scripts

For more information, see SuiteScript 2.x Script Types.

Module

N/task Module

Since

2015.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/task Module Script Samples.

          //Add additional code 
...
dedupeTask.masterSelectionMode = task.MasterSelectionMode.MOST_RECENT_ACTIVITY;
...
//Add additional code 

        

Related Topics

task.EntityDeduplicationTask
N/task Module
SuiteScript 2.x Modules
SuiteScript 2.x

General Notices