PCGenerateRouteTableAndVersion.generate Method [AX 2012]

Creates a new route and route version for the specified component.

NoteNote

The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.


  Microsoft Dynamics AX 2012 R3
          public RouteTable generate(
            RouteId _routeId, 
            InventDim _inventDim, 
            PCName _productModelName, 
            EcoResCategoryName _componentName, 
            ItemId _itemId)

  Microsoft Dynamics AX 2012 R2 (SYS)
          public RouteTable generate(
            RouteId _routeId, 
            InventDim _inventDim, 
            PCName _productModelName, 
            EcoResCategoryName _componentName, 
            ItemId _itemId)

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          public RouteTable generate(
            RouteId _routeId, 
            InventDim _inventDim, 
            PCName _productModelName, 
            EcoResCategoryName _componentName, 
            ItemId _itemId, 
            PCApprover _approver)

  Microsoft Dynamics AX 2012 (FPK)
          public RouteTable generate(
            RouteId _routeId, 
            InventDim _inventDim, 
            PCName _productModelName, 
            EcoResCategoryName _componentName, 
            ItemId _itemId, 
            PCApprover _approver)

  Microsoft Dynamics AX 2012 (SYS)
          public RouteTable generate(
            RouteId _routeId, 
            InventDim _inventDim, 
            PCName _productModelName, 
            EcoResCategoryName _componentName, 
            ItemId _itemId, 
            PCApprover _approver)

Run On

Server

Parameters

_routeId
Type: RouteId Extended Data Type
Deprecated: The ID of the route to assign.
_inventDim
Type: InventDim Table
The dimension to attach.
_productModelName
Type: PCName Extended Data Type
The name of the product model.
_componentName
Type: EcoResCategoryName Extended Data Type
The name of the component or sub-component.
_itemId
Type: ItemId Extended Data Type
The ID of the item that is associated with the version.

Return Value

Type: RouteTable Table
The ID of the route that was assigned.

Routes are approved during validation.

Community Additions

ADD
Show: