Share via


KanbanStatus.runStatusUpdate Method [AX 2012]

Runs a status update for the current kanban using a given KanbanStatusUpdate record.

Syntax

public boolean runStatusUpdate(
    KanbanStatusUpdate _kanbanStatusUpdate, 
   [LeanKanbanStatus _status, 
    boolean _validateOnly, 
    RunbaseRecsMapable _multi, 
    boolean _notifyChangeStatus])

Run On

Called

Parameters

  • _validateOnly
    Type: boolean
    A Boolean value that indicates whether the update must be executed or validated; optional.
  • _notifyChangeStatus
    Type: boolean

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 is true.

See Also

Reference

KanbanStatus Class