The updateRelationship
chain is executed when called by the handleRelationshipModification
chain.
The following sections describe each processor in the pipeline chain.
handleRelationshipState
Checks to make sure the relationship exists, is a ShippingGroupCommerceItem
relationship, that the shipping group’s state was set to REMOVED, and that the modification was a success. If all these conditions are met, the chain moves to the next processor. Otherwise, chain execution stops.
Transactional mode: TX_MANDATORY
Nucleus component: /atg/commerce/fulfillment/processor/HandleRelationshipState
PipelineProcessor object: atg.commerce.pricing.processor.ProcSendScenarioEvent
Transitions: Return value of 1 executes the removeShipItemRelationshipFromItem processor.
removeShipItemRelationshipFromItem
Deducts the quantity that was to ship in the given shipping group from the commerce item.
Transactional mode: TX_MANDATORY
Nucleus component: /atg/commerce/fulfillment/processor/RemoveShipItemRelationshipFromItem
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.