Checks that either there is sufficient existing inventory for a list of order items, or that they could be backordered. This task command determines whether a Store can accept items for specified quantities of CatalogEntries, given a prioritized list of fulfillment centers for each one. If the answer is no, an ECApplicationException is thrown, with the message key _API_BAD_INV and the error view CheckInventoryErrorView. Upon successful completion, the estimated availability time and shipping offset attributes of the order item are set. There are two ways to indicate the items to be checked:
Field Summary | |
static java.lang.String | COPYRIGHT IBM copyright notice field. |
static java.lang.String | defaultCommandClassName The name of the default implementation of this task command interface. |
static java.lang.String | NAME The name of this task command interface. |
Method Summary | |
void | setCatEntry(Item aCatEntry) Sets the item to be checked. |
void | setCatEntryFulfillmentCenters(java.util.Vector avCatEntryFulfillmentCenters) Sets the list of fulfillment center identifiers for the Item specified by the setCatEntry method. |
void | setOrderItemFulfillmentCentersMaps(java.util.Hashtable ahsOrderItemFulfillmentCentersMaps) Sets lists of fulfillment centers to check inventory for items specified by the setOrderItems method. |
void | setOrderItems(java.util.Enumeration aenOrderItems) Sets the items to be checked. |
void | setStoreId(java.lang.Integer aStoreId) Deprecated. This method has no effect. |
void | setUnitOfMeasure(java.lang.String astrUnitOfMeasure) Sets the unit of measure for the quantity of the Item specified by the setCatEntry method. |
Field Detail |
public static final java.lang.String COPYRIGHT
public static final java.lang.String NAME
public static final java.lang.String defaultCommandClassName
Method Detail |
public void setOrderItems(java.util.Enumeration aenOrderItems)
public void setOrderItemFulfillmentCentersMaps(java.util.Hashtable ahsOrderItemFulfillmentCentersMaps)
public void setStoreId(java.lang.Integer aStoreId)
public void setCatEntry(Item aCatEntry)
public void setCatEntryFulfillmentCenters(java.util.Vector avCatEntryFulfillmentCenters)
public void setUnitOfMeasure(java.lang.String astrUnitOfMeasure)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.