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.
  • _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.

See Also

Reference

BOMRoutePhantomExpand Class