The confirmReturnRequest pipeline chain completes the return creation process. The pipeline chain’s transaction mode is TX_REQUIRED.

The following section describes the processor in the pipeline chain.

validateRefundTotal

This processor validates the refund total.

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/custsvc/returns/processor/ValidateRefundTotal

Object

atg.commerce.csr.returns.processor.
  ProcValidateRefundForReturnOrExchange

Transitions

If the processor returns 1, call the removeUnallocatedRefundMethods processor.

removeUnallocatedRefundMethods

This processor removes any RefundMethods that have refund allocation.

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/custsvc/returns/processor/
  RemoveUnallocatedRefundMethods

Object

atg.commerce.csr.returns.processor.
  ProcRemoveUnallocatedRefundMethods

Transitions

If the processor returns 1, call the validateRefundMethodAllocations processor.

validateRefundMethodAllocations

This processor validates that the current refund is greater than 0 and that the RefundMethod allocations equal the refund amount and do not exceed the maximum amount allotted for each RefundMethod.

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/custsvc/returns/processor/
  ValidateRefundMethodAllocations

Object

atg.commerce.csr.returns.processor.
  ProcValidateRefundMethodAllocations

Transitions

If the processor returns 1, call the updateStateOfReturnItems processor.

updateStateOfReturnItems

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/custsvc/returns/processor/UpdateStateOfReturnItems

Object

atg.commerce.csr.returns.processor.ProcUpdateStateOfReturnItems

Transitions

If the processor returns 1, call the updateReturnRequestState processor.

updateReturnRequestState

This process updates the state of the ReturnRequest based upon the state of the ReturnItems.

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/custsvc/returns/processor/UpdateReturnRequestState

Object

atg.commerce.csr.returns.processor.ProcUpdateReturnRequestState

Transitions

If the processor returns 1, call the returnCommerceItems processor.

returnCommerceItems

This process marks the commerceItems as returned.

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/custsvc/returns/processor/ReturnCommerceItems

Object

atg.commerce.csr.returns.processor.ProcReturnCommerceItems

Transitions

If the processor returns 1, call the prepareReplacementOrderToSubmit processor.

prepareReplacementOrderToSubmit

This process runs a pre-submit pipeline on the replacement order.

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/custsvc/returns/processor/
  PrepareReplacementOrderToSubmit

Object

atg.commerce.csr.returns.processor.
  ProcPrepareReplacementOrderToSubmit

Transitions

If the processor returns 1, call the settleReturnRequestOnConfirm processor.

settleReturnRequestOnConfirm

This process conditionally settles the return by either setting the processImmediately flag, or finding that none of the ReturnItems require return shipment.

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/custsvc/returns/processor/SettleReturnRequest

Object

atg.commerce.csr.returns.processor.ProcSettleReturnRequest

Transitions

If the processor returns 1, call the saveReturnRequest processor.

saveReturnRequest

This process saves the ReturnRequest in the repository.

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/custsvc/returns/processor/
  SaveReturnRequestToRepository

Object

atg.commerce.csr.returns.processor.
  ProcSaveReturnRequestToRepository

Transitions

If the processor returns 1, call the sendReturnSubmittedEvent processor.

sendReturnSubmittedEvent

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/custsvc/returns/processor/SendReturnSubmittedEvent

Object

atg.commerce.csr.returns.processor.ProcSendReturnSubmittedEvent

Transitions

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


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