Processes request from seller to archive the selected invoices
Namespace:
RainWorx.FrameWorx.MVC.ControllersAssembly: RainWorx.FrameWorx.MVC (in RainWorx.FrameWorx.MVC.dll) Version: 3.5
Syntax
C#
public ActionResult MarkMultipleInvoicesArchived( string[] selectedObjects, bool archived, int? page, int? SortFilterOptions, string ViewFilterOption, string SearchTerm, string SearchType, bool? returnToEventsInvoices, string returnUrl )
Parameters
- selectedObjects
- Type: SystemString
ID or ids of invoices to be updated - archived
- Type: SystemBoolean
true to archive selected, false to un-archive selected - page
- Type: SystemNullableInt32
index of the page to be displayed (default 0) - SortFilterOptions
- Type: SystemNullableInt32
index of requested sort option (default 0) - ViewFilterOption
- Type: SystemString
e.g. "NeedInvoice", "Invoiced", "FeedbackRequired", "FeedbackNotReceived", "Unpaid", "Paid", "All", "Archived" - SearchTerm
- Type: SystemString
optional search keyword(s) to filter the results by - SearchType
- Type: SystemString
optional search type indicating what field(s) the keyword should be applied to - returnToEventsInvoices
- Type: SystemNullableBoolean
if true, return to /Account/InvoiceEventSales - returnUrl
- Type: SystemString
Return Value
Type: ActionResultRedirect to the previous invoice list view
See Also