The requestQuote pipeline chain submits a quote request to a third-party quoting system. However, it is necessary to implement a further processor to pass the quote object to integration code. This chain is invoked by the OrderManager.requestQuote method. The pipeline chain’s transaction mode is TX_REQUIRED.

The following section describes the processor in the pipeline chain.

runValidateQuoteChain

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/order/processor/RunValidateQuoteChain

Object

atg.commerce.order.processor.RunValidateQuoteChain

Transitions

If the processor returns 1, call the prepareForQuoteRequest processor.

prepareForQuoteRequest

This processor is responsible for handling both initial quote requests and re-submitted quote requests. In both instances, the processor creates a new quoteInfo repository item and sets the values for the quote’s requestDate and requesterNote properties. It then adds the quoteInfo to OrderTools and sets the order status to PENDING_QUOTE.

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/order/processor/ProcPrepareForQuoteRequest

Object

atg.commerce.order.processor.ProcPrepareForQuoteRequest

Transitions

If the processor returns 1 or 2, call the updateOrder processor.

updateOrder

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/order/processor/UpdateOrder

Object

atg.commerce.order.processor.ProcUpdateOrder

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