BOMRouteCopyJob::newToProd Method [AX 2012]
Creates an instance of the BOMRouteCopyJob class.
Syntax
server public static BOMRouteCopyJob newToProd(
ProdTable prodTable,
BOMId newBOMId,
RouteId newRouteId)
Run On
Server
Parameters
- prodTable
Type: ProdTable Table
A record of type ProdTable.
- newBOMId
Type: BOMId Extended Data Type
A string that holds a bill of materials ID.
- newRouteId
Type: RouteId Extended Data Type
A string that holds a route ID.
Return Value
Type: BOMRouteCopyJob Class
An instance of the BOMRouteCopyJob class.
Remarks
The instance is used to replace a bill of materials and a route for the specified production order.