Hi Friends,     Normally filters will work only in table fields but we can't do filters to display method.     This below code will work for filters to display method also.     Step 1:   Go to the form design right click on particular control properties Auto Declaration No to Yes.            Step 2:   Override the context()  method on the display method  .      public void context()   {       int             selectedMenu;       formrun         fr;       Args            ag;       Name            strtext;       querybuilddataSource qb1;       queryrun    qr;       query       q;       PopupMenu menu = new PopupMenu(element.hWnd());       int a = menu.insertItem('Filter By Field');       int b = menu.insertItem('Filter By Selection');       i...
This blog has posts with AX Developments and X++ Codes for your Day to day use