SAP Knowledge Base Article - Public

2912892 - Restocking Fees Not Correctly Updated on Sales Order While Using Web Service

Symptom

You created a sales order via the web service ManageSalesOrderIn and updated it with some restocking fees. However, in the UI you notice that the values of the restocking fees are not correct.

Environment

SAP Business ByDesign

Reproducing the Issue

You created Sales Order ABC via the web service ManageSalesOrderIn (ABC represents the Sales Order ID).
With a second call you updated it with Restocking Fees at header level with values V1, V2, V3 (V1, V2, V3 represent the restocking fee values).

  1. Go to the Sales Orders work center.
  2. Select the Sales Orders view.
  3. Open the sales order ABC.
  4. Navigate to the Pricing and Invoicing tab, Pricing subtab.
  5. You can see that the Restocking Fees have values V2, V2, V3. The value for V1 is not persisted.

Cause

You did not pass the priceComponentListCompleteTransmissionIndicator as "true" on the PriceAndTaxCalculation element in your update payload.

Resolution

You need to provide the priceComponentListCompleteTransmissionIndicator as "true" in the update payload for it to work properly.

Sample Payload:
<n0:SalesOrderBundleMaintainRequest_sync xmlns:n0=" http://sap.com/xi/SAPGlobal20/Global ">
<BasicMessageHeader/>
<SalesOrder actionCode="02">
<ID>ABC</ID>
<PriceAndTaxCalculation priceComponentListCompleteTransmissionIndicator="true" actionCode="01">
<PriceComponent actionCode="01">
<ObjectNodeSenderTechnicalID>1</ObjectNodeSenderTechnicalID>
<TypeCode>7PRB</TypeCode>
<Rate>
<DecimalValue>V1</DecimalValue>
<CurrencyCode>USD</CurrencyCode>
</Rate>
</PriceComponent>
<PriceComponent actionCode="01">
<ObjectNodeSenderTechnicalID>2</ObjectNodeSenderTechnicalID>
<TypeCode>7PRB</TypeCode>
<Rate>
<DecimalValue>V2</DecimalValue>
<CurrencyCode>USD</CurrencyCode>
</Rate>
</PriceComponent>
<PriceComponent actionCode="01">
<ObjectNodeSenderTechnicalID>2</ObjectNodeSenderTechnicalID>
<TypeCode>7PRB</TypeCode>
<Rate>
<DecimalValue>V3</DecimalValue>
<CurrencyCode>USD</CurrencyCode>
</Rate>
</PriceComponent>
</PriceAndTaxCalculation>
</SalesOrder>
</n0:SalesOrderBundleMaintainRequest_sync>

Keywords

webservice, call, price component, commande, élément de prix, frais de remise en stock , KBA , AP-SLO-SO , Sales Order , Problem

Product

SAP Business ByDesign all versions