Part 4 Microsoft Dynamics Development Preview
Microsoft released during last Christmas an Azure Virtual Machine where you can play around with the new Development Environment.
It is the fourth blog about the development environment. As this one does not rely on previous created code, you can start with this one. When the new NAV development tools are completely new, then please start with the first blog.
This blog will describe how you can upgrade your existing objects to be used in the new development environment. To upgrade your code, the June update is required. Additional information about this update can be found on the NAV Team Blog.
There are multiple ways how you can work with the new development environment:
1. Via Azure
If you have already installed a previous preview version, please remove complete Azure resource group, and create a new VM.
The deployment will start and it will take some time to finish. In the end, you will see the VM with additional stuff.
Eric Wauters aka Waldo created a blog post how you can install the new development on your local machine.
So it is up to you how you continue.
In the NAV team blog post of June there is some information on how you can upgrade your code.
To get things going I need some files from a current development system. I choose to use a small piece of our internal system and opted for our Quattro subscription system as it has almost no impact on standard NAV.
The following objects need to be upgraded
As this is only a part of our internal system, I copied these files to standard NAV database and compile them, of course there is some interaction with standard NAV.
On MSDN you can find an item on how to upgrade your code via the TXT2ALtool.
The first step is to export the NAV objects in a clean format. The only way this can be done is via the command line, the command I used:
Database=”Demo Database NAV (10-0)”, ServerName=<servername>\NAVDEMO,
That gave me the objects in a well-known but clean format.
Even the extension (version 1) codeunit is converted 🙂
Next step is to create .DELTA files, as these are all new objects, no files should be located in the ORIGINAL directory. The above created file should be copied to the MODIFIED directory.
When the PowerShell command Compare-NAVApplicationObject is executed the DELTA files are created.
Now it is time to transform the objects to AL objects. Copy the created obect to the directory c:\project\al_original.
This conversion can be done with the TXT2AL tool, execute the following command via the command line.
TXT2AL –source=c:\project\al_original –target=c:\project\al_ready –extensionstartid=71000000.
The files in the al_ready directory should look like this. Ready to be used in the new development environment.
And what about the standard NAV objects that didn’t compile? Well, maybe it is time for redesign? If you don’t do it now, you will never do it.
What people say about QBS Group
- Ferry Schrijnewerkers
Owner en Co-founder at MKB365
Since the start of our company 4 months ago, we have already completed 12 Dynamics 365 for Sales implementations.
- Joaquim Antón Gimeno
"Our relationship with QBS group allows us to improve our marketing strategy."
"Our alliance with QBS group has been very important in the development of our business strategy."
- VS Sistemas
"QBS group helps us build our road to success."
- Berith Skov - C2IT Business Solutions
“We are very satisfied with the services provided by and through QBS group."
- Herke ICT Group- Karing Buzing
We are once again part of a NAV community.
- Owe Loonstra - Verito
Manager Sales & Marketing
The fact that we belong to a larger organisation gives our customers security.
- Adfocom - Jeroen Kersten
Partner Care saved us a lot of time.
- NavAzure - Michael Francois Knudsen
“It is important to me, that I through QBS become part of a greater network, where partners can share experience"
- Blisss - Dirko Wijers
Without the help from QBS group we wouldn’t have succeeded.