The generateReplacementOrderForExchange pipeline chain creates the replacement order for an exchange. The pipeline chain’s transaction mode is TX_REQUIRED.

The following section describes the processor in the pipeline chain.

instantiateReplacementOrder

This processor calls the OrderManager to create a new order object.

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/custsvc/returns/processor/InstantiateReplacementOrder

Object

atg.commerce.csr.returns.processor.ProcInstantiateReplacementOrder

Transitions

If the processor returns 1, call the setOriginOfReplacementOrder processor.

setOriginOfReplacementOrder

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/custsvc/returns/processor/SetOriginOfReplacementOrder

Object

atg.commerce.csr.returns.processor.ProcSetOriginOfReplacementOrder

Transitions

If the processor returns 1, call the createReplacementOrderShippingGroups processor.

createReplacementOrderShippingGroups

This processor creates the initial shipping groups on the replacement order.

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/custsvc/returns/processor/
  CreateReplacementOrderShippingGroups

Object

atg.commerce.csr.returns.processor.
  ProcCreateReplacementOrderShippingGroups

Transitions

If the processor returns 1, call the createReplacementOrderPaymentGroups processor.

createReplacementOrderShippingGroups

This processor creates the initial payment groups on the replacement order.

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/custsvc/returns/processor/
  CreateReplacementOrderPaymentGroups

Object

atg.commerce.csr.returns.processor.
  ProcCreateReplacementOrderPaymentGroups

Transitions

None, this is the last link in the chain and will cause the PipelineManager to return to the caller.


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