Fixing Base Period On Management Reporter Sample Company Reports

Microsoft Dynamics GPI did a couple of posts a while ago on fixing the sample company reports (the first post fixed the Row and Column Definitions and the second the Reporting Tree Definitions), but there has been another issue with them that has been bugging me for a while.

The reports are configured to run for periods around the current system date, which means dates in 2013. But the Fabrikam sample company is in 2017 so the reports return no data. With Management Reporter storing its reports and configuration information on a SQL Server database, it is possible to tweak the reports to run for 2017.

I checked each of the reports to see how what Base period they were using and then worked out what I needed to update to set the reports to run for similar periods in 2017.

For example, if a report was using S-1 to run for the last period, I would need to update it to run for S+40 and if it was set to run for the current period, I would need to change CUR to S+41. All told there were four different period settings used on the different reports and so I produced SQL scripts to update the Report Definitions:

UPDATE
   ControlReport
SET
   DefaultPeriod = 'S+41'
WHERE
   DefaultPeriod = 'CUR'
GO

UPDATE
   ControlReport
SET
   DefaultPeriod = 'S+40'
WHERE
   DefaultPeriod = 'S-1'
GO

UPDATE
   ControlReport
SET
   DefaultPeriod = 'S+41'
WHERE
   DefaultPeriod = 'C'
GO

UPDATE
   ControlReport
SET
   DefaultPeriod = 'S+43'
WHERE
   DefaultPeriod = 'C+2'
GO

One thing to bear in mind, is that the update script above works for this month. You will need to work out how many to add each time you look to run these scripts and update accordingly.

What should we write about next?

If there is a topic which fits the typical ones of this site, which you would like to see me write about, please use the form, below, to submit your idea.

Your Name

Your Email

Suggested Topic

Suggestion Details

Looking for support or consultancy with Microsoft Dynamics GP?

I no longer work with Microsoft Dynamics GP, but the last company I worked for was ISC Software in the UK; if you’re looking for support or consultancy services with Microsoft Dynamics GP you can contact them here.

2 thoughts on “Fixing Base Period On Management Reporter Sample Company Reports

  1. Pingback: clock parts

Leave a Reply

Your email address will not be published. Required fields are marked *