Allocates existing inventory for a particular order item at a particular
fulfillment center.
The AllocateExistingInventory task command is called by the default
implementation of the
AllocateInventory
task command to allocate existing ATP
inventory for a specified order item from one of the fulfillment centers
specified in a prioritized list of fulfillment centers.
All, some, or none of the needed quantity may be allocated by this task
command. If all or some is allocated, the inventoryStatus attribute of the
OrderItem is set to 'ALLC', and allocatedQuantity attribute of the
OrderItem is set to the quantity allocated. Otherwise, the OrderItem is not
changed.
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 | |
---|---|
java.lang.Integer |
getNextStrategy() Gets the next allocation strategy set by the command. |
void |
setFulfillmentCenters(java.util.Vector newFulfillmentCenters) Sets a prioritized list of fulfillment centers from which the inventory should be allocated. |
void |
setOrderItem(
OrderItemAccessBean anOrderItem) Sets the order item for which existing inventory is to be allocated. |
void |
setStrategy(java.lang.Integer newStrategy)
Sets the allocation strategy to be used. |
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 java.lang.Integer getNextStrategy()
public void setFulfillmentCenters(java.util.Vector newFulfillmentCenters)
newFulfillmentCenters
- a prioritized list of fulfillment
center identifiers (Vector of Integer).public void setOrderItem(OrderItemAccessBean anOrderItem)
anOrderItem
- the order item.public void setStrategy(java.lang.Integer newStrategy)
newStrategy
- the strategy to be used.