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…

Publish & Run Current Object from VSCode – with a single command

I’m not writing a blog about every single (new) command in my “CRS AL Language Extension”. But this Sunday, I added an interesting one. One that I should have had created for a long time – but simply didn’t think of it, until Daniel (TheDenster.com) explicitly asked for it on GitHub.

Just imagine, you’re building an app, with many pages, and you want to build a page, test it, build the next one, test it .. . You kind have to:
– Publish the app
– Run the object after the app was published

Source : Waldo’s Blog
Read more…