This article explains: How to picking list through a job using X++ in Dynamics AX.Applied on:Dynamics AX 2009 SP1
Create a job as mentioned below:
static void PickingListByCode(Args _args)
{
InventTransferParmTable inventTransferParmTable;
InventTransferMultiPick inventTransferMultiPick = InventTransferMultiPick::construct();
;
InventTransferParmTable.TransferId = "transferid" //Provide transferId
inventTransferParmTable.EditLines = true;
inventTransferParmTable.AutoReceiveQty = true;
inventTransferParmTable.UpdateType = InventTransferUpdateType::PickingList;
inventTransferParmTable.PickUpdateQty =InventTransferPickUpdateQty::All ;
inventTransferMultiPick.runUpdate(InventTransferParmTable);
}
NOTE: Use at your own risk. There is no warranty on this article.
Create a job as mentioned below:
static void PickingListByCode(Args _args)
{
InventTransferParmTable inventTransferParmTable;
InventTransferMultiPick inventTransferMultiPick = InventTransferMultiPick::construct();
;
InventTransferParmTable.TransferId = "transferid" //Provide transferId
inventTransferParmTable.EditLines = true;
inventTransferParmTable.AutoReceiveQty = true;
inventTransferParmTable.UpdateType = InventTransferUpdateType::PickingList;
inventTransferParmTable.PickUpdateQty =InventTransferPickUpdateQty::All ;
inventTransferMultiPick.runUpdate(InventTransferParmTable);
}
NOTE: Use at your own risk. There is no warranty on this article.
No comments:
Post a Comment