PCGenerateRouteOperation.generate Method [AX 2012]

Generates the route operation line that results from a variant configuration of the component instance that is related to the template.

public void generate(
    RouteId _routeId, 
    PCAdaptorRouteOperation _adaptorRouteOperation, 
    ItemId _itemId, 
    InventDim _supplyInventDim)

Run On

Server

Parameters

_routeId
Type: RouteId Extended Data Type
The ID of the route that will be attached to the route operation line.
_adaptorRouteOperation
Type: PCAdaptorRouteOperation Class
An instance of the PCAdaptorRouteOperations class.
_itemId
Type: ItemId Extended Data Type
The ID of the item that was used for the configuration.
_supplyInventDim
Type: InventDim Table
The inventory dimensions that should serve as a base for the created route operation lines.

ExceptionCondition
Error

The parameters specified were invalid.

-or-

The configuration is not valid.

Community Additions

ADD
Show: