Modules
Objects/Functions
SuiteScript 2.0
// Please search https://system.netsuite.com/app/help/helpcenter.nl?search=EntityDeduplicationTask.entityType for more information.
N/task Module
EntityDeduplicationTask.entityType
Property Description:
The type of entity on which you want to merge duplicate records.
Use a task.DedupeEntityType enum value to set the value.
If you set entityType to CUSTOMER, the system will automatically include prospects and leads in the task request.
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.entityType
Example:
// Code Example 1
//Add additional code
//...
dedupeTask.entityType = task.DedupeEntityType.CUSTOMER;
//...
//Add additional code
//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_458601928710.html