Modules

filter

 

Objects/Functions

module (N/task)

SuiteScript 2.0

task.MasterSelectionMode

task.MasterSelectionMode.{|CREATED_EARLIEST,MOST_RECENT_ACTIVITY,MOST_POPULATED_FIELDS,SELECT_BY_ID|}

N/task Module
task.MasterSelectionMode
Enum Description: Enumeration that holds the string values for supported master selection modes when merging duplicate records with task.EntityDeduplicationTask. Use this enum for the EntityDeduplicationTask.masterSelectionMode property. For more information about these values, see Merging or Deleting Duplicate Records. JavaScript does not include an enumeration type. The SuiteScript 2.0 documentation utilizes the term enumeration (or enum) to describe the following: a plain JavaScript object with a flat, map-like structure. Within this object, each key points to a read-only string value.
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=task.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_4345807507.html