Personalized Community is here!
Quickly customize your community to find the content you seek.
Choose your path Increase your proficiency with the Dynamics 365 applications that you already use and learn more about the apps that interest you. Up your game with a learning path tailored to today's Dynamics 365 masterminds and designed to prepare you for industry-recognized Microsoft certifications.
Visit Microsoft Learn
2020 Release Wave 2Discover the latest updates and new features to Dynamics 365 planned through March 2021.
Release overview guides and videos Release Plan | Preview 2020 Release Wave 2 TimelineWatch the 2020 Release Wave 1 virtual launch event
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Upcoming TechTalks
Hello everybody ,
I am just trying to work with SSRS reporting services i just followed this tutorial https://community.dynamics.com/ax/b/dynamics101trainingcenterax/archive/2013/09/16/developing-a-ssrs-report-using-the-report-data-provider-in-microsoft-dynamics-ax-2012.aspx
Everything worked fine , now i just want to get the selected record in a listPage form in in the processReport method of the DP class , i took a look on an existent example (PayrollPaystatementDP) in it's processReport method it is unsing the queryrun , without really undestanding the problem i tried to replicate the same work on my own DP class but it dosen't worked .
Any Help please ,
Thank you all .
Let's take it step by step.
What do you want to do in the data provider class? You want to get the selected record (or filter a query - composed of several tables - by the selected record) and insert some data to a temporary table (or tables) used by the report.
What defines report parameters? It's the data contract. You can get it by calling parmDataContract() in processReport().
Data contract can contain RecId of the selected record (to keep it simple).
Now - when should you set values to data contract? In the report controller class, e.g. in preRunModifyContract().
And where you get the selected record? You should get it from _args.record() in controller's main() method.
It's likely that not everything is clear to you by now, but it should help you to get some picture.
I will try that thank you so much Martin
Business Applications communities