How to Open a Form with a Present Filer in Dynamics AX 2009

read

Sometimes, your key users are only interested in certain collections of records in a given form in Dynamics AX. There are times when you need your user to see records for all customers and other times you need to narrow it down to 'corporate' or 'small business' customers.

Dynamics AX allows the you to customize the appearance and layout of an AX form via Intellimorph but this feature doesn't allow for the automatic filtering of data.  To accomplish this, the favorites feature is required to achieve this functionality and provide these users with an easy way to access their forms with these filters automatically applied.

Creating a form that opens with a pre-determined query is not hard once you know how to do it.  We broke it out into two parts: Create the query and then create a shortcut to this form with that query.

Part 1 – Create and Save an Advanced Filter

  1. Open the form that you want to be able to open with a pre-determined query
  2. Click on the Advanced Query button (Ctrl+F3) .  It looks like a tornado with a pencil
  3. Create the desired rangessorts to the tables and fields. Click on the ‘Modify…’ button on the upper right hand corner of the advanced query form
    • Dynamics AX will allow the users to customize the appearance and layout of an AX form via Intellimorph but this feature will not allow for the automatic filtering of data.
  4. Click on the ‘Save As’ option that appears
  5. Enter a name to save your advanced query as (e.g., Group 20 View in Figure 2) and click 'ok'.
    • Name your saved query appropriately
  6. Make sure that the ‘Select query’ on the advanced query form is showing the value of the save query from step 6 above.  Click 'OK'
  7. Verify that the form shows the newly queried data.  If the data is not showing up as expected, check your query again.
  8. Close the form.

Part 2 – Create a Favorite with a Saved Query Associated

  1. Find the form in the AX Navigation Bar that the saved query was just created from (in my example, it is the Customer Details).
  2. Right click on the form in the Nav Bar and select ‘Add to favorites’.
  3. Provide a name for the shortcut in the favorites in the ‘Name’ field.
  4. Select the appropriately saved query in the ‘Query’ field (e.g., ‘Group 20 view’ that was created in step 6 above)
    • Create a favorite from a form and select the saved query that you want to associate with the favorite. Give the favorite a custom name.
  5. Click the 'Ok' button unless you want to select a location to create the favorite in.  I will not go into detail on this step but it is a great way to organize favorites.
  6. When the new custom ‘Favorites’ short cut is clicked on, the target form will open with the appropriate associated query executed on that form
    •  When the pre-saved form is clicked, the target form will open with the query automatically being applied

If you have questions about how to open a form with a present filer in Microsoft Dynamics AX 2009, contact us. 

As Vice President of Digital Transformation at Blue Horseshoe, Steve Shebuski guides businesses through their digital transformation journey. Steve has 20+ years of experience as a Program Manager/Design Lead/Project Manager implementing both Microsoft Dynamics AX / Dynamics 365 as well as tier I and tier II warehouse management and transportation software solutions. Steve's deep knowledge within the distribution industry and his innovative approach to solution architecture are the backbone of the solution implementation and deployment by Blue Horseshoe.

Learn How Others Have Improved Their Supply Chain Operations With Blue Horseshoe

Supply Chain Technology

D365 Wave Updates (Updated for 2021)

Read More
Dynamics 365 ERP

Overcoming Cloud ERP Misconceptions: Your Guide to D365

Read More

How to Develop a Warehouse Inventory Cycle Counting Process

Read More