The submitReturn
pipeline obtains data on returns. The pipeline chain’s transaction mode is TX_REQUIRED.
The following sections describe each processor in the pipeline chain.
fetchReturn
Uses the order ID to look up the order in the repository.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | Return value of 1 executes |
returnRequestLookup
Looks for any return IDs associated with the order.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | Return value of 1 executes |
checkReturnExists
Verifies that the warehouse item exists.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | Return value of 1 executes |
createReturnLineItems
Creates the return’s line items.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | Return value of 1 executes |
allocateOtherRefund
Allocates other refunds to each line item in the return.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | Return value of 1 executes |
allocateReturnFee
Allocates the return fee for each line item in the return.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | Return value of 1 executes |
calculateTotalAdjustments
Calculates all of the adjustments for each line item in the return, including the shipping refund, tax refund and other refund allocations.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | Return value of 1 executes |
localCurrencyLookup
Looks up the currency associated with the return order.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | Return value of 1 executes |
currencyConverter
Converts the currency associated with the return order.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | Return value of 1 executes |
dayLookup
Uses the timestamp of the return order to look up the day in the ARF_TIME_DAY
table.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | Return value of 1 executes |
timeLookup
Uses the timestamp of the return order to look up the day in the ARF_TIME_TOD
table.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | Return value of 1 executes |
customerLookup
Returns the customer ID associated with the return order.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | Return value of 1 executes |
agentLookup
Returns the agent ID associated with the return order.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | Return value of 1 executes |
returnSalesChannelLookup
Returns the sales channel associated with the return order.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | Return value of 1 executes |
submittedSiteLookup
Returns the site from which the return order was submitted.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | Return value of 1 executes |
runReturnLineItemPipelineChain
Initiates the ReturnLineItemPipeline chain.
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | Return value of 1 executes |