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 |
|
Object |
|
Transitions | If the processor returns 1, call the |
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 |
|
Object |
|
Transitions | If the processor returns 1 or 2, call the |
updateOrder
Transactional Mode | TX_MANDATORY |
Component |
|
Object |
|
Transitions | None. This is the last link in the chain and will cause the |