C Warehouse Transfer

From Sage Evolution SDK | Documentation Portal
Revision as of 12:05, 23 October 2015 by Admin (Talk | contribs)

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();