Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Services Namespace / IInventoryManager Interface / Destock Method / Destock(Int32,Int32,String,Boolean) Method
Quantity of the product to destock
Id of the product to destock
The option list of the product to check stock for
value returned in this variable indicates whether after destocking the product has reached low stock warning level or not
In This Topic
    Destock(Int32,Int32,String,Boolean) Method
    In This Topic
    Destock a given quantity of the given product from inventory
    Syntax

    Parameters

    quantity
    Quantity of the product to destock
    productId
    Id of the product to destock
    optionList
    The option list of the product to check stock for
    lowStock
    value returned in this variable indicates whether after destocking the product has reached low stock warning level or not
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also