BOMMap.inventDimFinal Method [AX 2012]
Calculates the final inventory dimensions for a bills of materials line.
public InventDim inventDimFinal(
ItemId _parentItemId,
InventDim _parentInventDim,
RouteId _routeId,
[InventTable _inventTable,
OprNum _oprNum,
WrkCtrConsumption _wrkCtrConsumption])
Run On
CalledParameters
- _parentItemId
- Type: ItemId Extended Data Type
A string that holds the itemID for the parent item.
- _parentInventDim
- Type: InventDim Table
A record of type InventDim that holds the inventory dimensions related to the parent item.
- _routeId
- Type: RouteId Extended Data Type
A string that holds the routeID related to the parent item.
- _inventTable
- Type: InventTable Table
An InventTable record containing the item data for the BOM item.
- _oprNum
- Type: OprNum Extended Data Type
An integer value that holds the operation number.
- _wrkCtrConsumption
- Type: WrkCtrConsumption Extended Data Type
A Boolean value that holds the resource consumption flag.
Return Value
Type: InventDim TableA record of type inventDim that holds the inventory dimensions the current bills of materials line must have.
A bill of materials line can be defined without all inventory dimensions specified.
The missing inventory dimensions can first be determined when:
-
The parent item is specified.
-
The inventory dimensions for the parent item is fully specified.
-
The routeID that should be used to make the parent item can be found.
-
The operation number is known
-
The resource consumption setting is known
Community Additions
ADD
Show: