Modules

filter

 

Objects/Functions

module (N/task)

SuiteScript 2.0

EntityDeduplicationTask.masterSelectionMode

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

N/task Module
EntityDeduplicationTask.masterSelectionMode
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.0 Script Types.
Module: N/task Module
Since: 2015.2
Search NetSuite - https://system.netsuite.com/app/help/helpcenter.nl?search=EntityDeduplicationTask.masterSelectionMode

Example:

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

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