IBM Support

Charges and Discounts are swapped during createOrder in Call Center for Commerce.

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".

  1. Launch Sterling Business Center and Choose your Organization.


  2. Navigate to System Setup - Return Order - Financial Rules.


  3. Set the Charge Name For Shipping as Return Shipping.
Now, in the Pricing Summary, Shipping charge will show the differences of the shipping charges.

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.

[{"Product":{"code":"SS6PEW","label":"Sterling Order Management"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Sterling Call Center","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"9.5;9.4;9.3","Edition":"All Editions","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
16 June 2018

UID

swg21992892