ReqEventProcessKanban.cancelKanbanIfRequiredAndAllowed Method [AX 2012]

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

Syntax

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.

Return Value

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

Remarks

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

See Also

Reference

ReqEventProcessKanban Class