Reference Qualifier allows for creating filters to select the data on certain conditions and return it to a reference field.
Reference field stores the ID of a record of a specified table. That is, this field contains reference to the records and fields in the referenced table.
Reference Qualifiers can consist of:
You can create the reference qualifier for a table, and its child tables, by defining a reference qualifier through an appropriate interface.
You can also modify the reference qualifier on extended tables through the Column Overriding. Only one reference qualifier per field, form or table can be defined.
There are two methods of using a reference qualifier:
In Simple reference qualifier, AND/OR statements are used to configure filters. Use them when filtering conditions are not quite specific. For example, to filter only active users from the Users dictionary, AND/OR only companies from the Pacific timezone from the Companies dictionary. See Condition Builder to learn more about filters.
Role required: admin. |
To create a simple reference qualifier, please complete the steps below:
The Reference Qualifier tab is available only for Reference or List fields. |
To create a dynamic reference qualifier, please complete the steps below:
The Reference Qualifier tab is available only for field of Reference or List types. For fields of other types, use Condition Builder Options. |
For example, we are going to take the Assigned To field that is the reference to the User (user) table. By default, when we start typing something in this field, then all values in this field appear in the lookup and can be chosen. It happens because the reference qualifier is not set, and it does not limit the reference lookup. You can choose any user, from any department, in any state, even an inactive user (for example, the retired user). To prevent such issues, use the reference qualifier like described below or in the way your task requires.
We need to limit the users list which can be assigned to tasks (by specifying their name in the Assigned To field). For example, only a Customer Support member can be assigned to tasks.
To configure a reference qualifier in this way, complete the steps below:
After that, type a user name that is not a Customer Support staff member. You will find out that autosuggest service does not provide any options.
The condition length for this field is limited, so it makes sense to use condition strings looking alike (field_name=value) instead of searching the record sys_id within the ID's array. |