New Security Roles and Tasks are missing when upgrading to Microsoft Dynamics GP 2018 R2 (Updated)
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:
SECURITY-RECORDS-FOR-MICROSOFT-DYNAMICS-GP-2018-R2_5F00_Updated-Dec_5F00_2019.txt
***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!!!
**Update: We've found that when inserting the records into the SY10800 table, it caused the alternate/modified forms and reports window to show objects with neither the default, alternate or modified options selected, which has caused customers to see 'dictionary not found' errors.
To prevent this, we've modified the SY10800 scripts to only add those records that have an ALTDICID value of 1493 and 2277, which is the core 'SmartList' and 'Purchase Order Enhancements' modules. These are included in the attached scripts above.
For additional modules, we have these:
>If you have 258/Project Accounting installed for Dynamics GP 2018 R2, run these scripts as well:
embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:18ab1756-7f42-491b-a81d-bf6282a4af68:type=text&text=Insert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C151%2C23%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C155%2C23%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C160%2C23%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C162%2C23%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C202%2C2%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C210%2C2%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C224%2C2%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C247%2C23%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C257%2C2%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C266%2C2%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C267%2C2%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C316%2C2%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C326%2C2%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C382%2C2%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C383%2C2%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C385%2C2%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C386%2C2%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C390%2C2%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C395%2C2%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C406%2C2%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C469%2C2%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C526%2C23%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C591%2C2%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C662%2C23%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C663%2C23%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C664%2C23%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C665%2C23%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C666%2C23%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C684%2C23%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C685%2C23%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C686%2C23%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C687%2C23%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C688%2C23%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C698%2C23%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C701%2C23%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C704%2C23%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C705%2C23%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C708%2C23%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C733%2C23%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C734%2C2%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C734%2C23%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C735%2C23%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C736%2C23%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C737%2C23%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C768%2C2%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C770%2C2%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C774%2C2%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C775%2C2%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C777%2C23%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C780%2C2%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C789%2C2%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C793%2C23%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C807%2C2%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C808%2C23%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C809%2C23%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C817%2C23%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C818%2C23%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C827%2C2%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C828%2C2%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C829%2C2%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C832%2C2%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C839%2C2%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C849%2C23%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C851%2C23%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C852%2C23%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C868%2C2%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C880%2C2%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C887%2C2%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C887%2C23%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C888%2C2%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C888%2C23%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C890%2C23%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C895%2C2%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C953%2C2%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C1064%2C2%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C1153%2C23%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C1155%2C2%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C1163%2C23%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C1164%2C23%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C1165%2C23%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C1166%2C23%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C1273%2C2%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C1292%2C23%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C1414%2C2%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C1434%2C2%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C1741%2C2%2C258%2C0%29%0D%0AInsert%20into%20SY10800%20values%20%28%27DEFAULTUSER%27%2C0%2C1749%2C2%2C258%2C0%29
>If you have the 1911/HRM Solution Series module installed for Dynamics GP 2018 R2, run these scripts:
SY10800_5F00_HRM_5F00_Solution_5F00_Series_5F00_GP2018R2.txt
>If you have the 2788 / Enhanced Intrastat module installed for Dynamics GP 2018 R2, run these scripts:
SY10800_5F00_Enhanced_5F00_Instrastat_5F00_GP2018R2.txt
>Lastly, if you have the 3096 / VAT Daybook module installed for Dynamics GP 2018 R2, run these scripts:
SY10800_5F00_VAT_5F00_Daybook_5F00_GP2018R2.txt
This will keep the SY10800 table from getting records for ALTDICID values for features that are not installed, which will resolve the 'dictionary not found' messages after the security scripts are run.
Thanks again!!
Comments
-
Derek, there is an issue with 2018R2 new function REASON CODES. The reason codes window is incorrectly placed in system, it should be in inventory I believe, I spent a lot of time trying to find in inventory. Also, it looks like the script to add new security doesn't add this one, and also does not add to security resource descriptions.
-
-
RE Eric Jackson's comment - we experienced the same exact situation affecting various Windows and Reports for the DEFAULTUSER.
-
Running this script against my customer's GP 2018 R2 broke the Default User ID in Alternate Modified Forms and Reports. It has unselected some of the windows and reports, like Vendor Maintenance. I just ran the script on my test 2018 R2 and it broke that as well. I had to open the DEFALUTUSER and manually select some of the radio buttons. The ones it broke just had nothing selected.
-
This is something I wish MS would fix with upgrades. Is it really that hard to give people the option

Like
Report
*This post is locked for comments