Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Reporting Namespace / ReportDataSource Class / GetSalesByReferrer Method / GetSalesByReferrer(DateTime,DateTime,String) Method
Inclusive start date to consider
Inclusive end date to consider
Sort expression to use for sorting the loaded objects
In This Topic
    GetSalesByReferrer(DateTime,DateTime,String) Method
    In This Topic
    Builds report data for sales by referrer
    Syntax
    [DataObjectMethod(DataObjectMethodType.Select)]
    public static IList<ReferrerSalesSummary> GetSalesByReferrer( 
       DateTime startDate,
       DateTime endDate,
       string sortExpression
    )

    Parameters

    startDate
    Inclusive start date to consider
    endDate
    Inclusive end date to consider
    sortExpression
    Sort expression to use for sorting the loaded objects

    Return Value

    A List of ReferrerSalesSummary 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