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 |
|
Object |
|
Transitions | If the processor returns 1, call the |
setPromotions
This processor determines the promotions used for pricing the working orders.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | If the processor returns 1, call the |
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 |
|
Object |
|
Transitions | If the processor returns 1, call the |
setPricelists
This processor determines the price lists used for pricing the replacement and working orders.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | If the processor returns 1, call the |
setItemPriceSources
This processor identifies the ItemPriceSource
for the return.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | If the processor returns 1, call the |
setDiscountableMap
This processor sets the discountable map in the ReturnRequest
that is used in pricing operations.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | If the processor returns 1, call the |
initReturnAdjustedOrder
This processor generates the Return Adjusted Order as the baseline for calculation of refunds.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | If the processor returns 1, call the |
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 |
|
Object |
|
Transitions | If the processor returns 1, call the |
initShippingCostShares
This processor generates shipping cost share value map in the ReturnRequest
.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | If the processor returns 1, call the |
setOrigin
This processor generates origin
property of the ReturnRequest
.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | If the processor returns 1, call the |
setReturnShipmentRequired
This processor sets the returnShipmentRequire
flag of each return item in the ReturnRequest
.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | If the processor returns 1, call the |
generateReplacementOrder
This processor creates the replacement order for an exchange process.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | None, this is the last link in the chain and will cause the |