Posts

Showing posts from January, 2023

Single transfer order received with muti lines in d 365 fo

 Today we have a requirement for received transfer order public void ReceiveTransferOrder()     {         InventTransferParmTable inventTransferParmTable;         InventTransferLine  inventTransferLine;         ttsbegin;         while select inventTransferLine                  where inventTransferLine.TransferId == transferID         {             inventTransferParmTable.clear();             inventTransferParmTable.initParmDefault();             inventTransferParmTable.TransferId       = transferID;//_inventTransferLine.TransferId;             inventTransferParmTable.UpdateType       = InventTransferUpdateType::Receive;             //...

Single Transfer order shipped in d 365 with multi lines

 Hi today we have requirement for shipped transfer order  public void shipTransferOrder()     {         //// ship a transfer order         InventTransferMultiShip multiShip = InventTransferMultiShip::construct();                 // // Id of transfer order to ship        // InventTransferId            shipTransferId =;         InventTransferLine          inventTransferLine;         InventTransferParmTable     inventTransferParmTable;         ttsbegin;         while select inventTransferLine             where inventTransferLine.TransferId == transferID         {             //framework stuff to set parmId           ...