Creating a custom instant search filter

The standard form filters and the majority of customized form filters in Dynamics AX are only applied once the user presses a button or a key. It is acceptable in most cases, especially if multiple criteria are used. However, when the result retrieval speed and usage simplicity has priority over system performance, it is possible to set up the search function so the record list is updated instantly while the user is typing.

In this recipe, to demonstrate the instant search we will modify the Main accounts form. We will add a custom filter Account name, which will update the account list automatically while the user is typing.

How to do it...

Carry out the following steps in order to complete this recipe:

  1. In ...

Get Microsoft Dynamics AX 2012 Development Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.