RemoveFilter(id)
Removes an existing (default) filter from the “Search Filter” group of the Invoice Payment Processing page.
Parameters
-
id
{string} [required] – the field id from the “Search Filter” group of the Invoice Payment Processing page that you want to remove. The field id can be found on the helpText of the fields on the “Search Filter” group. You can also refer to the appendix of this document to get the field id of a filter field. The following filters can be removed:-
custpage_2663_transtype
-
custpage_2663_date_from
-
custpage_2663_date_to
-
custpage_2663_customer
-
Throws
-
EP_API_REMOVEFILTER
– Thrown when you are trying to remove a required filter. -
EP_API_REMOVEFILTER_INVALID_ID
– Thrown when id is not provided.
Example
epPaymentSelectionForm.RemoveFilter('custpage_2663_vendor');