ReqEventProcessKanban::cancelKanban Method [AX 2012]

Cancels a kanban if it has not been assigned and none of its jobs are in progress or completed.

client server public static boolean cancelKanban(
    Kanban _kanban, 
   [boolean _silentErrors, 
    boolean _silentSuccess, 
    KanbanJob _lastKanbanJob])

Run On

Called

Parameters

_kanban
Type: Kanban Table
The kanban to cancel.
_silentErrors
Type: boolean
A Boolean value that indicates whether Infolog messages are given when there are errors; optional.
_silentSuccess
Type: boolean
A Boolean value that indicates whether Infolog messages are given when the operation is successful; optional.
_lastKanbanJob
Type: KanbanJob Table
The last kanban job of the kanban to cancel; optional.

Return Value

Type: boolean
true if the kanban was cancelled; otherwise, false.
Show: