The createReturnRequest pipeline chain initializes a ReturnRequest what it is first created for a return. The ReturnManager configures the name of the pipeline used by default. The pipeline chain’s transaction mode is TX_REQUIRED.

The following section describes the processor in the pipeline chain.

setOriginatingOrder

This processor determines the originating order, which is the first order in the return tree.

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/custsvc/returns/processor/SetOriginatingOrder

Object

atg.commerce.csr.returns.processor.ProcSetOriginatingOrder

Transitions

If the processor returns 1, call the setPromotions processor.

setPromotions

This processor determines the promotions used for pricing the working orders.

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/custsvc/returns/processor/SetPromotions

Object

atg.commerce.csr.returns.processor.ProcSetPromotions

Transitions

If the processor returns 1, call the loadReplacementOrders processor.

loadReplacementOrders

This processor loads all of the replacement orders for returns associated related to this specific return. Items from these orders populate the working orders and provide proper refund calculations.

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/custsvc/returns/processor/LoadReplacementOrders

Object

atg.commerce.csr.returns.processor.ProcLoadReplacementOrders

Transitions

If the processor returns 1, call the setPriceLists processor.

setPricelists

This processor determines the price lists used for pricing the replacement and working orders.

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/custsvc/returns/processor/setPricelists

Object

atg.commerce.csr.returns.processor.ProcSetPricelists

Transitions

If the processor returns 1, call the setItemPriceSources processor.

setItemPriceSources

This processor identifies the ItemPriceSource for the return.

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/custsvc/returns/processor/setItemPriceSources

Object

atg.commerce.csr.returns.processor.ProcSetItemPriceSources

Transitions

If the processor returns 1, call the setDiscountableMap processor.

setDiscountableMap

This processor sets the discountable map in the ReturnRequest that is used in pricing operations.

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/custsvc/returns/processor/SetDiscountableMap

Object

atg.commerce.csr.returns.processor.ProcSetItemDiscountableMap

Transitions

If the processor returns 1, call the initReturnAdjustedOrder processor.

initReturnAdjustedOrder

This processor generates the Return Adjusted Order as the baseline for calculation of refunds.

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/custsvc/returns/processor/InitReturnAdjustedOrder

Object

atg.commerce.csr.returns.processor.ProcInitReturnAdjustedOrder

Transitions

If the processor returns 1, call the initPreReturnPromotionValues processor.

initPreReturnPromotionValues

This processor generates the value of the promotions prior to performing the return. These values are then used in calculating changes in the promotions value.

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/custsvc/returns/processor/InitPreReturnPromotionValues

Object

atg.commerce.csr.returns.processor.ProcInitPreReturnPromotionValues

Transitions

If the processor returns 1, call the initShippingCostShares processor.

initShippingCostShares

This processor generates shipping cost share value map in the ReturnRequest.

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/custsvc/returns/processor/InitShippingCostShares

Object

atg.commerce.csr.returns.processor.ProcInitShippingCostShares

Transitions

If the processor returns 1, call the setOrigin processor.

setOrigin

This processor generates origin property of the ReturnRequest.

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/custsvc/returns/processor/SetOriginOfReturn

Object

atg.commerce.csr.returns.processor.ProcSetOriginOfReturn

Transitions

If the processor returns 1, call the setReturnShipmentRequired processor.

setReturnShipmentRequired

This processor sets the returnShipmentRequire flag of each return item in the ReturnRequest.

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/custsvc/returns/processor/SetReturnShipmentRequired

Object

atg.commerce.csr.returns.processor.ProcSetReturnShipmentRequired

Transitions

If the processor returns 1, call the generateReplacementOrder processor.

generateReplacementOrder

This processor creates the replacement order for an exchange process.

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/custsvc/returns/processor/GenerateReplacementOrder

Object

atg.commerce.csr.returns.processor.ProcGenerateReplacementOrder

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