web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Filter the records of list page form

(0) ShareShare
ReportReport
Posted on by 3,851

Hi All,

   i want to open the form through job based on passing parameters filter the records on a list page form .

  if it is normal form i can pass parameters to the datasource execute Query  method ,but list page we can't override the methods , how to filter the records in listpage interaction class .

Thanks in advance 

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at

    Hi Veeru,

    Calling a list page from a job may not be a ideal thing to do. List Page's receive a query as a parameter from the menuitem through which they modify the ranges. To understand how to set ranges in ListPage visit this class \Classes\ProdTableListPageInteraction\initializeQuery

    Every listpage has a interaction class where any logic associated is placed.

  • veeru ogu Profile Picture
    3,851 on at

    Thank you very much for replyed kamal.

     But my actual requirement is  open the list page form in another form bassed on passing parametrs i want to filter the records,same thing i am passing the parametr through find method , in the same i want to pass the multiple parameters to the listpage through job

    static void wotkrequest()

    { FormRun formRun;

    Args args = new Args();

    ;

    args.name(formstr(EAMWorkRequestListPage));

    args.record(EAMWorkRequest::find('mech/2012/13')));

    formRun = ClassFactory.formRunClass(args);

    formRun.init();

    formRun.run();

    formRun.wait();

    }

    through the above job i opened the list page but i want pass the values to the  listpage interaction class  and filter the records.

  • Suggested answer
    Community Member Profile Picture
    on at

    On the initialized query you must use the following this.listPage().listPageArgs().externalRecord() to retrieve the record you passed. You can refer to the same example specified above which has a similar implementation in initializeQuery method.

  • veeru ogu Profile Picture
    3,851 on at

    Thanks For being support , i got the solution as per your advise.

    Thanks alot once again

  • veeru ogu Profile Picture
    3,851 on at

    Hi Kamal,

        Can you provide any screen shot , vedio or any example of subreport in axapta 2012 , through msn help i was created drilldown report it open as another report but i want to show the report on the same screen.

    thanks in advance

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans