Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Reporting Namespace / ReportDataSource Class / GetMonthlySales Method / GetMonthlySales(Int32,Int32) Method
The year to generate sales summaries for.
The month to generate sales summaries for.
In This Topic
    GetMonthlySales(Int32,Int32) Method
    In This Topic
    Generates sales summaries for each day in the given month.
    Syntax
    [DataObjectMethod(DataObjectMethodType.Select)]
    public static IList<SalesSummary> GetMonthlySales( 
       int year,
       int month
    )

    Parameters

    year
    The year to generate sales summaries for.
    month
    The month to generate sales summaries for.

    Return Value

    A list of SalesSummary, one for each day in the month. StartDate and EndDate properties of the SalesSummary are in store local time.
    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