The allocateItemRelationship chain is executed when called by the allocateShippingGroup chain.

The following sections describe each processor in the pipeline chain.

retrieveItemRelQuantity

This processor gets the quantity of the commerce item in the relationship (or the remaining quantity if the relationship type is SHIPPINGQUANTITYREMAINING), and places it into the pipeline’s parameter map.

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/fulfillment/processor/RetrieveItemRelQuantity

Object

atg.commerce.pricing.processor.ProcSendScenarioEvent

Transitions

Return value of 1 executes the switchOnCommerceItemType processor.

switchOnCommerceItemType

This processor checks for the type of Commerce Item in the relationship. If it is a ConfigurableCommerceItem, control passes to allocateItemRelQuantityForConfigurableItemChain. Otherwise, control passes to allocateItemRelQuantityChain.

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/fulfillment/processor/
  SwitchOnCommerceItemType

Object

atg.commerce.pricing.processor.ProcSendScenarioEvent

Transitions

Return value of 1 executes the allocateItemRelQuantityChain processor. Return value of 2 executes the allocateItemRelQuantityForConfigurableItemChain processor.

allocateItemRelQuantityChain

This processor executes the allocateItemRelQuantity chain. After execution, execution of this chain then stops.

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/fulfillment/processor/
  AllocateItemRelQuantityChain

Object

atg.commerce.pricing.processor.ProcSendScenarioEvent

Transitions

None. This is the last link in the chain and causes the PipelineManager to return to the caller.

allocateItemRelQuantityForConfigurableItemChain

This processor executes the allocateItemRelQuantityForConfigurableItem chain. After execution, execution of this chain then stops.

Transactional Mode

TX_MANDATORY

Component

/atg/commerce/fulfillment/processor/
  AllocateItemRelQuantityForConfigurableItemChain

Object

atg.commerce.pricing.processor.ProcSendScenarioEvent

Transitions

None. This is the last link in the chain and causes the PipelineManager to return to the caller.


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