Share via


KanbanJobStatus.runStatusUpdate Method [AX 2012]

Updates the status for the current kanban job using a given KanbanJobStatusUpdate record.

Syntax

public boolean runStatusUpdate(
    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, depending on the _validateOnly parameter; otherwise, false.

Exceptions

Exception Condition
Error

The target status and parameter record do not match.

-or-

The status update cannot be executed.

Remarks

If provided, the target status must match the update parameter record. The parameter is required for calls where the _validateOnly parameter is true.

See Also

Reference

KanbanJobStatus Class