recognition.MergeElementsTask

Object Description

Encapsulates a task to merge all of the specified revenue elements.

Use recognition.create(options) to create this object. After you create the object, you can populate its properties and submit the task for processing. The MergeElementsTask.elements property is required, and all other properties are optional.

Supported Script Types

Server scripts

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

Module

N/task/accounting/recognition Module

Methods and Properties

MergeElementsTask Object Members

Since

2019.2

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/accounting/recognition Module Script Samples.

            var recognitionTask = recognition.create({
    taskType: recognition.TaskType.MERGE_ELEMENTS_TASK
}); 

          

Related Topics

N/task/accounting/recognition Module

General Notices