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

Component

/atg/commerce/fulfillment/processor/
  VerifyShipItemRelationshipForRemoval

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

Component

/atg/commerce/fulfillment/processor/
  RemoveShipItemRelationship

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, 2013 Oracle and/or its affiliates. All rights reserved. Legal Notices