Codeunit 104053 Upgrade Word Report Rendering
Source AL, 35 lines
src/Layers/W1/BaseApp/OtherCapabilities/Upgrade/UpgradeWordReportRendering.Codeunit.allines 10 to 25 of 35, Copyright (c) Microsoft Corporation. MIT
codeunit 104053 "Upgrade Word Report Rendering"{ Subtype = Upgrade; trigger OnUpgradePerDatabase() var FeatureKey: Record "Feature Key"; FeatureManagementFacade: Codeunit "Feature Management Facade"; UpgradeTag: Codeunit "Upgrade Tag"; UpgradeTagDefinations: Codeunit "Upgrade Tag Definitions"; PlatformRenderingInPlatformTxt: Label 'RenderWordReportsInPlatform', Locked = true; begin if not UpgradeTag.HasUpgradeTag(UpgradeTagDefinations.GetRenderWordReportsInPlatformFeatureKeyUpgradeTag()) then begin if FeatureKey.Get(PlatformRenderingInPlatformTxt) then if FeatureKey.Enabled = FeatureKey.Enabled::None then begin FeatureKey.Enabled := FeatureKey.Enabled::"All Users";