Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Reporting Namespace / ReportDataSource Class / GetSalesByAffiliate Method
Inclusive start date to consider
Inclusive end date to consider
The affiliate to build the report for
In This Topic
    GetSalesByAffiliate Method
    In This Topic
    Builds sales by affiliate report for given period
    Syntax
    [DataObjectMethod(DataObjectMethodType.Select)]
    public static IList<AffiliateSalesSummary> GetSalesByAffiliate( 
       DateTime startDate,
       DateTime endDate,
       int affiliateId
    )

    Parameters

    startDate
    Inclusive start date to consider
    endDate
    Inclusive end date to consider
    affiliateId
    The affiliate to build the report for

    Return Value

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