public class InventoryManagementHelper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ALLOCATE_PARAM_KEY
Constant
|
static java.lang.String |
AVAILABLE_INVENTORY
Constant
|
static java.lang.String |
AVAILABLE_INVENTORY_LIST
Constant
|
static java.lang.String |
AVAILABLE_INVENTORY_RESP
Constant
|
static java.lang.String |
BACKORDER_PARAM_KEY
Constant
|
static java.lang.String |
CHECK_PARAM_KEY
Constant
|
static java.lang.String |
COMMIT_STATUS
Constant
|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
static java.lang.Integer |
DEFAULT_STRATEGY
Constant
|
static java.lang.String |
EST_SHIP_DATE
Constant
|
static java.lang.String |
FF_STATUS_INT
Constant
|
static java.lang.String |
FFC
Constant
|
static java.lang.String |
FFC_LIST_SEPARATOR
Constant
|
static java.lang.String |
FUFILLMENT_CENTER
Constant
|
static java.lang.String |
INV_ALLOCATED
Constant
|
static java.lang.String |
INV_AVAILABLE
Specify inventory status for order item is inventory available
|
static java.lang.String |
INV_BACKORDERED
Constant
|
static java.lang.String |
INV_FULFILLED
Constant
|
static java.lang.String |
INV_FUTURE_ORDER
Constant
|
static java.lang.String |
INV_NOT_ALLOCATED
Constant
|
static java.lang.String |
INV_UNAVAILABLE
Specify inventory status for order item is inventory unavailable
|
static java.lang.Long |
INVENTORY_RESERVE_TYPE_AUCTION
Constant
|
static java.lang.String |
ITEM_DELETED
Constant
|
static java.lang.String |
ITEM_DISCONTINUED
Constant
|
static java.lang.String |
ITEM_NOT_BACKORDERABLE
Constant
|
static java.lang.String |
MERGE_PARAM_KEY
Constant
|
static double |
MULTIPLE_DEFAULT
Constant
|
static java.lang.Long |
NO_CORRELATION_GROUP
Constant
|
static java.lang.String |
NO_PARTIAL_ALLOCATION
Constant
|
static double |
NOMINALQUANTITY_DEFAULT
Constant
|
static java.lang.String |
PARTIAL_ALLOCATION
Constant
|
static java.lang.String |
PRECEDENCE
Constant
|
static java.lang.String |
QUANTITY
Constant
|
static java.lang.String |
RA_DATE_LIST
Constant
|
static java.lang.String |
RELEASENUM_COUNT
Constant
|
static java.lang.String |
RELEASENUM_START
Constant
|
static java.lang.String |
REMERGE_PARAM_KEY
Constant
|
static java.lang.String |
REVERSE_INVENTORY_CONFIGURATION_FLAG |
static java.lang.String |
REVERSE_INVENTORY_ENABLED |
static java.lang.String |
REVERSE_INVENTORY_TRUE |
static java.lang.String |
REVERSE_PARAM_KEY
Constant
|
static java.lang.String |
SQLSTATE
Constant
|
static java.lang.String |
STATUS
Constant
|
static java.lang.String |
STATUS_SUCCESS
Constant
|
static java.lang.String |
STORED_PROCEDURE_ERROR_CODE
Constant
|
Constructor and Description |
---|
InventoryManagementHelper(CommandContext aCmdContext,
java.lang.Integer anStoreId)
InventoryManagementHelper constructor comment.
|
Modifier and Type | Method and Description |
---|---|
static void |
addFulfillmentCentersForOrderItem(java.util.Hashtable anhsOrderItemFulfillmentCentersMaps,
OrderItemAccessBean anabOrderItem,
java.util.Vector avFulfillmentCenters)
addFulfillmentCentersForOrderItem
|
java.util.Hashtable |
allocateInventory(java.util.Vector avOrderItemsToAllocate,
java.util.Hashtable anhsOrderItemFulfillmentCentersMaps,
java.util.Hashtable ahsSplitOutAllocatedOrderItems,
boolean abFlushBeforeAllocation,
java.lang.Integer theStoreId,
CommandContext theCommandContext) |
static boolean |
allocationExpired(OrderAccessBean abOrder,
StoreAccessBean anabStore)
Checks if any allocations or backorders for the order items in an order have expired.
|
void |
backOrderItem(OrderItemAccessBean anabOrderItem,
java.util.Vector avFulfillmentCenters)
backOrderItem
|
void |
backOrderItem(java.util.Vector avOrderItems,
java.util.Hashtable anhsOrderItemFulfillmentCentersMaps)
backOrderItem
|
static java.lang.Double |
calculateInventoryAllocationMultiple(OrderItemAccessBean abOrderItem)
calculateInventoryAllocationMultiple
|
static void |
callAllocateInventoryCmd(java.util.Enumeration anenOrderItems,
CommandContext aCmdContext,
java.lang.Integer anStoreId,
ATPParameters anATPParms)
callAllocateInventoryCmd
|
static void |
callAllocateInventoryCmd(java.util.Hashtable hsabOrderItems,
CommandContext aCmdContext,
java.lang.Integer anStoreId,
ATPParameters anATPParms)
callAllocateInventoryCmd
|
static void |
callAllocateInventoryCmd(java.util.Hashtable hsabOrderItems,
java.util.Hashtable ahsMerge,
java.util.Hashtable ahsRemerge,
java.util.Hashtable ahsCheck,
java.util.Hashtable ahsAllocate,
java.util.Hashtable ahsBackorder,
java.util.Hashtable ahsReverse,
CommandContext aCmdContext,
java.lang.Integer anStoreId)
callAllocateInventoryCmd
|
static void |
callAllocateInventoryCmd(OrderItemAccessBean anabOrderItem,
CommandContext aCmdContext,
java.lang.Integer anStoreId,
ATPParameters anATPParms)
callAllocateInventoryCmd
|
void |
clearAllocationInformation(OrderItemAccessBean anabOrderItem)
clearAllocationInformation
|
OrderItemAccessBean |
cloneOrderItem(OrderItemAccessBean anabOrderItem,
java.lang.Integer theStoreId,
CommandContext theCommandContext) |
static java.util.Vector |
convertFromOrderItemABToData(java.util.Enumeration aenabOrderItems)
convertFromOrderItemABToData
|
static java.lang.String |
ffcsToString(java.util.Enumeration anenFulfillmentCenters)
ffcsToString
|
static InventoryAccessBean |
findInventoryAccessBean(java.lang.Long catalogEntryId,
java.lang.Integer fulfillmentCenterId,
java.lang.Integer storeId)
This method gets the inventory access bean by specified catalog entry id, fulfillment center id and store id.
|
static void |
flush()
flush
|
CommandContext |
getCmdContext()
getCmdContext
|
static java.lang.String |
getFulfillmentCenters(java.util.Hashtable anhsOrderItemFulfillmentCentersMaps)
getFulfillmentCenters
|
static java.util.Vector |
getFulfillmentCenters(java.util.Hashtable anhsOrderItemFulfillmentCentersMaps,
java.lang.Long anOrderItemId)
getFulfillmentCenters
|
static java.lang.Object[] |
getFulfillmentCenters(java.util.Hashtable anhsOrderItemFulfillmentCentersMaps,
OrderItemAccessBean anabOrderItem,
java.lang.String astrOperation)
Return a list of fulfillment centers that can be used for given inventory operation,
such as check, allocate or backorder.
|
static java.lang.Object[] |
getFulfillmentCenters(java.util.Vector avFFCs,
java.lang.Long anItemSpecId,
java.lang.String astrOperation)
Return a list of fulfillment centers and alternative fulfillment center that can be used for given inventory operation,
such as check, allocate or backorder.
|
static int |
getInventorySystem(java.lang.Integer storeId)
This method gets the inventory system from the inventory system value of store access bean.
|
static java.lang.Integer |
getMinimumQtyForSplit(OrderItemAccessBean anabOrderItem) |
static OrderItemAccessBean |
getParentOrderItem(java.util.Hashtable ahsOrderItems,
OrderItemAccessBean anabDefaultParentOrderItem)
Find parent order item, i.e., order item with the correlation id the same as order item id.
|
static java.lang.Integer |
getShippingOffset(java.lang.Long anItemSpecId,
java.lang.Integer anFuflillmentCenterId,
java.lang.Integer nStoreId) |
static java.lang.String |
getSQLStatementSegmentSize()
This method returns the statement segment size if supplied, it is configured in instance xml: <Inventory SQLStatementSegmentSize="100"/>
|
java.lang.Integer |
getStoreId()
getStoreId
|
static boolean |
IsBackorder(OrderAccessBean anabOrder) |
static boolean |
isItemDiscontinued(java.lang.Long anItemSpec) |
static boolean |
IsUsingATP(StoreAccessBean anabStoreId) |
static boolean |
isValidShippingArrangement(ShippingArrangementAccessBean abShippingArrangement,
JurisdictionAccessBean abJurisdiction,
java.lang.Integer anStoreId,
java.lang.Long anAddressId,
CommandContext aCommandContext)
Deprecated.
|
static java.util.Vector |
listFulfillmentCenters(java.lang.Integer anShippingMode,
java.lang.Integer anStoreId,
java.lang.Long anAddressId,
CommandContext aCommandContext)
|
static java.util.Hashtable |
mergeOrderItems(java.util.Hashtable ahsMergeSource,
java.util.Hashtable ahsMergeFilter,
boolean mergeDifferentCorrelationGroups)
Merges all order items from the ahsMergeSource which have the same properties as order items in the ahsMergeFilter
When mergeDifferentCorrelationGroups is set to 'true' consider order items with different correlation id for
the merge
|
static java.lang.Boolean |
needReverseAllocatedQuantityForOrderItem()
Check if the ReverseInventoryBeforeCheck flag has been enabled in
configuration file.
|
static void |
refresh(java.util.Enumeration enOrderItems) |
static void |
removeAllocatedOrderItems(java.util.Hashtable ahsOrderItems)
This method is to remove all of allocated order items.
|
static java.util.Vector |
removeOperationEnabledFFCs(java.util.Vector avFFCs,
int anOperation) |
static void |
reportSPError(java.lang.String astrSPName,
TypedProperty aSPReturnCodes) |
static java.lang.Integer |
resolveOrderItemShippingMode(Item anOrderItemData,
CommandContext anCmdContext) |
static java.lang.Integer |
resolveOrderItemShippingMode(OrderItemAccessBean anabOrderItem,
CommandContext aCmdContext) |
static void |
reverseAllocatedQuantityForOrderItem(java.util.Hashtable ahsOrderItems,
CommandContext commandContext,
java.lang.Integer storeId) |
void |
reverseInventory(java.util.Enumeration aenOrderItems,
boolean abFlushBeforeReverse) |
void |
reverseInventory(java.util.Hashtable ahsOrderItems,
boolean abFlushBeforeReverse) |
void |
reverseInventory(OrderItemAccessBean anabOrderItem) |
void |
reverseInventory(java.util.Vector avOrderItems,
boolean abFlushBeforeReverse) |
void |
setCmdContext(CommandContext newCmdContext) |
static void |
setOrderItemAllocationInfo(OrderItemAccessBean anabOrderItem,
java.lang.Integer anFulfillmentCenter,
java.lang.Integer anQtyAllocated,
java.lang.String astrInventoryStatus,
java.lang.String astrAvailTime) |
void |
setStoreId(java.lang.Integer newStoreId) |
static void |
unlockOrder(java.lang.String strOrderId) |
void |
unlockOrders() |
static boolean |
validlyAllocated(OrderAccessBean abOrder,
StoreAccessBean anabStore)
Checks if all order items in an order are validly allocated.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.Long INVENTORY_RESERVE_TYPE_AUCTION
public static final java.lang.String NO_PARTIAL_ALLOCATION
public static final java.lang.String PARTIAL_ALLOCATION
public static final java.lang.String QUANTITY
public static final java.lang.String EST_SHIP_DATE
public static final java.lang.String STATUS
public static final java.lang.String FUFILLMENT_CENTER
public static final java.lang.String STATUS_SUCCESS
public static final java.lang.String ITEM_DISCONTINUED
public static final java.lang.String ITEM_DELETED
public static final java.lang.String ITEM_NOT_BACKORDERABLE
public static final java.lang.String INV_ALLOCATED
public static final java.lang.String INV_BACKORDERED
public static final java.lang.String INV_FULFILLED
public static final java.lang.String INV_NOT_ALLOCATED
public static final java.lang.String INV_AVAILABLE
public static final java.lang.String INV_UNAVAILABLE
public static final java.lang.String INV_FUTURE_ORDER
public static final java.lang.String FF_STATUS_INT
public static final java.lang.String FFC
public static final java.lang.String PRECEDENCE
public static final java.lang.String COMMIT_STATUS
public static final java.lang.String FFC_LIST_SEPARATOR
public static final java.lang.Long NO_CORRELATION_GROUP
public static final java.lang.String SQLSTATE
public static final java.lang.String AVAILABLE_INVENTORY
public static final java.lang.String AVAILABLE_INVENTORY_RESP
public static final java.lang.String AVAILABLE_INVENTORY_LIST
public static final java.lang.String RA_DATE_LIST
public static final java.lang.String STORED_PROCEDURE_ERROR_CODE
public static final java.lang.String RELEASENUM_START
public static final java.lang.String RELEASENUM_COUNT
public static final java.lang.String MERGE_PARAM_KEY
public static final java.lang.String REMERGE_PARAM_KEY
public static final java.lang.String CHECK_PARAM_KEY
public static final java.lang.String ALLOCATE_PARAM_KEY
public static final java.lang.String BACKORDER_PARAM_KEY
public static final java.lang.String REVERSE_PARAM_KEY
public static final double MULTIPLE_DEFAULT
public static final double NOMINALQUANTITY_DEFAULT
public static final java.lang.Integer DEFAULT_STRATEGY
public static final java.lang.String REVERSE_INVENTORY_CONFIGURATION_FLAG
public static final java.lang.String REVERSE_INVENTORY_ENABLED
public static final java.lang.String REVERSE_INVENTORY_TRUE
public InventoryManagementHelper(CommandContext aCmdContext, java.lang.Integer anStoreId)
aCmdContext
- anStoreId
- public static void addFulfillmentCentersForOrderItem(java.util.Hashtable anhsOrderItemFulfillmentCentersMaps, OrderItemAccessBean anabOrderItem, java.util.Vector avFulfillmentCenters) throws ECException
anhsOrderItemFulfillmentCentersMaps
- anabOrderItem
- avFulfillmentCenters
- ECException
public java.util.Hashtable allocateInventory(java.util.Vector avOrderItemsToAllocate, java.util.Hashtable anhsOrderItemFulfillmentCentersMaps, java.util.Hashtable ahsSplitOutAllocatedOrderItems, boolean abFlushBeforeAllocation, java.lang.Integer theStoreId, CommandContext theCommandContext) throws java.sql.SQLException, javax.ejb.RemoveException, ECSystemException, ECApplicationException, ECException
avOrderItemsToAllocate
- anhsOrderItemFulfillmentCentersMaps
- ahsSplitOutAllocatedOrderItems
- abFlushBeforeAllocation
- theStoreId
- theCommandContext
- java.sql.SQLException
javax.ejb.RemoveException
ECSystemException
ECApplicationException
ECException
public static boolean allocationExpired(OrderAccessBean abOrder, StoreAccessBean anabStore) throws java.sql.SQLException
abOrder
- anabStore
- java.sql.SQLException
public void backOrderItem(OrderItemAccessBean anabOrderItem, java.util.Vector avFulfillmentCenters) throws java.sql.SQLException, ECSystemException, ECApplicationException, ECException
anabOrderItem
- avFulfillmentCenters
- java.sql.SQLException
ECSystemException
ECApplicationException
ECException
public void backOrderItem(java.util.Vector avOrderItems, java.util.Hashtable anhsOrderItemFulfillmentCentersMaps) throws java.sql.SQLException, ECSystemException, ECApplicationException, ECException
avOrderItems
- anhsOrderItemFulfillmentCentersMaps
- java.sql.SQLException
ECSystemException
ECApplicationException
ECException
public static java.lang.Double calculateInventoryAllocationMultiple(OrderItemAccessBean abOrderItem) throws ECSystemException
abOrderItem
- ECSystemException
public static void callAllocateInventoryCmd(OrderItemAccessBean anabOrderItem, CommandContext aCmdContext, java.lang.Integer anStoreId, ATPParameters anATPParms) throws ECException
anabOrderItem
- aCmdContext
- anStoreId
- anATPParms
- ECException
public static void callAllocateInventoryCmd(java.util.Enumeration anenOrderItems, CommandContext aCmdContext, java.lang.Integer anStoreId, ATPParameters anATPParms) throws ECException
anenOrderItems
- aCmdContext
- anStoreId
- anATPParms
- ECException
public static void callAllocateInventoryCmd(java.util.Hashtable hsabOrderItems, CommandContext aCmdContext, java.lang.Integer anStoreId, ATPParameters anATPParms) throws ECException
hsabOrderItems
- aCmdContext
- anStoreId
- anATPParms
- ECException
public static void callAllocateInventoryCmd(java.util.Hashtable hsabOrderItems, java.util.Hashtable ahsMerge, java.util.Hashtable ahsRemerge, java.util.Hashtable ahsCheck, java.util.Hashtable ahsAllocate, java.util.Hashtable ahsBackorder, java.util.Hashtable ahsReverse, CommandContext aCmdContext, java.lang.Integer anStoreId) throws ECException
hsabOrderItems
- ahsMerge
- ahsRemerge
- ahsCheck
- ahsAllocate
- ahsBackorder
- ahsReverse
- aCmdContext
- anStoreId
- ECException
public void clearAllocationInformation(OrderItemAccessBean anabOrderItem)
anabOrderItem
- public OrderItemAccessBean cloneOrderItem(OrderItemAccessBean anabOrderItem, java.lang.Integer theStoreId, CommandContext theCommandContext) throws java.sql.SQLException, ECException
java.sql.SQLException
ECException
public static java.util.Vector convertFromOrderItemABToData(java.util.Enumeration aenabOrderItems) throws ECException
aenabOrderItems
- ECException
public static java.lang.String ffcsToString(java.util.Enumeration anenFulfillmentCenters)
anenFulfillmentCenters
- public static void flush()
public CommandContext getCmdContext()
public static java.lang.String getFulfillmentCenters(java.util.Hashtable anhsOrderItemFulfillmentCentersMaps)
anhsOrderItemFulfillmentCentersMaps
- public static java.util.Vector getFulfillmentCenters(java.util.Hashtable anhsOrderItemFulfillmentCentersMaps, java.lang.Long anOrderItemId)
anhsOrderItemFulfillmentCentersMaps
- anOrderItemId
- public static java.lang.Object[] getFulfillmentCenters(java.util.Hashtable anhsOrderItemFulfillmentCentersMaps, OrderItemAccessBean anabOrderItem, java.lang.String astrOperation)
anhsOrderItemFulfillmentCentersMaps
- Hashtable of fulfillment center listsanabOrderItem
- Order item for which a list of eligible fulfillment centers to be determinedastrOperation
- Inventory operationpublic static java.lang.Object[] getFulfillmentCenters(java.util.Vector avFFCs, java.lang.Long anItemSpecId, java.lang.String astrOperation)
avFFCs
- Input list of fulfillment centers to be processedanItemSpecId
- Item specification for which a list of eligible fulfillment centers to be determinedastrOperation
- Inventory operationpublic static java.util.Vector removeOperationEnabledFFCs(java.util.Vector avFFCs, int anOperation)
avFFCs
- anOperation
- public static boolean isItemDiscontinued(java.lang.Long anItemSpec)
anItemSpec
- public static java.lang.Integer getMinimumQtyForSplit(OrderItemAccessBean anabOrderItem)
anabOrderItem
- public static java.lang.Integer getShippingOffset(java.lang.Long anItemSpecId, java.lang.Integer anFuflillmentCenterId, java.lang.Integer nStoreId) throws java.sql.SQLException
anItemSpecId
- anFuflillmentCenterId
- nStoreId
- java.sql.SQLException
public java.lang.Integer getStoreId()
public static boolean IsBackorder(OrderAccessBean anabOrder)
anabOrder
- public static boolean IsUsingATP(StoreAccessBean anabStoreId) throws ECSystemException
anabStoreId
- ECSystemException
public static void refresh(java.util.Enumeration enOrderItems)
enOrderItems
- public static void reportSPError(java.lang.String astrSPName, TypedProperty aSPReturnCodes) throws ECApplicationException, ECSystemException
astrSPName
- aSPReturnCodes
- ECApplicationException
ECSystemException
public static java.lang.Integer resolveOrderItemShippingMode(Item anOrderItemData, CommandContext anCmdContext) throws java.sql.SQLException, ECSystemException
anOrderItemData
- anCmdContext
- java.sql.SQLException
ECSystemException
public static java.lang.Integer resolveOrderItemShippingMode(OrderItemAccessBean anabOrderItem, CommandContext aCmdContext) throws java.sql.SQLException, ECSystemException, ECException
anabOrderItem
- aCmdContext
- java.sql.SQLException
ECSystemException
ECException
public void reverseInventory(OrderItemAccessBean anabOrderItem) throws ECException, java.sql.SQLException, ECApplicationException, ECSystemException
anabOrderItem
- ECException
java.sql.SQLException
ECApplicationException
ECSystemException
public void reverseInventory(java.util.Hashtable ahsOrderItems, boolean abFlushBeforeReverse) throws ECException, java.sql.SQLException, ECApplicationException, ECSystemException
ahsOrderItems
- abFlushBeforeReverse
- ECException
java.sql.SQLException
ECApplicationException
ECSystemException
public void setCmdContext(CommandContext newCmdContext)
newCmdContext
- public static void setOrderItemAllocationInfo(OrderItemAccessBean anabOrderItem, java.lang.Integer anFulfillmentCenter, java.lang.Integer anQtyAllocated, java.lang.String astrInventoryStatus, java.lang.String astrAvailTime) throws java.sql.SQLException
anabOrderItem
- anFulfillmentCenter
- anQtyAllocated
- astrInventoryStatus
- astrAvailTime
- java.sql.SQLException
public void setStoreId(java.lang.Integer newStoreId)
newStoreId
- public static void unlockOrder(java.lang.String strOrderId) throws java.sql.SQLException
strOrderId
- java.sql.SQLException
public void unlockOrders() throws java.sql.SQLException
java.sql.SQLException
public static boolean validlyAllocated(OrderAccessBean abOrder, StoreAccessBean anabStore) throws java.sql.SQLException
abOrder
- anabStore
- java.sql.SQLException
public static java.util.Vector listFulfillmentCenters(java.lang.Integer anShippingMode, java.lang.Integer anStoreId, java.lang.Long anAddressId, CommandContext aCommandContext) throws ECApplicationException, ECException
FulfillmentRegistry.getEffectiveFulfillmentCenterIds(Integer,Integer,Timestamp,Long,CommandContext)
.anShippingMode
- anStoreId
- anAddressId
- aCommandContext
- ECApplicationException
ECException
public static boolean isValidShippingArrangement(ShippingArrangementAccessBean abShippingArrangement, JurisdictionAccessBean abJurisdiction, java.lang.Integer anStoreId, java.lang.Long anAddressId, CommandContext aCommandContext) throws ECApplicationException, ECException
ShippingArrangementWrapper.isValid(Timestamp, Long, CommandContext)
.abShippingArrangement
- abJurisdiction
- anStoreId
- anAddressId
- aCommandContext
- ECApplicationException
ECException
public void reverseInventory(java.util.Enumeration aenOrderItems, boolean abFlushBeforeReverse) throws ECException, java.sql.SQLException, ECApplicationException, ECSystemException
aenOrderItems
- abFlushBeforeReverse
- ECException
java.sql.SQLException
ECApplicationException
ECSystemException
public void reverseInventory(java.util.Vector avOrderItems, boolean abFlushBeforeReverse) throws ECException, java.sql.SQLException, ECApplicationException, ECSystemException
avOrderItems
- abFlushBeforeReverse
- ECException
java.sql.SQLException
ECApplicationException
ECSystemException
public static int getInventorySystem(java.lang.Integer storeId) throws ECSystemException
storeId
- The store id.ECSystemException
public static InventoryAccessBean findInventoryAccessBean(java.lang.Long catalogEntryId, java.lang.Integer fulfillmentCenterId, java.lang.Integer storeId) throws ECSystemException
catalogEntryId
- The catalog entry id.fulfillmentCenterId
- The fulfillment center id.storeId
- The store id.ECSystemException
public static java.lang.String getSQLStatementSegmentSize()
public static java.util.Hashtable mergeOrderItems(java.util.Hashtable ahsMergeSource, java.util.Hashtable ahsMergeFilter, boolean mergeDifferentCorrelationGroups) throws javax.ejb.RemoveException, ECException, java.sql.SQLException
ahsMergeSource
- ahsMergeFilter
- mergeDifferentCorrelationGroups
- javax.ejb.RemoveException
ECException
java.sql.SQLException
public static void removeAllocatedOrderItems(java.util.Hashtable ahsOrderItems)
ahsOrderItems
- public static OrderItemAccessBean getParentOrderItem(java.util.Hashtable ahsOrderItems, OrderItemAccessBean anabDefaultParentOrderItem)
ahsOrderItems
- anabDefaultParentOrderItem
- public static java.lang.Boolean needReverseAllocatedQuantityForOrderItem() throws ECApplicationException, ECSystemException, ECException, java.sql.SQLException
ECApplicationException
ECSystemException
ECException
java.sql.SQLException
public static void reverseAllocatedQuantityForOrderItem(java.util.Hashtable ahsOrderItems, CommandContext commandContext, java.lang.Integer storeId) throws ECApplicationException, ECSystemException, ECException, java.sql.SQLException
ahsOrderItems
- commandContext
- storeId
- ECApplicationException
ECSystemException
ECException
java.sql.SQLException