KanbanJobStatus.runStatusReset Method [AX 2012]
Resets the status for the current kanban job using a specified KanbanJobStatusUpdate record.
Syntax
public boolean runStatusReset(
KanbanJobStatusUpdate _kanbanJobStatusUpdate,
[LeanKanbanJobStatus _status,
boolean _validateOnly,
RunbaseRecsMapable _multi])
Run On
Called
Parameters
- _kanbanJobStatusUpdate
Type: KanbanJobStatusUpdate Table
The KanbanJobStatusUpdate record.
- _status
Type: LeanKanbanJobStatus Enumeration
The target status of the update; optional.
- _validateOnly
Type: boolean
A Boolean value that indicates whether the update must be executed or validated; optional.
- _multi
Type: RunbaseRecsMapable Interface
A RunbaseRecsMapable object that is used in the status update; optional.
Return Value
Type: boolean
true if the update can be executed or was successfully executed, based on the _validateOnly parameter; otherwise, false.
Exceptions
Exception | Condition |
---|---|
Error | The target status and parameter record do not match. |