The removeShipItemRelsFromShipGroup
chain is executed when called by the removeHardgoodShippingGroup
chain.
The following sections describe each processor in the pipeline chain.
verifyShipItemRelationshipForRemoval
This processor verifies that the relationship is in a proper state for removal. If the state is REMOVED or PENDING_REMOVE, then chain execution stops. If the state is DELIVERED or PENDING_RETURN, then the state of the modification is set to FAILED, an error is logged, and chain execution stops. Otherwise, chain execution continues.
Transactional mode: TX_MANDATORY
Nucleus component: /atg/commerce/fulfillment/processor/VerifyShipItemRelationshipForRemoval
PipelineProcessor object: atg.commerce.pricing.processor.ProcSendScenarioEvent
Transitions: Return value of 1 executes the removeShipItemRelationship processor.
removeShipItemRelationship
This processor subtracts the quantity of the commerce item contained in the relationship from the commerce item contained in the order. Sets the state of the shipping group to REMOVED.
Transactional mode: TX_MANDATORY
Nucleus component: /atg/commerce/fulfillment/processor/RemoveShipItemRelationship
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.