Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Reporting Namespace / ProductInventoryDataSource Class / GetProductInventoryCount Method
The given inventory level
In This Topic
    GetProductInventoryCount Method
    In This Topic
    Counts the number of inventory items that are at or below the given inventory level.
    Syntax
    public static int GetProductInventoryCount( 
       int maxInStock
    )

    Parameters

    maxInStock
    The given inventory level

    Return Value

    The number of items at or below the given inventory level.
    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