C Warehouse Transfer

From Sage Evolution SDK | Documentation Portal
Revision as of 15:43, 22 October 2015 by Admin (Talk | contribs) (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...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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