D365FO Form Datasource Execute query
Form DataSource Execute Query If you want to see the query which will hit DB and fetch records to show in a form you just have to make the Chain of command of Form Datasource Execute query when you hover on QR or QBDS you can get the form query and also you know the ability to modify the form query or you can add multiple data sources in the form query.