com.ibm.commerce.fulfillment.commands

Interface AllocateExpectedInventoryCmd

  • All Superinterfaces:
    com.ibm.websphere.command.CacheableCommand, com.ibm.commerce.command.CacheableECCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ECCommand, java.io.Serializable, com.ibm.websphere.command.TargetableCommand, 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. It is to backorder expected ATP inventory for a specified order item from one of the fulfillment centers. They are 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 Detail

      • COPYRIGHT

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

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

        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

        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

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