on 2018 Sep 26 8:50 AM
I would like to create a Discount List, but the web service ManageSalesPriceList doesn't work correctly.
To create a Discount List in Cloud for Customer I used ManageSalesPriceListIn inbound service
In the definition it is written that it’s suitable for sales price lists as well as for the sales discount lists.
Here is an example of XML request in the SoapUI development environment:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:glob="http://sap.com/xi/SAPGlobal20/Global">
<soapenv:Header/>
<soapenv:Body>
<glob:SalesPriceListBundleMaintainRequest_sync>
<BasicMessageHeader>
</BasicMessageHeader>
<SalesPriceList ActionCode="01">
<TypeCode>7PL2</TypeCode>
<ID>Discount12</ID>
<Description languageCode="EN">Discount for client 1000004</Description>
<StartDate>2020-09-01</StartDate>
<EndDate>2020-12-31</EndDate>
<CurrencyCode>UAH</CurrencyCode>
<AccountID>1000004</AccountID>
<PriceSpecification>
<TypeCode>7PR1</TypeCode>
<ProductID>CP-10</ProductID>
<Percent>-5.0</Percent>
<ProductTypeCode>1</ProductTypeCode>
<ReleaseStatusCode>1</ReleaseStatusCode>
</PriceSpecification>
</SalesPriceList>
</glob:SalesPriceListBundleMaintainRequest_sync>
</soapenv:Body>
</soapenv:Envelope>
If we look at this Discount List in C4C we’ll see 0% discount which makes no sense.
Furthermore, if we see the price lists for this material we’ll notice that 5% discount was mistakenly reflected as 5 UAH price.
The Query also works incorrectly with sales discount list.
I used QuerySalesPriceListIn inbound service to query discount lists
Here is an example of XML request in the SoapUI development environment to find the Discount List by ID:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:glob="http://sap.com/xi/SAPGlobal20/Global">
<soapenv:Header/>
<soapenv:Body>
<glob:SalesPriceListFindByTypeCodeAndPropertyIDAndPropertyValueQuery_sync>
<SalesPriceList>
<ID>Discount12</ID>
</SalesPriceList>
</glob:SalesPriceListFindByTypeCodeAndPropertyIDAndPropertyValueQuery_sync>
</soapenv:Body>
</soapenv:Envelope>
In response I receive: “Query did not return any records for the given selection parameters”.
Also search by type code 7PL2 give me the same result.
Could you please tell me what needs to be changed in my request to receive -5% discount to the product?
Does it exist another valid web service to manage and query discount lists?
Thank you in advance for your response.
Yours faithfully,
Anna Puka
Request clarification before answering.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.