Share via


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

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

See Also

Reference

KanbanJobStatus Class