Troubleshooting
Problem
Attempts to create a return order swaps the charges and discounts in IBM Call Center for Commerce.
Symptom
The charge details of the return order is displayed as follow:
-----------------------------------------------------------
<LineCharges>
<LineCharge ChargeAmount="10.00" ChargeCategory="Shipping" ChargeName="ShippingCharge" ChargeNameKey="XXX" ChargePerLine="0.00" ChargePerUnit="0.00" InvoicedChargeAmount="0.00" InvoicedChargePerLine="0.00" InvoicedChargePerUnit="0.00" IsBillable="Y" IsDiscount="N" IsManual="Y" IsShippingCharge="Y" Reference="" RemainingChargeAmount="0.00" RemainingChargePerLine="0.00" RemainingChargePerUnit="0.00" />
<LineCharge ChargeAmount="6.00" ChargeCategory="ReturnShipping" ChargeName="ReturnShipping" ChargeNameKey="YYY" ChargePerLine="5.99" ChargePerUnit="0.00" InvoicedChargeAmount="0.00" InvoicedChargePerLine="0.00" InvoicedChargePerUnit="0.00" IsBillable="Y" IsDiscount="Y" IsManual="Y" IsShippingCharge="N" Reference="" RemainingChargeAmount="0.00" RemainingChargePerLine="0.00" RemainingChargePerUnit="0.00" />
</LineCharges>
-----------------------------------------------------------
Here, the chargeName ShippingCharge (Sales Order) will be considered as the shipping charge and the chargeName ReturnShipping (Return Order) will be considered as discount.
If the ReturnShipping is set as IsShippingCharge = "Y", the return shipping amount will be subtracted from the ShippingCharge. Debit or credit will be differentiated with a bracket.
Cause
In the return order, for ShippingCharge, IsShippingCharge=Y and for ReturnShippingIsShippingCharge=N.
Diagnosing The Problem
The shipping charge for the Order is controlled by the parameter IsShippingCharge.
Resolving The Problem
For the expected behavior ReturnShipping settings should be IsShippingCharge="Y".
- Launch Sterling Business Center and Choose your Organization.
- Navigate to System Setup - Return Order - Financial Rules.
- Set the Charge Name For Shipping as Return Shipping.
For example:
If Shipping charge was 10 and return shipping is 6,
In Pricing Summary, Shipping charge will show 4 (10-6). debit or credit will be differentiated with a bracket.
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21992892