CSC prices all modifiable orders when they are first loaded into the current global context, or selected by the agent. However, not all orders are priced the same. The CSREnvironmentMonitor component is responsible for pricing an order that has been selected in the current global context. The entire order is priced using PricingConstants.OP_REPRICE_ORDER_TOTAL as the pricing operation. This is not configurable.

Which order are modifiable by CSC is configurable and determined by the state of the order. Both incomplete and submitted orders are considered modifiable. Incomplete and submitted are conditions that are also determined by the state of the order and can be configured in CSC. CSRAgentTools contains API and configurable properties for determining which orders are considered modifiable, incomplete, and submitted.

The configurable properties in /atg/commerce/custsvc/util/CSRAgentTools are:

incompleteOrderStates^=/atg/commerce/order/OrderLookupService.
  incompleteStates
submittedOrderStates=SUBMITTED,PROCESSING,PENDING_MERCHANT_ACTION

#both nonModifiableOrderStates and nonModifiablePaymentGroupStates are
used to determine a non-modifable order.
nonModifiableOrderStates=REMOVED,\
             QUOTED,\
             NO_PENDING_ACTION,\
             PENDING_REMOVE,\
             PENDING_CUSTOMER_RETURN
nonModifiablePaymentGroupStates^=\

/atg/commerce/order/PaymentGroupManager.nonModifiablePaymentGroupStates
 
loading table of contents...