recognition.checkStatus(options)

Method Description

Checks the status of a submitted merge task.

Returns

recognition.MergeArrangementsTaskStatus

Supported Script Types

Server scripts

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

Governance

50 units

Module

N/task/accounting/recognition Module

Sibling Module Members

N/task/accounting/recognition Module Members

Since

2019.2

Parameters

Note:

The options parameter is a JavaScript object.

Parameter

Type

Required / Optional

Description

options.taskId

number | string

required

The task ID of the merge task to check.

The task ID is assigned to the merge task when you call recognition.create(options).

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
}); 

          

Related Topics

N/task/accounting/recognition Module

General Notices