Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Reporting Namespace / ProductInventoryDataSource Class / GetProductInventory Method / GetProductInventory(Int32) Method
The given inventory level
In This Topic
    GetProductInventory(Int32) Method
    In This Topic
    Get all inventory items that are at or below the given inventory level.
    Syntax
    [DataObjectMethod(DataObjectMethodType.Select)]
    public static IList<ProductInventoryDetail> GetProductInventory( 
       int maxInStock
    )

    Parameters

    maxInStock
    The given inventory level

    Return Value

    A list of all inventory items that are 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