com.ibm.commerce.fulfillment.commands
Interface AllocateExpectedInventoryCmd

All Superinterfaces:
TaskCommand
All Known Implementing Classes:
AllocateExpectedInventoryCmdImpl

public interface AllocateExpectedInventoryCmd
extends TaskCommand

Allocates expected inventory for a particular order item at a particular fulfillment center. When expected inventory is allocated for an order item, the order item is said to be "backordered". The AllocateExpectedInventory task command is called by the default implementation of the AllocateInventory task command to backorder expected ATP inventory for a specified order item from one of the fulfillment centers specified in a prioritized list of fulfillment centers. All or none of the needed quantity may be backordered by this task command. If all is backordered, the inventoryStatus attribute of the OrderItem is set to 'BO', and allocatedQuantity attribute of the OrderItem is set to the quantity backordered. 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
 void setFulfillmentCenters(java.util.Vector newFulfillmentCenters)
          Sets a prioritized list of fulfillment centers from which the inventory should be backordered.
 void setOrderItem( OrderItemAccessBean anOrderItem)           Sets the order item for which expected inventory is to be backordered.
 

Field Detail
public static final java.lang.String COPYRIGHT
IBM copyright notice field.
See Also:
Constant Field Values

NAME

public static final java.lang.String NAME
The name of this task command interface.
See Also:
Constant Field Values

defaultCommandClassName

public static final java.lang.String defaultCommandClassName
The name of the default implementation of this task command interface.
See Also:
Constant Field Values
Method Detail

setFulfillmentCenters

public void setFulfillmentCenters(java.util.Vector newFulfillmentCenters)
Sets a prioritized list of fulfillment centers from which the inventory should be backordered.
Parameters:
newFulfillmentCenters - a prioritized list of fulfillment center identifiers (Vector of Integer).

setOrderItem

public void setOrderItem(OrderItemAccessBean anOrderItem)
Sets the order item for which expected inventory is to be backordered.
Parameters:
anOrderItem - the order item to be backordered.