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

Component

/atg/commerce/fulfillment/processor/HandleRelationshipState

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

Component

/atg/commerce/fulfillment/processor/
  RemoveShipItemRelationshipFromItem

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