The settleReturn pipeline chain settles a return by issuing credits and submitting replacement orders to fulfillment. The pipeline chain’s transaction mode is TX_REQUIRED.

The following section describes the processor in the pipeline chain.

settleCredits

This processor credits the appropriate payment groups and assigns refund store credits to the user’s profile.

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/custsvc/returns/processor/SettleCredits

Object

atg.commerce.csr.returns.processor.ProcSettleCredits

Transitions

If the processor returns 1, call the submitReplacementOrder processor.

submitReplacementOrder

This processor submits the replacement order to fulfillment.

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/custsvc/returns/processor/
  ExecuteSubmitReplacementOrder

Object

atg.commerce.csr.returns.processor.
  ProcExecuteSubmitReplacementOrder

Transitions

If the processor returns 1, call the markAsProcessed processor.

markAsProcessed

This processor marks the return as settled, preventing it from any further settlement.

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/custsvc/returns/processor/
  MarkReturnRequestAsProcessed

Object

atg.commerce.csr.returns.processor.
  ProcMarkReturnRequestAsProcessed

Transitions

If the processor returns 1, call the sendReturnCompletedEvent processor.

sendReturnCompletedEvent

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/custsvc/returns/processor/
  SendReturnCompletedEvent

Object

atg.commerce.csr.returns.processor.
  ProcSendReturnCompletedEvent

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