Hopefully at this point you have begun looking at our prior Dynamics GP 2016 Upgrade blogs that we've been releasing since March 29th:
--Microsoft Dynamics GP 2016 R2 Upgrade and Year-End Update Blog Series Schedule
--Microsoft Dynamics GP 2016 R2: Lifecycle and Upgrade Services
--Microsoft Dynamics GP 2016 R2: Upgrade Planning – Let’s Get Started!
--Microsoft Dynamics GP 2016 R2: Known Upgrade Issues
--Microsoft Dynamics GP 2016 R2: Version Checks and Upgrades
If you haven't already looked through these blogs, I would highly recommend it if you are beginning to think about upgrading to Microsoft Dynamics GP 2016 R2 and the Year-End Update.
I would also recommend looking through the 'System Requirements for Microsoft Dynamics GP 2016 R2' page and the 'Upgrading to Microsoft Dynamics GP 2016' hot topic as well, as these will also be updated with the Dynamics GP 2016 information:
>>System Requirements for Microsoft Dynamics GP 2016/GP 2016 R2:
>>Microsoft Dynamics GP 2016 Product Download page / Dynamics GP 2016 R2 DVD: <Coming Soon>
https://mbs.microsoft.com/customersource/northamerica/GP/downloads/product-releases/MDGP2016_Release_Download
>>Upgrading to Microsoft Dynamics GP 2016 / GP 2016 R2 hot topic:
>>Microsoft Dynamics GP 2016 Upgrade Instructions guide:
https://mbs.microsoft.com/Files/customer/GP/Downloads/ProductReleases/Upgrade2016.pdf
Database Upgrade - The Basics!
The upgrade to Microsoft Dynamics GP 2016 R2 is the same upgrade process that we've had in prior versions, in that the database upgrade takes place through Microsoft Dynamics GP Utilities. The upgrade manual outlines the step-by-step process for this upgrade. Here are some of the basics.....
1. Setup your test environment so you can run a test upgrade of Dynamics GP 2016 R2 first. This way, you'll know what, if any, errors you'll run into during the upgrade process, what it'll take to fix them, and how long the total upgrade process will take, so you can better plan on downtime the users will be out of the Dynamics GP application during the upgrade.
2. Review the upgrade manual and hot topic for the latest known issues and pre-upgrade steps and scripts. The hot topic will also tell you what build of Microsoft Dynamics GP 2016 R2 you must be upgrading to, depending on what build of Microsoft Dynamics GP that you're coming from, and whether your current build is high enough to be able to upgrade directly to Dynamics GP 2016 R2.
**NOTE: You can only upgrade to Microsoft Dynamics GP 2016 R2 from these version/builds:
--Dynamics GP 2016:
16.0.0404
16.0.0439
--Dynamics GP 2015:
14.0.0725
14.0.0778
14.0.0804
14.0.0817
14.0.0898
14.0.0952
14.0.0983
--Dynamics GP 2013
12.0.1826
12.0.1894
12.0.1910
12.0.1920
12.0.2038
12.0.2084
12.0.2104
This information is also covered in the ‘Upgrading to Microsoft Dynamics GP 2016’ hot topic mentioned above, and you’ll want to refer to the hot topic for continually updated information as more builds of Microsoft Dynamics GP 2013 and GP 2015 are released, as well as Microsoft Dynamics GP 2016 R2.
3. Backup your existing DYNAMICS or system database for Microsoft Dynamics GP, as well as all company databases, any modified forms and/or reports dictionary files at a minimum.
4. Obtain all the Microsoft Dynamics GP 2016 R2 product download DVD and patch files that you will need for the new version.
5. Obtain all the code and installs for any third-party or integrating products being used with Microsoft Dynamics GP.
6. Install Microsoft Dynamics GP 2016 R2 to include all features that you currently have installed on your current Microsoft Dynamics GP environment, as well as any new features the customer plans to use at the new version.
7. Launch Microsoft Dynamics GP 2016 R2 Utilities and after the version check, it'll detect that you have databases that need to be upgraded, click Next through the wizard to first upgrade your DYNAMICS/system database and then your company databases after that completes.
8. When the Additional Tasks window appears, the database upgrade should be completed and successful. If the Upgrade Company window returns your company database(s) with a Red X, troubleshooting must take place as it normally means there was an issue with the upgrade of that database.
9. Upgrade any modified forms and/or modified reports dictionary files that you have, if any. The 'Modified Dictionary Upgrade' blog is being released April 14th, 2016, so look for that to find additional information on this process.
Database Upgrade Tables:
1. DU000010
The DU000010 table in the DYNAMICS/system database is the 'Utilities Update Files' table, meaning that it contains a list of tables that Utilities uses to determine which tables must be upgraded between the version/build of Microsoft Dynamics GP that you're currently on and the version/build that you're upgrading to. Not every table gets upgraded with each service pack or hotfix released, and this table helps Utilities determine just that.
2. DB_Upgrade
The DB_Upgrade table is also held in the DYNAMICS\system database and is the first table looked at when you launch Microsoft Dynamics GP Utilities. This is the main version table reviewed during the version check process discussed in the previous blog. Once the upgrade begins, Utilities will change the db_verMajor, db_verMinor and db_verBuild columns to the new version/build values that you're upgrading to. Not all features/modules in this table have the same version/build numbers nor do all features/modules get upgraded for each major upgrade, service pack or hotfix, so you may see different results for each of these. The db_status column will also change as the upgrade of the database progresses, beginning at 0 (zero) and moving up at each step, for example 23 indicates the tables conversion process is taking place and 53 is the Load Stored Procedures process with 54 being the 'wrapping up' step right before the upgrade process completes and changes the db_status back to 0 (zero). Once the database is upgraded successfully, the db_verOldMajor, db_verOldMinor and db_verOldBuild column values will be set to match those of the db_verMajor, db_verMinor and db_verBuild columns for each feature/module record, then it updates the DU000020 table.
3. DU000020
The DU000020 table is another table that holds the version information for each feature/module per database that is installed. The versions in the DU000020 table will remain at the previous release until all tables in the database have upgraded successfully and the DB_Upgrade table is showing the same version/build for both versions and the db_status is 0 (zero) again. When a user launches into Microsoft Dynamics GP it is the DU000020 table information that is looked at for the DYNAMICS/system database and all company databases. This is different from Dynamics GP Utilities, which looks at the DB_Upgrade table instead.
4. duLCK
The duLCK table is used by Utilities to put a lock on a database while it is being upgraded or used in the upgrade process. This prevents users from logging onto the database during the upgrade process and/or making any changes to it. Once Utilities has completed the upgrade of the database, it will remove the record thus releasing the lock on the database. If Utilities is shut down or closed improperly, for example if the machine reboots or Utilities is killed through Task Manager, this record may remain in the duLCK table and when you re-launch Utilities, there will be a 'padlock' symbol next to the database symbolizing that the database is locked and you'll need to close Utilities, remove this record and then re-launch Utilities again before continuing with the upgrade of this database.
5. DU000030
Lastly, is the DU000030 table, or Utilities Fail List table. When Utilities starts upgrading the tables within each database, it looks at the DU000010 as mentioned above to see what tables need upgrading. For every table upgraded, a record is inserted into the DU000030 table with a status for the upgrade. The 'Status' column shows which tables failed to upgrade and which were successful. Some common Status values for this table are:
0 - The conversion ran to completion without error
2 - The table being converted or deleted was not found
15 - The table was already converted since the table's structure matches the destination table definition.
25 - The path to the table could not be determined.
70 - Script Error. An error occurred while running a script. **Normally, this error is a result of another table causing this table to fail**
135 - An error occurred and the table was renamed back to its original name and structure containing any data within it.
***The DU000030 table, for this reason, should always be empty before you launch Utilities for the first time on an upgrade of Microsoft Dynamics GP, whether it be a major version upgrade, service pack, hotfix or any other update that changes the database version information. Before launching Utilities to upgrade the DYNAMICS/system database, make sure this table is empty, otherwise it can potentially cause errors with the upgrade by skipping tables during the upgrade process***
***NOTE: The 'Microsoft Dynamics GP 2016 R2 - Upgrade Troubleshooting' blog, being released on Oct. 13th, 2016, will discuss in more detail how to troubleshoot errors during an upgrade of Microsoft Dynamics GP.
Server vs. Client/workstation - Where should you upgrade?
You can launch Microsoft Dynamics GP 2016 R2 Utilities from the server or from a workstation, so because of this, you are not required to install Microsoft Dynamics GP on the SQL Server. The upgrade can be launched from a server or client workstation installation. The only difference may be a slight slowdown as Utilities communicates with SQL Server back and forth, between the two machines, but this does not add much, if any, overhead however.
Upgrading all companies at once vs. one or a couple at a time:
Upgrading all company databases at the same time is recommended but doesn't make much different as far as Utilities is concerned, as it will upgrade each database in the same manner regardless. If you choose to upgrade all company databases at the same time, which is default, Utilities will run through all company databases' upgrade process, one after the other, and won't stop until either all company databases have been upgraded successfully, or an error occurs on one of the databases, that requires troubleshooting to move forward.
If you choose to upgrade one company database at a time, Utilities will upgrade that company database and then once it completes, it will go back to the 'Additional Tasks' window in Microsoft Dynamics GP Utilities and you will need to close Utilities and re-launch it in order to select other remaining company database(s) to upgrade next or it will show an error message if one should be found.
Continue to check back with our Microsoft Dynamics GP 2016 R2 and Year-End Update Upgrade Blog Series Schedule to learn more about the Microsoft Dynamics GP 2016 Upgrade!
Please click here to watch the video: VIDEO!! VIDEO!!
*This post is locked for comments