Printing reports from code in AX2012

How to print a report from X++ and change print settings in AX2012? I have a concrete example for you – it should give a good idea how to do that even if your situation is a little bit different. SrsReportRunController controller = new SrsReportRunController(); SysUserLicenseCountRDPContract rdpContract = new SysUserLicenseCountRDPContract(); SRSPrintDestinationSettings settings;   // Define …

Continue reading ‘Printing reports from code in AX2012’ »