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

Nucleus component: /atg/commerce/fulfillment/processor/ RetrieveItemRelQuantity

PipelineProcessor 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

Nucleus component: /atg/commerce/fulfillment/processor/SwitchOnCommerceItemType

PipelineProcessor 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

Nucleus component: /atg/commerce/fulfillment/processor/AllocateItemRelQuantityChain

PipelineProcessor 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

Nucleus component: /atg/commerce/fulfillment/processor/AllocateItemRelQuantityForConfigurableItemChain

PipelineProcessor 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.