Dynamics AX Blog - Posts from September 2014
These posts are machine-translated.
Create a production order for a sales order line through codeIf you want to create a production order for a sales order line, the following job can provide an idea of how to do it. static void createProdTableForSalesLine(Args _args)
{ SalesLine salesLine = SalesLine::findInventTransId('011748'); ProdTable prodTable; prodTable.initValue(); prodTable.initFromCaller(salesLine); prodTable.insert(); }
|
|
|
|
|
|
|
The following job creates a picking list for a production order.
If the Header already exists, you can use the following Job: