Process: Issue credit
Flow
Objective
Issue credit to the returner for the return request.
Description
This process performs the steps that make up the financial settlement with the customer returning the goods.
The input to the process is a return merchandise authorization (RMA). In a B2B direct system, the trading-agreement spending limit is updated to account for the credit. Next, a call is made to an extension point to an external accounting system to allow for the credit to the customer returning the goods. Lastly, a refund task is executed. The actions performed for the refund are based on the payment integration that is being used for the store. In a B2B direct system, the refund task can be specified by contract. The output of the process is a credit to the customer returning the goods.
Features
- Issuing of credit to customer for the return
- Return life cycle
- Payment processing
Customization
Issue refund through alternate payment systems rather than through WebSphere Commerce Payments or line of credit.
Edition
Professional, Enterprise
Tasks
Task Description Role Credit external account This is an extension point for interfacing to an external accounting system.
System Refund payment Execute the refund to the returner
System Refund using payment policy Execute the refund as defined by the contract.
System Update TA spending level This task performs the following:
- If a trading agreement has both RightToBuy-by-amount TC (terms and conditions) and ObligationToBuy-by-amount TC, the currency specified for the two TCs must be the same.
An order may include order items that are purchased under the same trading agreement or different trading agreements.
- If all the order items specify the same trading agreement with a RightToBuy-by-amount TC or an ObligationToBuy-by-amount TC or both, the default implementation inserts a single row (with the total amount converted to the currency of the TC) into the TRDPURAMT table with the TRDPURAMT.ORDERITEMS_ID column set to null. If not all order items have the same trading agreement, the command inserts multiple rows into the TRDPURAMT table for each order item that has a trading agreement that includes a RightToBuy-by-amount TC or an ObligationToBuy-by-amount TC or both, with purchase amount of the order item converted to the currency of the TC.
- For each unique trading agreement in the order with a RightToBuy-by-amount TC, the command also checks to see whether or not the total purchase amounts of the order items converted to the currency specified for the RightToBuy TC plus the sum of all purchase amounts for the trading agreement in the TRDPURAMT table exceeds the RightToBuy amount in the TC plus the sum of all refund amounts in the TRDREFAMT table for the same trading ID. If it does, the task command throws an ECApplicationException and the insert does not happen.
The purchase amount of an order item is the sum of the ORDERITEMS.TOTALPRODUCT plus ORDERITEMS.TAXAMOUNT plus ORDERITEMS.SHIPCHARGE plus ORDERITEMS.SHIPTAXAMOUNT minus ORDERITEMS.TOTALADJUSTMENT.
Because this task command may be called more than once, skip the insert if the row or rows already exist.
System
Business artifacts
(C) Copyright IBM Corporation 1996, 2006. All Rights Reserved.