Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Reporting Namespace / ReportDataSource Class / GetProductBreakdownSummary Method / GetProductBreakdownSummary(DateTime,DateTime,Int32,Int32,Int32,String) Method
Inclusive start date to consider
Inclusive end date to consider
If vendorId is greater than 0 includes products for this vendor only. All products are included otherwise.
Maximum number of rows to retrieve
Starting index from where to start retrieving
Sort expression to use for sorting the loaded objects
In This Topic
    GetProductBreakdownSummary(DateTime,DateTime,Int32,Int32,Int32,String) Method
    In This Topic
    Builds a product breakdown summary report for a given period
    Syntax
    [DataObjectMethod(DataObjectMethodType.Select)]
    public static IList<ProductBreakdownSummary> GetProductBreakdownSummary( 
       DateTime fromDate,
       DateTime toDate,
       int vendorId,
       int maximumRows,
       int startRowIndex,
       string sortExpression
    )

    Parameters

    fromDate
    Inclusive start date to consider
    toDate
    Inclusive end date to consider
    vendorId
    If vendorId is greater than 0 includes products for this vendor only. All products are included otherwise.
    maximumRows
    Maximum number of rows to retrieve
    startRowIndex
    Starting index from where to start retrieving
    sortExpression
    Sort expression to use for sorting the loaded objects

    Return Value

    A List of ProductBreakdownSummary objects
    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