KanbanStatus.runStatusReset Method [AX 2012]
Runs a status reset for the current kanban using a given KanbanStatusReset record.
Syntax
public boolean runStatusReset(
KanbanStatusUpdate _kanbanStatusUpdate,
[LeanKanbanStatus _status,
boolean _validateOnly,
RunbaseRecsMapable _multi])
Run On
Called
Parameters
- _kanbanStatusUpdate
Type: KanbanStatusUpdate Table
The KanbanStatusUpdate parameter record.
- _status
Type: LeanKanbanStatus Enumeration
The target status of the update; optional.
- _validateOnly
Type: boolean
A Boolean value that indicates whether the update must be executed or just validated; optional.
- _multi
Type: RunbaseRecsMapable Interface
A RunbaseRecsMapable object to use in the status reset; optional.
Return Value
Type: boolean
true if the reset can be executed or was successfully executed, depending on the _validateOnly parameter; otherwise, false.
Exceptions
Exception | Condition |
---|---|
Error | The target status and parameter record do not match. -or- The status reset cannot be executed. |
Remarks
If provided, the target status must match the update parameter record. The parameter is required for calls where the _validateOnly is true.