IBM Support

How to add charges and discounts from sales order to return order in Sterling Order Management

Troubleshooting


Problem

How do you add charges and discounts from sales order to return order in IBM Sterling Order Management?

Cause

Creation of a return order does not automatically copy charges and taxes from a sales order.

Resolving The Problem

A customized solution is need to copy the charges and taxes onto the return order. To have new values of these charges and taxes added or to pass on the existing values, the YFSRecalculateHeaderTaxUE and YFSRecalculateLineTaxUE user exits should be used. This requirement might not be always same, hence you can achieve this through the User Exits.

Line
Unit Price
Discount
Line tax
Price
1
1000
250
50
800
2
1000
250
50
800
3
1000
250
50
800

If you want to return or get exchange then applied discount needs to be charged against the return.
By default only unit price is copied if item price is listed in price list during return order creation. You can can make adjustments to the return order value by customizing the solution in beforeCreateOrder user exit.

OR

Call recalculateheader as well as line tax UEs to solve the issue. Both tax will get added and return discount will be deducted and configured for document type 0003. This will form the return line total or amount to be refunded

[{"Product":{"code":"SS6PEW","label":"Sterling Order Management"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Sterling Call Center","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
16 June 2018

UID

swg21638492