Dear All,
I want to save the Stock Transfer as DRAFT thru DI API object of oStockTransfer.
I am using SAP B1 2007 B SDK. and it dont have facility of StockTransferDraft as in 8.8.
If I use the oDRAFT object like.
OinvTrans = (SAPbobsCOM.Document)GetBusinessObject(BusinessObject.oDrafts)
OinvTrans.DocObjectCode = BoObjectType.oStockTransfer
Then I am not able to assign the FromWarehouse in StockTransfer due to mismatch of the objects.
Please suggest me how to do the Save as Draft for StockTransfer. It would be better if somebody will give me some example.