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

    Parameters

    dayCount
    Can be between 1 to 15
    includeZeros
    Whether to include zero amount sales or not

    Return Value

    A collection of Key-Value pairs with each key representing the date(day) 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