MergeElementsTask.elements
Property Description |
Holds an array of internal IDs of the revenue element records to merge. This property is required. You must specify a value for this property before you can submit the task for processing using MergeElementsTask.submit(). |
Type |
Array<number | string> |
Module |
|
Parent Object |
|
Sibling Object Members |
|
Since |
2019.2 |
Syntax
Important:
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;