Dynamics 365 Business Central: How to get current platform version number via AL (Using codeunit 9015 “Application System Constants”)

I was asked a question recently, is there any easy way to get the current BC platform version number via AL?

This is an interesting question, we have previously discussed using ModuleInfo Data Type and NavApp.GetCurrentModuleInfo Method to get information about the extension that is currently running. But not BC itself.

Source : Dynamics 365 Lab
Read more…

How Do I: Set the runtime version of the extension package?

Recently, on some of my ‘machines’ I get the following errors, when trying to publish an extension (F5):

The runtime version of the extension package is currently set to ‘2.0’.
The runtime version must be set to ‘1.0’ or earlier in the app.json file
in order to install the extension package on this platform.

Bron : Think about IT
Lees meer…

Get next object version number

Every developer has sometimes the issue: What is my next version number for the new object ? If there is a couple of developers working in the some database, you’ll need a kind of a version control. I’ve developed a page, which calculates the next version number for a defined version prefix.

Bron : Archer’s NAV Blog
Lees meer…

Creating a .NET Assembly, the importance of versioning

Everyone who has ever created a .NET DLL for his NAV project will probably have run into different kind of issues concerning versioning.
◾Either unable to overwrite without stopping the Server Instance
◾Not having the right assembly loaded
◾Having to replace your assembly in code and losing your events

Bron : Magno’s Blog
Lees meer…

What Version of Microsoft Dynamics NAV Should I Use for This Database?

Suppose you are walking down the street, a stranger quietly trades briefcases with you, and your new briefcase contains a Microsoft Dynamics NAV database inside of a SQL backup. The stranger slips off into the foggy night. This sort of thing happens to me all of the time, and then I am left with this database that I know nothing about. What version of NAV do I use to access it?

Bron : ArcherPoint
Lees meer…