SQL Reports provide a great way to access your Microsoft Dynamics GP data without needing to login to Dynamics GP. Dynamics GP comes with over a hundred reports that can be deployed from the System Setup menu. Reports such as the GL Trial Balance and Receivables/Payables Historical Aged Trial Balances are available. Another huge benefit of the SQL reports are their ability to be exported directly to Excel.
One problem with the GL Trial Balance Detail is that it does not contain the Journal Entry Reference field by default. This makes the report relatively useless for clients that process a lot of journal entries.
The steps below will walk you through adding the Reference field to the GL Trial Balance Detail report in SQL Reporting Services.
- Go to you SQL Reports homepage in your browser (path should be something like http://servername/reports)
- In the toolbar, click the Report Builder button
- You may be prompted to download and install the Report Builder
- Once Report Builder launches, choose the option to open a report
- You will be prompted with the same folder that exists on the SQL Reports site
- Double click a company folder
- Double click the Financial folder
- Select the Trial Balance Detail
- You will now see the report layout for this report
- There are Zoom controls in the bottom right corner to enlarge the view.
- Expand the dataset folder on the left to reveal all the available fields that can be added to the report. You will see the Reference field highlighted in the screen shot below.
- Normally, you could simply drag this field onto the report, but there is no room to place it without going wider than 11 inches.
- Therefore, we will change the Originating Master Name field to be a calculated field.
- When there is an Originating Master Name, that’s what will print. When Originating Master Name is blank, it will print the Reference.
- This works well since the reference only applies to General Journal Entries
- General Journal Entries do not have a value in the Originating Master Name
- Right click on the [ORMSTRNM] field and choose Expression
- Remove everything in the current expression and replace it with the following:
- =IIf(Fields!ORMSTRNM.Value >= “0”, Fields!ORMSTRNM.Value,Fields!REFRENCE.Value)
- When you’re finished, the window will look as follows:
- Click OK
- Now you can click the Run button in the upper left to test it out.
- Clicking the Save button will commit your changes, so you can now run the report from the browser with your changes applied.
RSM offers support services for Microsoft Dynamics. If you’d like more information on this problem or Microsoft Dynamics GP reporting, please contact our professionals at firstname.lastname@example.org or by phone at 855.437.7202
By: Matt Wilson – Maryland Microsoft Dynamics GP partner