Class DeallocateExpectedInventoryCmdImpl

    • Field Detail


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

      • DeallocateExpectedInventoryCmdImpl

        public DeallocateExpectedInventoryCmdImpl()
    • Method Detail

      • getOrderItem

        public OrderItemAccessBean getOrderItem()
        Deprecated. Will be changed to protected.
        Gets the order item previously set by setOrderItem method, or null.
        The order item, or null.
      • performExecute

        public void performExecute()
                            throws ECException
        Performs the actual business logic of the command.

        • If the order item is currently backordered, the amount backordered is returned to expected inventory. The order item is updated to indicate that it is no longer backordered.
        • Otherwise, the order item is not changed.

        This default implementation calls the reverseinventory database stored procedure.

        Specified by:
        performExecute in interface ECCommand
        Specified by:
        performExecute in interface
        performExecute in class AbstractECTargetableCommand
      • setOrderItem

        public void setOrderItem(OrderItemAccessBean newOrderItem)
        Sets the order item for which expected inventory is to be deallocated.
        Specified by:
        setOrderItem in interface DeallocateExpectedInventoryCmd
        newOrderItem - the order item for which expected inventory is to be deallocated.