The CSRAgentTools.isOrderModifiable(Order pOrder) method determines if an order is modifiable by comparing the order’s current state to the configured values and can be extended if necessary.

An order is not modifiable when:

The following example displays the configurable properties in /atg/commerce/custsvc/util/
CSRAgentTools
:

#both nonModifiableOrderStates and nonModifiablePaymentGroupStates are
#used to determine a non-modifiable order.

#states that indicate an order cannot be modified
nonModifiableOrderStates=REMOVED,\
             QUOTED,\
             NO_PENDING_ACTION,\
             PENDING_REMOVE,\
             PENDING_CUSTOMER_RETURN,\
             AGENT_REJECTED

nonModifiablePaymentGroupStates^=\
/atg/commerce/order/PaymentGroupManager.nonModifiablePaymentGroupStates=REMOVED,\
                                                                        SETTLED

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