Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Reporting Namespace / ReportDataSource Class / GetDailySales Method / GetDailySales(Int32,Int32,Int32) Method
The year to consider
The month to consider
The day to consider
In This Topic
    GetDailySales(Int32,Int32,Int32) Method
    In This Topic
    Gets a daily sales report for a given date
    Syntax
    [DataObjectMethod(DataObjectMethodType.Select)]
    public static IList<OrderSummary> GetDailySales( 
       int year,
       int month,
       int day
    )

    Parameters

    year
    The year to consider
    month
    The month to consider
    day
    The day to consider

    Return Value

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