The return process provides two sets of refund amounts: suggested and actual. Suggested refund amounts are calculated by the API. Actual refund amounts are initialized from the calculated suggested amounts, and can be manually adjusted.

Note: The ability to adjust the actual amounts supports environments where returns are generated by a call center agent using Oracle ATG Commerce Service Center. For a storefront application, the actual amounts are not changed from the original suggested values.

Suggested refund amounts are based on the aggregate total of the ItemCostAdjustments generated with the return. ItemCostAdjustments capture the price deltas between the working orders. Adding or removing ItemCostAdjustments from the return automatically adjusts the suggested refund values.

Suggested refund amounts are itemized in the ReturnItem and ReturnRequest objects:

Suggested Value

Comments

ReturnItem.SuggestedRefundAmount

Sum of the ItemCostAdjustment amount, the Order Discount Share and the Manual Adjustment Share.

ReturnItem.SuggestedShippingRefundShare

Sum of the ItemCostAdjustment Shipping Share.

ReturnItem.SuggestedTaxRefundShare

Sum of the ItemCostAdjustment Tax Share.

ReturnRequest.SuggestedTaxRefund

Aggregate total of the Suggested Tax Refund for ReturnItems.

ReturnRequest.SuggestedShippingRefund

Aggregate total of the Suggested Shipping Refund for ReturnItems.

Actual refund amounts, which are initially set when the suggested values are calculated, are itemized as:

Actual value

Comments

ReturnItem.RefundAmount

Initialized from suggested value. Can be modified by the agent.

ReturnItem.ActualShippingRefundShare

API-calculated value based on the ReturnRequest Actual Shipping Refund.

ReturnItem.ActualTaxRefundShare

API-calculated value based on the ReturnRequest Actual Tax Refund.

ReturnRequest.ActualTaxRefund

Initialized from the Suggested Tax Refund.

ReturnRequest.ActualShippingRefund

Initialized from the Suggested Shipping Refund. Can be modified by the agent.

ReturnRequest.otherRefund

Placeholder for agent adjustments to the Refund Value. Can be modified by the agent.

ReturnRequest.ReturnFee

API-generated value.

ReturnRequest.TotalItemRefund

The value is created dynamically and is the sum of TotalReturnItemRefund and NonReturnItemSubtotalAdjustments.

ReturnRequest.TotalReturnItemRefund

The aggregate total of the actual refund amount on all ReturnItems.

ReturnRequest.RefundSubtotal

The value is created dynamically and is the sum of ReturnRequest Total Item Refund + Actual Tax + Actual Shipping + Other.

ReturnRequest.TotalRefundAmount

The value is created dynamically and is the sum of Total Refund Subtotal minus Total Return Fee.

ReturnRequest.NonReturnItem
  SubtotalAdjustments

The total adjustments made for non-return items.


Copyright © 1997, 2013 Oracle and/or its affiliates. All rights reserved. Legal Notices