Share via


LeanCostingFacade.getResourcesUsageKanbanJob Method [AX 2012]

Calculates the resource usage of the production flow operation for a kanban job.

Syntax

public Map getResourcesUsageKanbanJob(KanbanJob _kanbanJob, [TransDate _date])

Run On

Called

Parameters

  • _kanbanJob
    Type: KanbanJob Table
    The KanbanJob record for which to calculate resource consumption.

Return Value

Type: Map Class
A map of resource IDs and usage quantities.

Remarks

Calculates resource consumption for the job and for all items in the picking list that are produced in the same flow. Note that only the first process job of a kanban may have a picking list.

Calculations for other jobs will return only the resource usage for the job itself.

See Also

Reference

LeanCostingFacade Class