Difference between revisions of "C Warehouse Transfer"

From Sage Evolution SDK | Documentation Portal
Jump to: navigation, search
(Created page with "'''The SDK does not support Warehouse IBT Transfers. However it is possible to do Warehouse Transfers.''' //Create a instance of the WareouseTransfer Class...")
(No difference)

Revision as of 15:43, 22 October 2015

The SDK does not support Warehouse IBT Transfers. However it is possible to do Warehouse Transfers.

           //Create a instance of the WareouseTransfer Class
           WarehouseTransfer WT = new WarehouseTransfer();
           WT.Account = new InventoryItem("Itemw1");//specify the Item to transfer
           WT.FromWarehouse = new Warehouse("w1");//Specify the From Warehouse
           WT.ToWarehouse = new Warehouse("w2");//specify the TO Warehouse
           WT.Quantity = 1;//Specify the Quantity to transfer
           WT.Reference = "ref1";
           WT.Reference2 = "ref2";
           //Post the warehouse transfer
           WT.Post();

- See more at: http://kb.pastel.co.za/article.php?id=1993#sthash.q5DjuOI4.dpuf