Thursday, February 18, 2016

How to Debug SSRS Report

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 comment:

  1. https://www.youtube.com/playlist?list=PLWSxgDbjVWTjxvgnaAZ0iK8o5dYHAYhrq

    Collection of Microsoft ERP Clips || ERP Licensing, Technical, Functional ,Manager Learning Videos Listing

    ReplyDelete

How to enable the dimension fields based on the Item selected on the form.

[Form] public class KMTShipFromWarehouses extends FormRun {     InventDimCtrl_Frm_EditDimensions        inventDimFormSetup;     /// &l...