BAQ: Auto filter on UD table

We have a lot of requests to be able to filter in BAQs based on certain criteria from time to time (e.g. list of parts instead of a single Product Group or Part Class).

I have created a custom form that uses UD10 for this purpose. The form works great, and I have edited the GetRows to only provide that users’ data when entering/deleting the records.

When they use it in a BAQ, however, they get all of the rows. They can add table criteria every time they use the UD table, but I was wondering if there is some way to automatically add that into the system as a customization to make it easier. I have traced the Execute on the BAQ, but I don’t see anything that I’d like to mess with there.

This isn’t a necessity, just curious.

Thanks!