ReqEventProcessKanban.cancelKanbanIfRequiredAndAllowed Method [AX 2012]

Checks if cancelling the kanban is necessary and performs it if needed.

protected container cancelKanbanIfRequiredAndAllowed(
    ReqEventKanbanData _reqEventKanbanData, 
    Kanban _kanban, 
    KanbanJob _kanbanJob)

Run On

Called

Parameters

_reqEventKanbanData
Type: ReqEventKanbanData Class
A ReqEventKanbanData object that holds information about the kanban to be cancelled.
_kanban
Type: Kanban Table
The Kanban to be cancelled.
_kanbanJob
Type: KanbanJob Table
The KanbanJob to be checked.

Return Value

Type: container
A container with the cancellation result and a autoplan flag.

Automatic cancellation only happens in case the associated kanban rule supports auto-planning.

Community Additions

ADD
Show: