diff --git a/src/System Application/App/Server Settings/src/ServerSetting.Codeunit.al b/src/System Application/App/Server Settings/src/ServerSetting.Codeunit.al index 8b7b60e495..f619670275 100644 --- a/src/System Application/App/Server Settings/src/ServerSetting.Codeunit.al +++ b/src/System Application/App/Server Settings/src/ServerSetting.Codeunit.al @@ -112,5 +112,14 @@ codeunit 6723 "Server Setting" begin exit(ServerSettingImpl.GetEnableMembershipEntitlement()); end; + + /// Returns whether the tenant's hosting Azure geography is within the Microsoft EU Data Boundary. + /// True if the tenant is in the EU Data Boundary; otherwise false. + /// Backed by ServerUserSettings.AzureGeography on the BC platform. This is independent from the Copilot/CAPI-level EUDB check and may legitimately differ from it. + [Scope('OnPrem')] + procedure GetIsTenantInEUDB(): Boolean + begin + exit(ServerSettingImpl.GetIsTenantInEUDB()); + end; } diff --git a/src/System Application/App/Server Settings/src/ServerSettingImpl.Codeunit.al b/src/System Application/App/Server Settings/src/ServerSettingImpl.Codeunit.al index 996651ccd9..b82f37aafc 100644 --- a/src/System Application/App/Server Settings/src/ServerSettingImpl.Codeunit.al +++ b/src/System Application/App/Server Settings/src/ServerSettingImpl.Codeunit.al @@ -98,5 +98,11 @@ codeunit 3703 "Server Setting Impl." InitializeConfigSettings(); exit(ALConfigSettings.IsSaaS()); end; + + procedure GetIsTenantInEUDB(): Boolean + begin + InitializeConfigSettings(); + exit(ALConfigSettings.IsTenantInEUDB()); + end; }