Codeunit 9993 Upgrade Tag Install in 24

App
System Application
Namespace
System.Upgrade

Versions171819202122232425262728latest

Source242526272829

Source in 24

src/System Application/App/Upgrade Tags/src/UpgradeTagInstall.Codeunit.al30 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.Upgrade;

#pragma warning disable AA0235
codeunit 9993 "Upgrade Tag Install"
#pragma warning restore AA0235
{
    Access = Internal;
    InherentEntitlements = X;
    InherentPermissions = X;
    Subtype = Install;

    trigger OnInstallAppPerCompany()
    var
        UpgradeTagTags: Codeunit "Upgrade Tag - Tags";
    begin
        UpgradeTagTags.SetInitializedTagIfNotRegistered();
    end;

    trigger OnInstallAppPerDatabase()
    var
        UpgradeTagTags: Codeunit "Upgrade Tag - Tags";
    begin
        UpgradeTagTags.SetInitializedTagIfNotRegistered();
    end;
}