Class CheckInventoryCmdImpl

  • All Implemented Interfaces:, ECCommand, ECTargetableCommand, TaskCommand, CheckInventoryCmd, ReverseUpdateInventoryCmd, UpdateInventoryCmd,,,,,,

    public class CheckInventoryCmdImpl
    extends InventoryBaseCmdImpl
    CheckInventory let you check inventory for items. There are two ways to check 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.

    If the check inventory fails, it throws ECApplicationException with the message key _API_BAD_INV and the error view of CheckInventoryErrorView.

    See Also:
    Serialized Form