Here are two pretty cool Acumatica concept customizations that were done to show how you can easily create an Acumatica Generic Inquiry from a Screen, including (and this is the important part) automatic detection of the joins.
Both of these are great ideas for how to easily create Generic Inquiries from Screens in Acumatica. I hope that someday we see something like this make it into the Acumatica product.
The most exciting part in the second video for me is the SUGGEST buttons which automatically populate the Relations tab, the most difficult tab for people when creating Generic Inquiries.
Is this related to this Discussion Topic or did you mean to create a new one?