Creating UD User Defined Lookups
UD User Defined Lookups customize F4 lookups—extra columns, filters, or entirely new lookup lists.
Before you start
- Find an existing lookup close to what you need (easier than starting from scratch).
- Know the view/table and filter logic (company, vendor group, and so on).
Steps
- Open UD User Defined Lookups.
- Identify the current lookup on the field (or a similar one) and copy it to a custom lookup.
- Adjust the SQL—typically
FROM,WHERE, joins, andGROUP BY. - Point
FROMat the correct view; use?placeholders inWHEREfor context-driven filters. - On Details, choose display columns (F4 to pick available columns).
- Save.
Notes
- Bad SQL breaks the lookup—test after changes.
- Prefer copying a working lookup over inventing one from zero.