on 01-23-2018 12:32 PM - last edited on 02-04-2024 2:55 AM by postmig_api_4
Hi Experts,
In SAP Business One SDK I found a method that is used by DI-API which receive a lots of params like
I cannot find a method like this one in DI-SERVER and I need to get prices with period and volume discount defined by Unit of Measures.
I try with the next xml, and its works to get prices with period and volume discount. But I need to specify the UomEntry and UoMQuantity in some parameters to get that discounts for different unit of measures. And if it possible get the Discount applied to the price in the response.
REQUEST
<?xml version="1.0" encoding="UTF-16"?>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header>
<SessionID>CFFCF8A5-84BA-4DE3-9287-41671D86DFA4</SessionID>
</env:Header>
<env:Body>
<dis:GetItemPrice xmlns:dis="http://www.sap.com/SBO/DIS">
<CardCode>C00001</CardCode>
<ItemCode>COMPRA</ItemCode>
<amount>16</amount>
<Date>20180122</Date>
</dis:GetItemPrice>
</env:Body>
</env:Envelope>
RESPONSE
<?xml version="1.0" ?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">
<env:Body>
<GetItemPriceResponse xmlns="http://www.sap.com/SBO/DIS">
<BOM>
<BO>
<AdmInfo>
<Object>oRecordset</Object>
</AdmInfo>
<Recordset>
<row>
<Price>10.000000</Price>
<Currency>$</Currency>
</row>
</Recordset>
</BO>
</BOM>
</GetItemPriceResponse>
</env:Body>
</env:Envelope>
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
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.