ReqTrans::getInventDim Method
Calculates the final inventory dimensions for a bills of materials line.
Syntax
client server public static InventDim getInventDim(
ItemId _parentItemId,
InventDim _parentInventDim,
RouteId _routeId,
OprNum _oprNum,
WrkCtrConsumption _wrkCtrConsumption,
InventTable _inventTable,
BOM _bom,
ReqCalcRecordCacheInventDim _reqCalcRecordCacheInventDim)
Run On
Called
Parameters
- _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.
- _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.
- _inventTable
Type: InventTable Table
An InventTable record containing the item data for the BOM item.
- _bom
Type: BOM Table
A BOM record containing the bom item data.
- _reqCalcRecordCacheInventDim
Type: ReqCalcRecordCacheInventDim Class
A ReqCalcRecordCacheInventDim object used to cache invententory dimension information.
Return Value
Type: InventDim Table
A record of type inventDim that holds the inventory dimensions the current bills of materials line must have.