Skip to Content
0

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

Aug 22, 2017 at 08:45 AM

41

avatar image

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();
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers