Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Reporting Namespace / ReportDataSource Class / GetSalesByUser Method / GetSalesByUser(DateTime,DateTime) Method
Inclusive start date to check the sales from
Inclusive end date up to which to check the sales
Version
GetSalesByUser(DateTime,DateTime) Method
Gets the sales details per user
Syntax
[DataObjectMethod(DataObjectMethodType.Select)]
public static IList<UserSummary> GetSalesByUser( 
   DateTime startDate,
   DateTime endDate
)

Parameters

startDate
Inclusive start date to check the sales from
endDate
Inclusive end date up to which to check the sales

Return Value

A list of UserSaleSummary 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