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).
- Go to the Sales Orders work center.
- Select the Sales Orders view.
- Open the sales order ABC.
- Navigate to the Pricing and Invoicing tab, Pricing subtab.
- 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