I have an edit screen (see attached) in which I would like to make a selection in the first drop-down field, and use it as a filter or cascade for a drop-down selection on a second field, but also use this same first field selection as a filter when clicking the Lookup (…) button on the second LookupPickerField, so I only show items on the lookup/Select screen related to the first field selection (ex. Parts from only the selected Supplier). I’ve looked through various other forum articles, but I have not seen where there is an option for filtering a Lookup screen when clicking the Lookup(…) button on a LookupPickerField.
It will allow you to build a map that will contain the selected item each time when you invoke LookupAction. Then you can get this item from the map and filter entities.
> ProductBrowse screen modifies its datasource query depending on passed customer. If a customer is provided, the table shows only products for this customer and those without reference to a customer.