BOMCalcItemOperPhantom::newRoutePhantom Method [AX 2012]
Creates a new instance of the BOMCalcItemOperPhantom class.
Syntax
server public static BOMCalcItemOperPhantom newRoutePhantom(
Route _route,
BOMCalcItem _parentBOMCalcItem,
ItemId _parentItemId,
InventDim _parentInventDim,
Qty _parentConsumption,
Qty _parentSeriesSize,
BOMRoutePhantomData _phantomData,
Factor _phantomBOMFactor)
Run On
Server
Parameters
- _route
Type: Route Table
The route for which the BOM calculation transaction should be calculated.
- _parentBOMCalcItem
Type: BOMCalcItem Class
The BOMCalcItem class that belongs to this route.
- _parentItemId
Type: ItemId Extended Data Type
The item ID of the parent level.
- _parentInventDim
Type: InventDim Table
The inventory dimension ID of the parent level.
- _parentConsumption
Type: Qty Extended Data Type
The consumption used by the parent level.
- _parentSeriesSize
Type: Qty Extended Data Type
The series size for which this calculation is running.
- _phantomData
Type: BOMRoutePhantomData Class
- _phantomBOMFactor
Type: Factor Extended Data Type
Return Value
Type: BOMCalcItemOperPhantom Class
A new instance of the BOMCalcItemOperPhantom class.
Remarks
This method is used during a BOM calculation to trigger the calculation of the route phantom lines.