Skip to Content
0
Jul 23, 2020 at 10:54 PM

Problem creating a sales order with DI API

55 Views

Hi all,

I am trying to create a customer sales order using the DI API in SAP BO 9.2

I explicitly indicate the order amount for the corresponding line, however, SAP creates the order according to the price list associated with the customer.

How can I get SAP to save the amount that I established in the API and that is not associated with any price list?

C#
Documents Orden = this.SAPEmpresa.GetBusinessObject(BoObjectTypes.oOrders); ... Orden.CardCode = cardCode; ... Orden.Lines.Price = item.Price; ...Orden.Lines.Add(); Orden.Add();

Best regards,
Gustavo