BOMRoutePhantomExpand.expand Method [AX 2012]
Expands the line type phantom BOM.
Syntax
protected BOMRoutePhantomData expand(
BOMRoutePhantomData _phantomData,
BOMId _bomId,
RouteId _routeId,
ItemId _itemId,
EcoResItemConfigurationName _configId,
[BOM _phantomBOM,
Route _phantomRoute])
Run On
Called
Parameters
- _phantomData
Type: BOMRoutePhantomData Class
The instance of the BOMRoutePhantomData class that holds the already expanded structures to which the data of this expansion should be added.
- _bomId
Type: BOMId Extended Data Type
The BOM ID of the line type phantom BOM.
- _routeId
Type: RouteId Extended Data Type
The Route ID of the line type phantom BOM.
- _itemId
Type: ItemId Extended Data Type
The Item ID of the line type phantom BOM.
- _configId
Type: EcoResItemConfigurationName Extended Data Type
The Configuration ID of the line type phantom BOM.
- _phantomBOM
Type: BOM Table
The line type phantom BOM; optional.
- _phantomRoute
Type: Route Table
The route that belongs to the line type phantom BOM; optional.
Return Value
Type: BOMRoutePhantomData Class
The instance of the BOMRoutePhantomData class to which the data has been added.
Remarks
The BOMRoutePhantomExpand.expand method is called recursively from the expandBOM method. It calls into the handling of the routes that belong to this line type phantom BOM, and then expands the BOM even more.