Showing posts with label SSRS. Show all posts
Showing posts with label SSRS. Show all posts

Steps to repeat table headers in SSRS AX 2012

1. Select a drop-down arrow beside column groups and enable "Advanced Mode" by clicking on it.







2. Then under Row Groups, select the static row and choose properties or press F4.

3. Set the following attributes for the static header row:
RepeatOnNewPage : True
KeepWithGroup: None


How to duplicate SSRS report with business logic in AX 2012

This is my own solution to duplicate SSRS report (with business logic or not) in AX 2012:

Ex : PurchPackingSlip report
- Choose duplicate  for report in SSRS and also the DP, Contract and Controller
After that you also got lot of error about business logic (BL) when you deploy

- Now go to AOT, export your Purch Packing Slip Business logic in  > AOT > Visual Studio Project > C Sharp Project > PurchPackingSlipReport.BusinessLogic.

- Open businesslogic file with Note Pad:



- Crtl + F : Find all the old BL name and rename to your BL name.
- Find all old report name and rename to your duplicated report name.
- Find Origin line like the second red rectangle in my pic > change a last number to make Id  for your BL. In this case 68 > 69
- Save and import to AOT > now it become your BL with new name.
- Go to VS: change data method library to your BL
- Add dataset with your RDP class (rename to old dataset name)
- Copy properties of old parameters to new parameters.
- Remove old parameters
- Set dataset report parameters to new parameters in properties Window:


Now deploy,  you got your duplicated report.