on 08-14-2018 2:58 PM
I have a problem when create/update a quote using DI Server. The problem happens after create an item and use it in a quote and set a specific price, when save in SAP, DiServer changes the price and set the price of the item, not the price that I set.
This is the code
foreach (DocumentLine line in this.Lines)
{
envelope += "<Row>";
envelope += "<ItemCode>" + line.ItemCode + "</ItemCode>";
envelope += "<Quantity>" + line.Quantity + "</Quantity>";
envelope += "<WarehouseCode>W01</WarehouseCode>";
envelope += "<UnitPrice>" + line.UnitPrice + "</UnitPrice>";
envelope += "<TaxCode>C16</TaxCode>";
envelope += "</Row>";
}
SAP Version:
SAP 9.2 PL10
Hello Mike,
I would suggest to try to set the LineTotal directly and check if discount shows up. If so probably you have special prices.
Also you can try to fill a property "Price" instead of "UntitPrice" and check if it does the same.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
103 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.