MergeElementsTask.submit()
Method Description |
Submits the merge task for processing. This method returns a task ID that uniquely identifies the merge task. This task ID also represents the submission ID of the internal bulk process that performs the merge. |
Returns |
number |
Supported Script Types |
Server scripts For more information, see SuiteScript 2.x Script Types. |
Governance |
20 units |
Module |
|
Parent Object |
|
Sibling Object Members |
|
Since |
2019.2 |
Errors
Error Code |
Thrown If |
---|---|
|
An invalid date format is specified in the MergeElementsTask.contractCostAccrualDate property or the MergeElementsTask.revenueArrangementDate property. |
Syntax
The following code snippet shows the syntax for this member. It is not a functional example. For a complete script example, see N/task/accounting/recognition Module Script Samples.
var recognitionTask = recognition.create({
taskType: recognition.TaskType.MERGE_ELEMENTS_TASK
});
recognitionTask.elements = elementsList;
var taskStatusId = recognitionTask.submit()