Kanban::sumOrderedQuantities Method
Calculates the total expected quantity for kanbans that are related to a given kanban rule.
Syntax
server public static KanbanQuantity sumOrderedQuantities(
KanbanRuleRefRecId _kanbanRuleRefRecId,
ItemId _itemId,
[boolean _onlyInventoryControlled])
Run On
Server
Parameters
- _kanbanRuleRefRecId
Type: KanbanRuleRefRecId Extended Data Type
A record ID for the KanbanRule table.
- _itemId
Type: ItemId Extended Data Type
The item for which to calculate quantities.
- _onlyInventoryControlled
Type: boolean
A Boolean value that indicates whether only inventory controlled kanbans must be considered.
Return Value
Type: KanbanQuantity Extended Data Type
The total ordered quantity of kanbans that are related to the given rule.