Skip to Content

Inventory transfer request selecting 'BILL TO' as 'SHIP To' when created through DI API

Hi,

We are creating a Inventory transfer Request using DI API and found that Business partners default BIllTo Address is selected automatically by sap to the ShipTo Field in the document. When we select the same BPCode in UI, it selects the default shipTo code

oTransfer = ((SAPbobsCOM.StockTransfer)(oCompany.GetBusinessObject(BoObjectTypes.oInventoryTransferRequest)));

oTransfer.CardCode = BPCode;
//SET THE Rest of header fields, but not ship to.
// ADD lines
//save 
oTransfer.Add();
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers