Call AX 2012 SSRS report with code

Hi All,

I need to get an AX 2012 report to PDF with code. I found some samples:

msdax.wordpress.com/…/

dynamicsaxgyan.wordpress.com/…/

first one doesn’t run, second one gives “Parameter executionInfo cannot be null or empty” error.

Any idea or sample?

One more sample: http://dev.goshoom.net/en/2013/11/printing-reports-from-code-in-ax2012/.

I’ll rather help you with code I wrote than with somebody else’s code. [:)]

Thank you Martin,

I’ll try this at Monday. What about printing for just one record? Should I try send record with args? I didn’t use AX 2012 reports yet, I was a 2009 developer…

Thank you,

it works…

I’m getting an infolog message “Report successfully saved …”

How can I supress this?

controller.parmShowDialog(false);

useless for this infolog message…