Codeunit 1817 Advanced Settings Impl. in 25
- App
- System Application
- Namespace
- System.Environment.Configuration
Versions171819202122232425262728latest
Source in 25
src/System Application/App/Advanced Settings/src/AdvancedSettingsImpl.Codeunit.al26 lines, Copyright (c) Microsoft Corporation. MIT
// ------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// ------------------------------------------------------------------------------------------------
namespace System.Environment.Configuration;
codeunit 1817 "Advanced Settings Impl."
{
Access = Internal;
InherentEntitlements = X;
InherentPermissions = X;
[EventSubscriber(ObjectType::Codeunit, Codeunit::"Navigation Bar Subscribers", OnBeforeDefaultOpenGeneralSetupExperience, '', false, false)]
local procedure OpenGeneralSetupExperience(var Handled: Boolean)
var
AdvancedSettings: Codeunit "Advanced Settings";
GeneralSetupID: Integer;
begin
GeneralSetupID := Page::"Advanced Settings";
AdvancedSettings.OnBeforeOpenGeneralSetupExperience(GeneralSetupID, Handled);
if not Handled then
Page.Run(GeneralSetupID);
Handled := true;
end;
}