Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Reporting Namespace / ReportDataSource Class / GetSalesByProduct Method / GetSalesByProduct(DateTime,DateTime) Method
Inclusive start date to consider
Inclusive end date to consider
In This Topic
    GetSalesByProduct(DateTime,DateTime) Method
    In This Topic
    Gets sales by product report
    Syntax
    [DataObjectMethod(DataObjectMethodType.Select)]
    public static IList<ProductSummary> GetSalesByProduct( 
       DateTime startDate,
       DateTime endDate
    )

    Parameters

    startDate
    Inclusive start date to consider
    endDate
    Inclusive end date to consider

    Return Value

    A list of ProductSalesSummary 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