Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Reporting Namespace / ReportDataSource Class / GetSalesForPastMonths Method
Can be from 1 to 12
Whether to include zero amount sales or not
In This Topic
    GetSalesForPastMonths Method
    In This Topic
    Gets sales totals for the past months
    Syntax

    Parameters

    monthCount
    Can be from 1 to 12
    includeZeros
    Whether to include zero amount sales or not

    Return Value

    A collection of Key-Value pairs with each key representing the date(month) and each value representing the total sale
    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