End of mainstream support for Microsoft Dynamics AX 2009, 2012, and 2012Mainstream support for Dynamics AX 2009 Service Pack 1 (SP1), Dynamics AX 2012, and Dynamics AX 2012 R2 ended Oct. 9, 2018. After that date, only security hotfixes will be provided for these three versions through the extended support period that until Oct. 12, 2021. Read more
Dynamics 365 2019 release wave 2 plan Discover the latest updates to Dynamics 365.Release Plan | Weekly Deployment Notes
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants.Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements.
ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Talent TechTalks
Hello all, in a requirement i have to run my report from form where it takes the selected record on form as parameter to process the report. The report dialog should be invisible. How can i achieve this ? I have written DP class, contract class and controller class, created an action menu item and set it as menu item button form. But here i am not setting the data source. I need some code level implementation from where the report gets open on button click
What do you mean by "here i am not setting the data source"?
Don't you get the record when calling args.record() in main() method of the controller class?
Your report controller class should extend the SrsReportRunController class:
class TestRC extends SrsReportRunController
The main method of your report controller class should look similar to this:
public static void main(Args _args)
TestRC controller = new TestRC();
dataTable = _args.record() as DataTable;
This called pre process pass parameter
By this controller.parmShowDialog(false)
The report dialog will not show
If you are using menu item (Action menu item of your controller class )to open report then follow below link. From required a data source from where you are opening report.
And if you want to open report by button click
Create output menuitem of your report and write below code in button click
args args; //declare args
args = new Args();args.caller(element);new MenuFunction(menuitemoutputstr(Myreport), MenuItemType::Output).run(args);
and pass parameter in contract in dp class.
Business Applications communities