IBM Support

processReturnOrder API adds voided tender to the return order and also calculates plannedRefundAmount in Edge server setup

Troubleshooting


Problem

Attempts to create return order at Edge server adds the PlannedRefundAmount attribute to the payment attribute of voided tender in IBM Sterling Order Management.

Symptom

Steps to Recreate:

  1. Create a sales order at MOTHERSHIP server of IBM Sterling Order Management System with voided tenders. (Credit Card, Voided Debit card and cash tender)

     
  2. Create a return order from EDGE server. You can see that PlannedRefundAmount attribute is  added to the payment attribute of voided tender.
    The refund amount is distributed to the voided tender (Debit card) of the return order.

Cause

PaymentMethod element is missing in the getOrdersForReturnService_Template.xml of mothership server.

Resolving The Problem

Adding TotalRefundedAmount to PaymentMethod element in getOrdersForReturnService_Template.xml of mothership server should fix this.
TotalRefundedAmount should get populated in YFSGetOrdersForReturnUE output along with GetOrdersForReturnService .

GetOrdersForReturnService get the data using  getOrdersForReturnService_Template.xml.  Adding TotalRefundedAmount to PaymentMethod, makes sure to fetch the refund amount details from Enterprise mothership server.

 

 

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

Document Information

Modified date:
25 July 2018

UID

ibm10717413