EntityDeduplicationTask.submit()

Note:

The content in this help topic pertains to SuiteScript 2.0.

Method Description

Directs NetSuite to place the merge duplicate records task into the NetSuite task queue and returns a unique ID for the task.

Use EntityDeduplicationTaskStatus.status to view the status of a submitted task.

Returns

string

The task ID

Supported Script Types

Server scripts

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

Governance

100 units

Module

N/task Module

Since

2015.2

Errors

Error Code

Message

Thrown If

FAILED_TO_SUBMIT_JOB_REQUEST_1

Failed to submit job request: {reason}

Task cannot be submitted.

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 
...
var dedupeTaskId = dedupeTask.submit();
...
//Add additional code 

        

Related Topics

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

General Notices