Upgrade of NAV to Microsoft Dynamics 365 Business Central can help reduce costs, boost efficiency with access to data at any time, anywhere and make your business agile with new features added regularly to the cloud. The process may differ depending on which version of NAV you're running; upgrading from an early version requires first upgrading to more recent version(s), with details below detailing that process.
The process of upgrading in an easy to understand way
There are three phases to the upgrade process.
Step 1
You will need to upgrade to a newer version of NAV or the Business Central solution. If you are using NAV 2015, 2016, 2017, 2017 or 2018, you can immediately upgrade to the most current version of Business Central by taking two steps: upgrade the application's code and then upgrade the information.
- If you're running NAV 2013 or NAV 2013 R2, you'll have upgrade to NAV 2018, update the application's code after that, upgrade the information.
- In the case of NAV 2009 SP1 and R2 You have the option of upgrading to NAV 2013 and 2015. Then, you need to upgrade to NAV 2018, update application code and then upgrade your data. If you are using NAV 5.0 as well as 4.0 it is necessary to upgrade to NAV 2013 and follow the steps outlined above.
Step 2
Convert all your personalizations to extensions and apps that are pre-tenant.
Step 3
Utilize the cloud migration tool move to Microsoft Dynamics 365 Business Central.
Things to do prior to an upgrade in technology to Dynamics 365 Business Central
There are two steps you must do prior to an upgrade in technology to Dynamics 365 Business Central.
First convert your custom V1 extensions into V2 extensions (the V1 extensions are written in C/SIDE while V2 extensions are written in C/SIDE). V2 extensions are written using the AL Language extension for Visual Studio Code. NAV was created using C/AL code, therefore you'll have to convert the code source from C/AL to AL syntax. Next, you'll need to change the Codeunit 1 Application Management with Codeunits of System.
To begin the preparations for the upgrade of technical capabilities, follow these steps:
Step 1 Create a complete backup of your database
The time required to complete this process will depend on the size of your database. If you own a large database and you are strapped for time to finish the upgrade process quickly, you might think about taking a backup with a differential.
Step 2 Remove the extensions.
If you are using one tenant mode, then you must uninstall all extensions. If you're using a multitenant model, then you should remove all V extensions.
Step 3 Compose objects
To be sure you won't encounter errors in the process of upgrading, ensure that all the objects have been locked and compiled. Also, make sure that all tables are synced.
Step 4 Upload Business Central partner license
Upload the Dynamics 365 Business Central license granted by Microsoft to the SQL server. For the ability to save and upload your license, you must to have the appropriate permissions on the SQL server.
Step 5 Stop the previous instance
Remove the previous Dynamics NAV instance on the server.
Step 6 Clear the server instance, breakpoint and
When you complete this process, you will need clear the dbo.Server Instance as well as the dbo.Debugger Breakpoint tables from the database that was previously used. You can make use of SQL Server Management Studio SQL Server Management Studio to accomplish this step.
Step 7 Connect all wires and connections.
The final step in the process for the technical upgrade will be the closing of all connection to the database.
How to perform the upgrade
Step 1 Install Business Central
Utilize the Business Central Setup to install the new system. After that, you will be able install the various elements of the new system, such as production, demonstration and development environments.
After you have completed the above step After that, you can open after that, open the NAV development environment by logging in as an administrator.
Step 2 Connect to the application database
In order to connect to the Azure SQL database, you will have to use the name format SQLDatabaseServerName.database.windows.net.
3. Connect the development environment to the server instance
Within the Database Information window, go to the Server Instance field and click on the drop-down arrow. From the options available you can open the available server instances and choose the server instance that you wish to connect to your development environment.
Step 4 Import codeunit 1 replacement for
To transfer the codeunit 1 replacement, you will need to copy the code supplied by Microsoft and save it to an editor for text. Click here to download the code.
Step 5: Compile all the objects
To compile all objects, visit Object Designer then select Tools, then Compile. Be aware that you must decide to sync the schema at a later date.
Step 6 Fix compilation errors
After you have converted the Microsoft Dynamics NAV 2018 database to the Business Central database, there could be a variety of compiling errors that are present in the regular NAV objects.
Step 7: Repair the V2 published extensions
To fix the V2 extensions, make use of the Repair-NAVApp cmdlet. If you're in the multi-tenant mode it is possible to install the tenant database after you have completed the previous step.
Step 8 Synchronize
In this step, you'll sync the tenant database with the database of your application.
What happens following the upgrade to technical aspects of NAV to Business Central?
Although you've completed the majority of the tasks required to upgrade your computer at this point but there are few steps to complete the process.
Step 1 Upgrade Javascript-based control plug-ins
New versions are available for Javascript-based control add-ins. Find out which add-ins you are using on the Business Central Server and upgrade them.
Step 2 Install extensions V2
If you are in the single tenant only mode you are able to install the V2 extension. To ensure that the extensions work in the way they should, you can use the Install-NAVApp command.
Step 3 Transition custom code
In this stage you'll be required to migrate the codeunit that you created from previous codeunit 1 to the management codeunits.
Step 4 Configure the pages and reports.
After the upgrade to the technical after the upgrade, reports and pages you can search for using the Web client will no longer be searchable. To allow them to be searched again, you'll have to set the object properties, and then create an index of objects.
Step 5 Upload the customer's license
The final step of the NAV to Business Central technical upgrade process is to upload the customer's license.
During the process, our team will make sure to successfully implement Business Central so that you can focus more on business growth rather than streamlining business operations. In case of need, feel free to write us an email at info@dynamicssquare.co.uk or call us directly at +44 207 193 2502 for instant help.
This post - https://www.dynamicssquare.co.uk/dynamics-nav-to-business-central/
https://www.dynamicssquare.co.uk/blog/how-to-upgrade-microsoft-dynamics-nav-to-business-central/
https://www.dynamicssquare.co.uk/blog/nav-to-business-central-data-migration/
appeared first on Dynamics Square UK.