Share via


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

  • _validateOnly
    Type: boolean
    A Boolean value that indicates whether the update must be executed or just validated; 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.

See Also

Reference

KanbanStatus Class