Codeunit 104040 Upgrade Profiles V2
Source AL, 412 lines
src/Layers/W1/BaseApp/OtherCapabilities/Upgrade/UpgradeProfilesV2.Codeunit.allines 13 to 28 of 412, Copyright (c) Microsoft Corporation. MIT
codeunit 104040 "Upgrade Profiles V2"{ // This codeunit runs upgrade from 14.x to 15.0 to make sure we upgrade profiles from the System scope to the Tenant scope. Subtype = Upgrade; // Upgrade triggers trigger OnUpgradePerCompany() var TenantProfile: Record "Tenant Profile"; AppProfile: Record "Profile"; UpgradeTag: Codeunit "Upgrade Tag"; UpgradeTagDef: Codeunit "Upgrade Tag Definitions"; HybridDeployment: Codeunit "Hybrid Deployment"; begin