Method 1:-
----------------------------
1. write breakpoint; from where u want to debug in code.
2.Compile forward the class.
3.Open AX debugger.
4.Now run the debugger, It will hit the breakpoint :)
Method 2:-
------------------------------
1. In classDeclaration extend SrsReportDataProviderPreProcess instead of SrsReportDataProviderBase
2. Temp table properties should be
(a) Table type : Regular instead of tempDB
(b) Created by : Yes
(c) Created Transaction Id : Yes
3. In process report of the class add this line in Temporarytablename.setConnection(this.parmUserConnection());
4. write breakpoint; from where u want to debug in code.
----------------------------
1. write breakpoint; from where u want to debug in code.
2.Compile forward the class.
3.Open AX debugger.
4.Now run the debugger, It will hit the breakpoint :)
Method 2:-
------------------------------
1. In classDeclaration extend SrsReportDataProviderPreProcess instead of SrsReportDataProviderBase
2. Temp table properties should be
(a) Table type : Regular instead of tempDB
(b) Created by : Yes
(c) Created Transaction Id : Yes
3. In process report of the class add this line in Temporarytablename.setConnection(this.parmUserConnection());
4. write breakpoint; from where u want to debug in code.
https://www.youtube.com/playlist?list=PLWSxgDbjVWTjxvgnaAZ0iK8o5dYHAYhrq
ReplyDeleteCollection of Microsoft ERP Clips || ERP Licensing, Technical, Functional ,Manager Learning Videos Listing