Debug SSRS report in AX 2012
To debug classes, methods, tables and forms in
AX, we simply mark the breakpoint on the code or write the keyword breakpoint. But when it’s come to SSRS
report it needs few step to debug it, mentioned below
1) In DP
class of the report, change SrsReportDataProviderBase
to SrsReportDataProviderPreProcess in
class declaration.
2) Change Temporary
table property to Regular.
3) Change
Temporary table property Created By
to Yes
4) Change Temporary
table property Transaction Id to Yes
5) Add the following
line also in process report method of DP class tmpTable.setConnection(this.parmUserConnection())
Mark break point in the code and run the report. It will hit the break point now.
Comments
Post a Comment