How to build a Filter
Each FilterItem has a Name and an Operation Code (see below for what the operation codes mean).
Use the Name, Operation Code, and the value that the user has selected to build a string in this format
[Name]|[OperationCode]|[Value]
If the user has not selected a value, then that filter should not be passed back.
Examples
Built Filters
Page Filters
Sample:Date Greater than
DateOfQuote|5|2021-01-01
Sample:Combining Filters
DateOfQuote|5|2021-01-01,DateOfQuote|6|2021-02-01
Grid Filters
Sample: All New Quotes
Status|1|New
Sample: All New or Open quotes
Status|1|New$^$Open
Sample: All Picked and Underwritten quotes
Status|1|Picked$$$Underwritten
Filter Types
| Name | Description | Additional |
| Text | A simple Text field | Text should not contain commas (,) or pipes (|) |
| Dropdown | A Select / Dropdown / Combobox field using the options provided | |
| Date | A Date selection field. | Dates should be returned in "dd MMM yyyy" or "yyyy-MM-dd" format |
| Checkbox | A check box. | Must return the value in true/false format |
| Radio | A radio button group using the options provided |
Filter Operations
| Value | Description |
| 1 | Value Equal to |
| 2 | Value Contains |
| 3 | Value Starts With |
| 4 | Value Ends With |
| 5 | Value Greater Than |
| 6 | Value Less Than |
| 7 | Value Greater or Equal to |
| 8 | Value Less or Equal to |
| 9 | Value in Foreign List |
| 10 | Value Not Equal to |
| 11 | Value Not in Foreign List |