Codeunit 2612 Update Feature Data in 25

App
System Application
Namespace
System.Environment.Configuration

Versions171819202122232425262728latest

Source242526272829

Source in 25

src/System Application/App/Feature Key/src/UpdateFeatureData.Codeunit.al23 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;

/// <summary>
/// Codeunit that is executed by the task scheduler during the feature data update.
/// </summary>
codeunit 2612 "Update Feature Data"
{
    TableNo = "Feature Data Update Status";
    InherentEntitlements = X;
    InherentPermissions = X;

    trigger OnRun()
    var
        FeatureManagementFacade: Codeunit "Feature Management Facade";
    begin
        FeatureManagementFacade.UpdateData(Rec);
    end;
}