BOMRoutePhantomExpand.calculateUsageBasis Method [AX 2012]
Calculates total BOM line quantity including scrap, series size and rounding that is the basis for route/resource/service consumption.
Syntax
private Qty calculateUsageBasis(
BOM _phantomBom,
Route _phantomRoute,
Qty _seriesSize)
Run On
Called
Parameters
- _phantomBom
Type: BOM Table
BOM line for which to calculate total quantity.
- _phantomRoute
Type: Route Table
Route associated with the BOM line to provide the operation scrap percentage.
- _seriesSize
Type: Qty Extended Data Type
Series size of the parent item.
Return Value
Type: Qty Extended Data Type
Total quantity for the BOM line.