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: |
Supported Script Types |
Server scripts For more information, see SuiteScript 2.x Script Types. |
Module |
|
Methods and Properties |
|
Since |
2019.2 |
Syntax
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 }