Commerce Service Center allows returns and exchanges on orders that have been fulfilled.

The /atg/commerce/csr/returns/ReturnTools class uses two methods to identify if an order is returnable:

The states used to determine whether an order is returnable are configured in /atg/commerce/
custsvc/util/CSRAgentTools
using the fulfilledOrderStates property.

This example of the CRSAgentTools identifies the following states as fulfilled and non-modifiable:

#states that indicate an order is fulfilled.
fulfilledOrderStates=NO_PENDING_ACTION

To add a new fulfilled order state, add the state to the fulfilledOrderStates. The following example adds a new fulfilled status, SHIPMENT_RECEIVED, to /atg/commerce/custsvc/util/CSRAgentTools so it to be recognized by the ReturnTools.isOrderReturnable method:

#states that indicate an order is fulfilled.
fulfilledOrderStates=NO_PENDING_ACTION,\
                     SHIPMENT_RECEIVED

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