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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Running report through menu item with passed parameter/context

(0) ShareShare
ReportReport
Posted on by 2,365

Hi, I want to be able to select records on a List Page and from there click on a menu item which runs a report with the selected records on the Grid from the List Page. How should I approach this to retrieve the records that will be passed into the menu item to run the report and be displayed on a new page.

*This post is locked for comments

I have the same question (0)
  • Martina Bergamo Profile Picture
    1,470 on at

    Hi!

    You should use a menu item with the property "MultiSelect" set to "Yes". Than, you should implement a controller that extends from TradeDocumentReportController.

    You can use as example the class "PurchPackingSlipController / PurchPackingSlipDP".

  • Ali Zaidi Profile Picture
    4,657 on at

    Ya that is possible one approach is as following.

    Click on menu, Selected records on grid will be insert in to custom table. and when report run, data provider class read data from custom table and used as parameters in logic.

  • YiMeister Profile Picture
    2,365 on at

    Do you know of any sources for that explain what the class is doing or an example somewhere with an explanation? I am kind of new to AX still so analyzing this code from not knowing what some of these things are makes it harder.

  • YiMeister Profile Picture
    2,365 on at

    @ ALi ZAIDI

    What method will invoke the button click to insert the selected records into the custom table?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 34

#1
CP04-islander Profile Picture

CP04-islander 34

#3
Jagadabi Profile Picture

Jagadabi 6

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans