Filtering on forms in Dynamics AX is implemented in a variety of ways. Dynamics AX provides generic filtering options like Filter By Selection, Filter By Grid, or Advanced Filter/Sort located in the toolbar as a part of the standard application and they are available for every form. Some of the existing application forms already have custom filters implemented, which normally are placed at the top of the form and represent the most often used search criteria. But nevertheless, I noticed that standard filtering is not always comfortable and user friendly and it is a very common request in every Dynamics AX implementation to add additional customized filters to some forms.
In this recipe, we will explore how to quickly add custom filters to a form. We will add three custom filters to the Customers form:
Stopped will toggle between inactive and all customers.
Customer group will allow displaying the customers belonging to a specific group.
Account statement will allow...