public class ProcRemoveShipItemRelationship extends java.lang.Object implements PipelineProcessor
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
STOP_CHAIN_EXECUTION, STOP_CHAIN_EXECUTION_AND_COMMIT, STOP_CHAIN_EXECUTION_AND_ROLLBACK| Constructor and Description |
|---|
ProcRemoveShipItemRelationship() |
| Modifier and Type | Method and Description |
|---|---|
int[] |
getRetCodes()
Returns the valid return codes
1 - The processor completed
|
int |
runProcess(java.lang.Object pParam,
PipelineResult pResult)
This processor removes the item relationship from the shipping group by
reallocating its quantity in the inventory.
|
public int[] getRetCodes()
getRetCodes in interface PipelineProcessorpublic int runProcess(java.lang.Object pParam,
PipelineResult pResult)
throws java.lang.Exception
InventoryManager.increaseStockLevel
and the sku Id is added to the pipeline parameter PipelineConstants.INVENTORYUPDATES
If the item in the relationship is "BACK_ORDERED" then the backorder level
of the item is increased using InventoryManager.increaseBackorderLevel
If the item in the relationship is "PRE_ORDERED" then the preorder level
of the item is increased using InventoryManager.increasePreorderLevelrunProcess in interface PipelineProcessorpParam - a HashMap which must contain a JMS message and OrderFulfiller objectpResult - a PipelineResult object which stores any information which must
be returned from this method invokationjava.lang.Exception - throws any exception back to the callerPipelineProcessor.runProcess(Object, PipelineResult),
InventoryManager