Sends "Sales Transactions" admin report data to the user's browser in CSV format
Namespace:
RainWorx.FrameWorx.MVC.ControllersAssembly: RainWorx.FrameWorx.MVC (in RainWorx.FrameWorx.MVC.dll) Version: 3.5
Syntax
C#
public FileContentResult SalesTransactionCSV( string dateStart, string dateEnd, string payee, string invoiceID, string listingID, string eventID, string lotNumber, string description, string quantity, string priceLow, string priceHigh, string totalPriceLow, string totalPriceHigh, string isPaid, string payer, string firstName, string lastName, string email, string sort, string descending )
Parameters
- dateStart
- Type: SystemString
minimum sale date to include - dateEnd
- Type: SystemString
maximum sale date to include - payee
- Type: SystemString
partial payee username string to match - invoiceID
- Type: SystemString
id of a specific invoice to include (0 or blank to skip) - listingID
- Type: SystemString
id of a specific listing to include (0 or blank to skip) - eventID
- Type: SystemString
null, blank or -2 for all data, -1 for all event data, 0 for all non-event data, > 0 for specific event data - lotNumber
- Type: SystemString
line item lot number string to match - description
- Type: SystemString
partial line item description string to match - quantity
- Type: SystemString
specific sale quantity to include (0 or blank to skip) - priceLow
- Type: SystemString
minimum sale price to include - priceHigh
- Type: SystemString
maximum sale price to include - totalPriceLow
- Type: SystemString
minimum invoice total to include - totalPriceHigh
- Type: SystemString
maximum invoice total to include - isPaid
- Type: SystemString
0=All, 1=Paid Only, 2=Unpaid Only - payer
- Type: SystemString
partial payer username string to match - firstName
- Type: SystemString
partial payer first name string to match - lastName
- Type: SystemString
partial payer last name string to match - Type: SystemString
partial payer email address string to match - sort
- Type: SystemString
the name of the column to sort the results by - descending
- Type: SystemString
true to order the results from highest to lowest
Return Value
Type: FileContentResultresulting CSV data
See Also