Supporting conditions in print management

Print management in F&O (as well as in Dynamics AX) allows you not just to select the report design, print destination etc., but also do it conditionally, e.g. you may want to use different designs or footer texts for certain customers. In print management setup, you must first define a default setup (which doesn’t allow …

Continue reading ‘Supporting conditions in print management’ »

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’ »