D365 Business Central : StringConversionManagement Codeunit

There are lots of Management Codeunit in D365 Business Central. Let us talk about one of them which is StringConversionManagement Codeunit. There are currently four procedures in this Codeunit that you can call:
– WindowsToASCII
– GetPaddedString
– RemoveDecimalFromString
– RemoveNonAlphaNumericCharacters

Source : That NAV Guy
Read more…

Working with SOAP API and XML in AL. Generic API codeunit.

The purpose of this post is to learn the basics of working with XML and SOAP in AL. Besides, we’ll look at my suggestion of the generic API method SendRequest(), which fits most APIs without authorization. The authorization itself is not difficult to add to the general logic, but in the post, they are not considered due to their large number and often unique logic

Source : Volodymyr Dvernytskyi
Read more…

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…