Printing reports from code in D365FO
A comment below my blog post Printing reports from code in AX2012 asked me to provide an example for D365FO. Here is it. The code is virtually identical. Only writing a file to a shared folder doesn’t make a good sense in cloud, therefore I changed the code to return the file to user for download. …