Employee filtering

One particular custom query you may want to add will filter employees out of the AutoComplete results for the Contact Name fields. Because employees are also contacts in the Infor Public Sector database, the AutoComplete results by default will includes employees and their contact information. The default custom query for this component is shown below.

{Identity.FullName}* OR {DayPhone}* OR {EMailAddress}*

To filter out employees, you can modify the custom query as shown below. This will exclude all contacts where the contact type is “Employee.”

({Identity.FullName}* OR {DayPhone}* OR {EMailAddress}*) 
AND NOT ContactType.Code:Employee