Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Services Namespace / IInventoryManager Interface / Destock Method / Destock(Int32,Int32,Boolean) Method
Quantity of the product to destock
Id of the product to destock
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,Boolean) Method
    In This Topic
    Destock a given quantity of the given product from inventory
    Syntax
    void Destock( 
       int quantity,
       int productId,
       out bool lowStock
    )

    Parameters

    quantity
    Quantity of the product to destock
    productId
    Id of the product to destock
    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