This post is machine-translated. The original post in german language can be found here.
These post applies to following version:
Dynamics AX 2012
Dynamics AX 2012
If I need to pass in the qty for a partial Report As Finished, as well as the default warehouse, and location, how can I do this? |
If I need to pass in the qty for a partial Report As Finished, as well as the default warehouse, and location, how can I do this? |
If I need to pass in the qty for a partial Report As Finished, as well as the default warehouse, and location, how can I do this? |
If I need to pass in the qty for a partial Report As Finished, as well as the default warehouse, and location, how can I do this? |
If I need to pass in the qty for a partial Report As Finished, as well as the default warehouse, and location, how can I do this? |
Thanks a lot , it help me now after many years |
|
|
|
|
|
|
Dynamics AX provides a framework, which can be used to update production orders to a specific status. In the example, a production order is reported as finished.
If you want to update several production orders at the same time, you must invoke the ProdMultiReportFinished.insert() method per production order and pass the respective record of ProdTable.
{
ProdTable prodTable;
ProdMultiReportFinished prodMultiReportFinished;
prodTable = ProdTable::find("P000195");
prodMultiReportFinished = ProdMultiReportFinished::construct(new Args());
RunBaseMultiParm::initParm(prodMultiReportFinished);
prodMultiReportFinished.insert(prodTable, prodMultiReportFinished.defaultParmBuffer());
prodMultiReportFinished.run();
}