com.ibm.commerce.fulfillment.commands

Class ReverseUpdateInventoryCmdImpl

  • All Implemented Interfaces:
    com.ibm.commerce.command.CacheableECCommand, ECCommand, ECTargetableCommand, TaskCommand, CheckInventoryCmd, ReverseUpdateInventoryCmd, UpdateInventoryCmd, com.ibm.websphere.cache.Sizeable, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, com.ibm.websphere.command.TargetableCommand, java.io.Serializable


    public class ReverseUpdateInventoryCmdImpl
    extends InventoryBaseCmdImpl
    ReverseUpdateInventory let you undo an updating of inventory for items. There are two ways to reverse update inventory.
    • Set one or list of order items by calling setOrderItem method.
    • Set one catalog entry by calling setCatEntryId, setQuantity and setStoreId methods. Method setQuantityMeasure is optional.
    The fulfillmentCenterId is optional.

    Calling Command: OrderProcess

    Expected Behavior: Reverse a previous reduction in the amount of inventory in stock for a product or item.

    See Also:
    Serialized Form