Hello,
I am trying to print a SSRS report to the screen through a controller class of my own. I call a menu item that refers to my Controller class.
Error: "Report menu item is not found when constructing the query string"
I have tracked down where the error is being thrown (See the callstack).
The parmReportContract function is being called multiple times, but it only breaks with this callstack, when the ReportContract is returned, the data in it is valid, I've compared the data in the contract while printing the same report by bypassing my own controller class (no error when bypassing my class).
So it seems to me that I might need to set some extra data in my controller/contract?
Let me know if you need more info.
> Dynamics.AX.ApplicationFoundation.Class.SrsReportRunController.netmodule!Dynamics.AX.Application.SrsReportRunController.parmReportContract(Dynamics.AX.Application.SrsReportDataContract _reportContract, bool @_reportContract_IsDefaultSet) Line 527 X++
[External Code]
Dynamics.AX.ApplicationFoundation.Class.SrsReportRunController.netmodule!Dynamics.AX.Application.SrsReportRunController.runToScreen() Line 1236 X++
Dynamics.AX.ApplicationFoundation.Class.SrsReportRunController.netmodule!Dynamics.AX.Application.SrsReportRunController.doReportRun() Line 1145 X++
Dynamics.AX.ApplicationFoundation.Class.SrsReportRunController.netmodule!Dynamics.AX.Application.SrsReportRunController.runReport() Line 1093 X++
Dynamics.AX.ApplicationFoundation.Class.SrsReportRunController.netmodule!Dynamics.AX.Application.SrsReportRunController.run() Line 1062 X++