When upgrading to Microsoft Dynamics GP 2018 R2, similar to what we have seen with prior versions, there are some new security roles and tasks that have been added with the Microsoft Dynamics GP 2018 R2 release and due to this, if you're upgrading to this version whether coming from Microsoft Dynamics GP 2018, Microsoft Dynamics GP 2016/R2, or Microsoft Dynamics GP 2015/R2, you will need to run the attached scripts to make sure all of the security records are present in Microsoft Dynamics GP 2018 R2.

The tables impacted are the SY10600, SY10700, SY10800, SY09000 and SY09100 security tables and the new security records are mainly for a Workflow report and some other additions.

You will want to run these scripts against your DYNAMICS/system database for Microsoft Dynamics GP 2018 R2 after the upgrade has been completed on all databases and backups of the databases have been completed.

This is by design in that we do not roll down new security roles to an existing Microsoft Dynamics GP environment, which could potentially cause issues with your current security design. Therefore, we have chosen to release these new security records, along with all security records, as an INSERT script, even though we do not recommend making any modifications to our default security roles or security tasks, but instead create custom security roles and security tasks to use and make changes to.

A new installation of Microsoft Dynamics GP 2018 R2 databases will already have all of these security records in the tables, it is only when upgrading from a prior version to Microsoft Dynamics GP 2018 R2 that this issue will occur and require the running of these security record scripts to add to what exists already in these tables.

The scripts for Microsoft Dynamics GP 2018 R2 security roles and security tasks can be downloaded from the following link:


***NOTE: When you run these insert scripts against your system database for Microsoft Dynamics GP 2018 R2, it is normal that you will see some PRIMARY KEY error messages referencing duplicate records trying to be inserted into the security tables. This can be ignored as it means that the record(s) already exist in these tables. That being said, make sure to have a valid backup of the DYNAMICS/system database before running these INSERT scripts against it.

Good Luck Upgrading and Enjoy Microsoft Dynamics GP 2018 R2!!!