How to Open a Filtered Form Using a Menu Item related to a row in D365FO
I Will show you here how to Open a Filtered Form Using a Menu Item related to a row. for example in Released Products i added a menu item to show Related PRQs to an item like this Let's begin the development here: first of all create a View with targeted Datasoruce and drag the field you need: Next create Simple list form then add Datasource Next override the form method "init" and write the following code: public void init() { InventTable selectedRecord; QueryBuildDataSource qbds; QueryBuildRange qbr; super(); // Check if arguments are passed and if it's the correct type if (this.args() && this.args().record() && this.args().record() is InventTable) { // Get the selected record ...