2019 Sep 03 8:09 PM
Using the DI API Creating a new Quotations, I am getting the following error
-1116 (-2302) Price for inventory items must match the price list.
SAPbobsCOM.Documents oOrder = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oQuotations);
....
oOrder.Lines.Price = Convert.ToDouble(reader2["overwrite_price"]);
oOrder.Lines.UnitPrice = Convert.ToDouble(reader2["overwrite_price"]);
How can i prevent the error from happening?
2019 Sep 04 2:21 PM
Solved the issue by not sending the UnitPrice, only sending the Price property.