I felt like we had checked everything, including:
- Confirmed access to reports in Report Manager, and access to Data Source- other reports work fine (including other financial reports)
- Confirmed the database roles- all affected users had rpt_poweruser roles to both the company and DYNAMICS databases
- Placed users in to SYSADMIN server role for testing- still didn't return results
- Recreated stored procedures used by report- no luck
- Recreated report itself- running out of ideas
So, the SSRS financial trial balances use the same stored procedure that is used for the trial balance reports in Dynamics GP. This stored procedure incorporates account level security. In our company (and test company), account level security (organizational structures) is activated (Tools-Setup-Company-Company). So when the report is generated, it cannot locate any accounts based on the user's security (since the SSRS reports use windows credentials, not the GP user accounts). This causes the report to not return any results, and does not produce any errors.
Simple cause. The workaround is to change the data source for the report to use the 'sa' user and password. If you choose to do this, keep in mind that all users who have access to the report will in turn have access to all data. In our situation, this works since the only users who can access the report are allowed access to all accounts. In a more restrictive environment, I think you would have to look at modifying the report to map the windows accounts to GP accounts. If you did this, you would need to take care not to affect the stored procedure used by the standard Dynamics GP reports.
Christina Phillips is a Microsoft Certified Trainer and Dynamics GP Certified Professional. She is a supervising consultant with BKD Technologies, providing training, support, and project management services to new and existing Microsoft Dynamics customers. This blog represents her views only, not those of her employer.
No comments:
Post a Comment