Codeunit 8348 Feature Configuration Impl.

System Application, System.Config

Source AL, 30 lines

src/System Application/App/Feature Configuration/src/FeatureConfigurationImpl.Codeunit.allines 10 to 25 of 30, Copyright (c) Microsoft Corporation. MIT

codeunit 8348 "Feature Configuration Impl."{    Access = Internal;    SingleInstance = true;    InherentEntitlements = X;    InherentPermissions = X;    procedure GetConfiguration(ConfigKey: Text; var CallerModuleInfo: ModuleInfo): Text    var        ALCopilotFunctions: DotNet ALCopilotFunctions;        CurrentModuleInfo: ModuleInfo;        OnlyMicrosoftAllowedErr: Label 'Only the publisher %1 can access configurations.', Comment = '%1 is the publisher of the calling module.';    begin        NavApp.GetCurrentModuleInfo(CurrentModuleInfo);        if CurrentModuleInfo.Publisher <> CallerModuleInfo.Publisher then            Error(OnlyMicrosoftAllowedErr, CurrentModuleInfo.Publisher);

All 30 lines

Public procedures 1 in 29

GetConfiguration(ConfigKey: Text; var CallerModuleInfo: ModuleInfo): Textnew in 27