recognition.MergeArrangementsTaskStatus

Object Description

Encapsulates the current status of a submitted merge task.

Use recognition.checkStatus(options) to create this object. The current status corresponds to one of the values in the recognition.TaskStatus enum: PENDING, PROCESSING, COMPLETE, or FAILED.

Supported Script Types

Server scripts

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

Module

N/task/accounting/recognition Module

Methods and Properties

MergeArrangementsTaskStatus 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 mergeTaskState = recognition.checkStatus({
    taskId: taskStatusId
});

if (mergeTaskState.status === 'PENDING') { //Add additional code } 

          

Related Topics

N/task/accounting/recognition Module

General Notices