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
|
|
|
|
|
|
|
This post is machine-translated. The original post in german language can be found here.
These post applies to following version:
Dynamics AX 2012
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
static void releaseToWareHouse(Args _args) { SalesTable salesTale = SalesTable::find('002162'); CustCreditMaxCheck creditMaxCheck; List listSalesTable = new List(Types::Record); container packedData; // Release to warehouse creditMaxCheck = WHSParameters::getCreditMaxCheck(); listSalesTable.addEnd(salesTale); // Must use value of enum when going through IL packedData = [enum2int(creditMaxCheck), listSalesTable.pack()]; WHSWarehouseRelease::salesFormReleaseCallCIL(packedData); }