Dynamics 365 Business Central: How to check BaseApp version via AL (Include First-party localization)

Dynamics 365 Business Central

Hi, Readers.
In Dynamics 365 Business Central: Countries/regions where Microsoft provides the regulatory compliance and other local functionality (First-party localization), I briefly summarized that there are currently 22 countries/regions where Microsoft provides the regulatory compliance and other local functionality. (2024.05.23)

Country/RegionBaseAppMore information
AustriaATAustria Local Functionality
BelgiumBEBelgium Local Functionality
CzechiaCZCzech Local Functionality
DenmarkDKDenmark Local Functionality
GermanyDEGermany Local Functionality
FinlandFIFinland Local Functionality
FranceFRFrance Local Functionality
IcelandISIceland Local Functionality
ItalyITItaly Local Functionality
NetherlandsNLNetherlands Local Functionality
NorwayNONorway Local Functionality
SpainESSpain Local Functionality
SwedenSESweden Local Functionality
SwitzerlandCHSwitzerland Local Functionality
United KingdomGBUnited Kingdom Local Functionality
Russia (on-premises only)RURussia local functionality
CanadaCACanada Local Functionality
MexicoMXMexico Local Functionality
United StatesUSUnited States Local Functionality
AustraliaAUAustralia Local Functionality
IndiaINIndia Local Functionality
New ZealandNZNew Zealand Local Functionality
Other countries/regionsW1No Local Functionality

PS: The BC version used in other countries/regions is the W1 version. The localization and language packs are localized by local partners. This can be selected when creating a new environment. (Cannot be changed after created)

In this post I would like to share another mini tip about this, how to check BaseApp version via AL. If you can get the BaseApp version, you can control your code to run in certain specific versions, such as only running in the W1 version.

This is very simple, we can use the following standard method.
codeunit 457 “Environment Information” -> procedure GetApplicationFamily()

For example,

In JP Region: W1

In US Region: US

Very simple. Give it a try!!!😁

PS:
1. Dynamics 365 Business Central: How to get the Azure Active Directory tenant domain name and ID via AL (codeunit 433 “Azure AD Tenant”)

2. Dynamics 365 Business Central mini tips: How to get Tenant GUID in AL (Not Tenant ID)

3. How to access Dynamics 365 Business Central admin center from the URL without Tenant ID

END

Hope this will help.

Thanks for reading.

ZHU

コメント

Copied title and URL