Codeunit 104030 Upgrade Plan Permissions
src/Layers/W1/BaseApp/OtherCapabilities/Upgrade/UpgradePlanPermissions.Codeunit.al42 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT
OnUpgradePerDatabase line 51, trigger
- 53callsRunUpgrade
RunUpgrade line 56, internal
- 60callsCodeunit 6060 Hybrid Deployment VerifyCanStartUpgrade
- 63callsSetBackupRestorePermissions
- 64callsSetExcelExportActionPermissions
- 65callsSetAutomateActionPermissions
- 66callsSetAutomateAccessControl
- 67callsRemoveExtensionManagementFromPlan
- 68callsRemoveExtensionManagementFromUsers
- 69callsSetMonitorSensitiveFieldPermissions
- 70callsAddFeatureDataUpdatePermissions
- 71callsCreateMicrosoft365Permissions
- 72callsCreateD365EssentialAttachPermissions
- 73callsCreateBCAdminPermissions
AddFeatureDataUpdatePermissions line 76, local
- 82callsCodeunit 9999 Upgrade Tag HasUpgradeTag
- 82callsCodeunit 9998 Upgrade Tag Definitions GetAddFeatureDataUpdatePermissionsUpgradeTag
- 85callsInsertPermission
- 86callsInsertPermission
- 87callsInsertPermission
- 88callsInsertPermission
- 89callsInsertPermission
- 90callsInsertPermission
- 91callsInsertPermission
- 92callsInsertPermission
- 93callsInsertPermission
- 94callsInsertPermission
- 96callsCodeunit 9999 Upgrade Tag SetUpgradeTag
- 96callsCodeunit 9998 Upgrade Tag Definitions GetAddFeatureDataUpdatePermissionsUpgradeTag
RemoveExtensionManagementFromPlan line 99, local
- 105callsCodeunit 9999 Upgrade Tag HasUpgradeTag
- 105callsCodeunit 9998 Upgrade Tag Definitions GetRemoveExtensionManagementFromPlanUpgradeTag
- 109writesTable 9007 User Group Plan DeleteAll
- 111callsCodeunit 9999 Upgrade Tag SetUpgradeTag
- 111callsCodeunit 9998 Upgrade Tag Definitions GetRemoveExtensionManagementFromPlanUpgradeTag
RemoveExtensionManagementFromUsers line 114, local
- 120callsCodeunit 9999 Upgrade Tag HasUpgradeTag
- 120callsCodeunit 9998 Upgrade Tag Definitions GetRemoveExtensionManagementFromUsersUpgradeTag
- 124writesTable 2000000053 Access Control DeleteAll
- 126callsCodeunit 9999 Upgrade Tag SetUpgradeTag
- 126callsCodeunit 9998 Upgrade Tag Definitions GetRemoveExtensionManagementFromUsersUpgradeTag
SetBackupRestorePermissions line 129, local
- 134callsCodeunit 9999 Upgrade Tag HasUpgradeTag
- 134callsCodeunit 9998 Upgrade Tag Definitions GetAddBackupRestorePermissionSetUpgradeTag
- 137callsRunUserGroupUpgrade
- 138callsAddBackupRestorePermissionSet
- 139callsAddBackupRestoreUserGroup
- 140callsAddBackupRestorePermissionSetToGroup
- 141callsAddBackupRestoreUserGroupToDelegatedAdminPlan
- 142callsAddBackupRestoreUserGroupToNavInternalAdmin
- 145callsCodeunit 9999 Upgrade Tag SetUpgradeTag
- 145callsCodeunit 9998 Upgrade Tag Definitions GetAddBackupRestorePermissionSetUpgradeTag
AddBackupRestorePermissionSet line 148, local
AddBackupRestoreUserGroup line 161, local
- 165callsInsertUserGroup
AddBackupRestorePermissionSetToGroup line 169, local
AddBackupRestoreUserGroupToDelegatedAdminPlan line 177, local
- 182callsAddUserGroupToPlan
- 183callsCodeunit 9027 Plan Ids GetDelegatedAdminPlanId
TryInsertPermissionSet line 195, local
- 202callsCodeunit 6723 Server Setting GetUsePermissionSetsFromExtensions
- 208callsCodeunit 457 Environment Information IsSaaS
- 217writesTable 2000000004 Permission Set Insert
InsertPermission line 221, local
- 233callsCodeunit 457 Environment Information IsSaaS
- 236callsCodeunit 6723 Server Setting GetUsePermissionSetsFromExtensions
- 247writesTable 2000000005 Permission Insert
InsertUserGroup line 250, local
- 260writesTable 9000 User Group Insert
AddPermissionSetToUserGroup line 263, local
- 278writesTable 9003 User Group Permission Set Insert
- 281callsAddUserGroupPermissionSet
AddPermissionSetToPlan line 284, local
- 291callsCodeunit 9825 Plan Configuration AddDefaultPermissionSetToPlan
AddUserGroupToPlan line 294, local
- 303writesTable 9007 User Group Plan Insert
AddUserGroupToUsers line 306, local
AddUserToUserGroupForCompany line 322, local
- 332writesTable 9001 User Group Member Insert(true)
- 335callsAddUserGroupMember
SetExcelExportActionPermissions line 338, local
- 343callsCodeunit 9999 Upgrade Tag HasUpgradeTag
- 343callsCodeunit 9998 Upgrade Tag Definitions GetExcelExportActionPermissionSetUpgradeTag
- 346callsRunUserGroupUpgrade
- 347callsAddExcelExportActionPermissionSet
- 348callsAddExcelExportActionUserGroup
- 349callsAddExcelExportActionPermissionSetToGroup
- 350callsAddExcelExportActionUserGroupToExistingPlans
- 353callsCodeunit 9999 Upgrade Tag SetUpgradeTag
- 353callsCodeunit 9998 Upgrade Tag Definitions GetExcelExportActionPermissionSetUpgradeTag
AddExcelExportActionPermissionSet line 356, local
AddExcelExportActionUserGroup line 364, local
- 366callsInsertUserGroup
AddExcelExportActionPermissionSetToGroup line 369, local
AddExcelExportActionUserGroupToExistingPlans line 374, local
- 378callsAddUserGroupToPlan
- 378callsCodeunit 9027 Plan Ids GetBasicPlanId
- 379callsAddUserGroupToPlan
- 379callsCodeunit 9027 Plan Ids GetTeamMemberPlanId
- 380callsAddUserGroupToPlan
- 380callsCodeunit 9027 Plan Ids GetEssentialPlanId
- 381callsAddUserGroupToPlan
- 381callsCodeunit 9027 Plan Ids GetPremiumPlanId
- 382callsAddUserGroupToPlan
- 382callsCodeunit 9027 Plan Ids GetViralSignupPlanId
- 383callsAddUserGroupToPlan
- 383callsCodeunit 9027 Plan Ids GetExternalAccountantPlanId
- 384callsAddUserGroupToPlan
- 384callsCodeunit 9027 Plan Ids GetDelegatedAdminPlanId
- 385callsAddUserGroupToPlan
- 385callsCodeunit 9027 Plan Ids GetGlobalAdminPlanId
- 386callsAddUserGroupToPlan
- 386callsCodeunit 9027 Plan Ids GetTeamMemberISVPlanId
- 387callsAddUserGroupToPlan
- 387callsCodeunit 9027 Plan Ids GetEssentialISVPlanId
- 388callsAddUserGroupToPlan
- 388callsCodeunit 9027 Plan Ids GetPremiumISVPlanId
- 389callsAddUserGroupToPlan
- 389callsCodeunit 9027 Plan Ids GetDeviceISVPlanId
- 390callsAddUserGroupToPlan
- 390callsCodeunit 9027 Plan Ids GetDevicePlanId
- 391callsAddUserGroupToPlan
- 391callsCodeunit 9027 Plan Ids GetBasicFinancialsISVPlanId
- 392callsAddUserGroupToPlan
- 392callsCodeunit 9027 Plan Ids GetAccountantHubPlanId
- 393callsAddUserGroupToPlan
- 393callsCodeunit 9027 Plan Ids GetHelpDeskPlanId
- 394callsAddUserGroupToPlan
- 394callsCodeunit 9027 Plan Ids GetInfrastructurePlanId
SetAutomateActionPermissions line 397, local
- 405callsCodeunit 9999 Upgrade Tag HasUpgradeTag
- 405callsCodeunit 9998 Upgrade Tag Definitions GetAutomateActionPermissionSetUpgradeTag
- 408callsCodeunit 104061 Upgrade User Groups IsUserGroupObsoleteStateRemoved
- 409callsCodeunit 457 Environment Information IsSaaS
- 410callsAddAutomateActionUserGroup
- 411callsAddAutomateActionPermissionSetToGroup
- 412callsAddAutomateActionUserGroupToExistingPlans
- 413callsAddUserGroupToUsers
- 416callsCodeunit 9999 Upgrade Tag SetUpgradeTag
- 416callsCodeunit 9998 Upgrade Tag Definitions GetAutomateActionPermissionSetUpgradeTag
SetAutomateAccessControl line 419, local
- 427callsCodeunit 9999 Upgrade Tag HasUpgradeTag
- 427callsCodeunit 9998 Upgrade Tag Definitions GetAutomateActionAccessControlUpgradeTag
- 430callsCodeunit 457 Environment Information IsSaaS
- 441writesTable 9001 User Group Member Delete
- 442callsAddUserToUserGroupForCompany
- 447callsCodeunit 9999 Upgrade Tag SetUpgradeTag
- 447callsCodeunit 9998 Upgrade Tag Definitions GetAutomateActionAccessControlUpgradeTag
AddAutomateActionUserGroup line 450, local
- 452callsInsertUserGroup
AddAutomateActionPermissionSetToGroup line 455, local
AddAutomateActionUserGroupToExistingPlans line 460, local
- 464callsAddUserGroupToPlan
- 464callsCodeunit 9027 Plan Ids GetBasicPlanId
- 465callsAddUserGroupToPlan
- 465callsCodeunit 9027 Plan Ids GetTeamMemberPlanId
- 466callsAddUserGroupToPlan
- 466callsCodeunit 9027 Plan Ids GetEssentialPlanId
- 467callsAddUserGroupToPlan
- 467callsCodeunit 9027 Plan Ids GetPremiumPlanId
- 468callsAddUserGroupToPlan
- 468callsCodeunit 9027 Plan Ids GetViralSignupPlanId
- 469callsAddUserGroupToPlan
- 469callsCodeunit 9027 Plan Ids GetExternalAccountantPlanId
- 470callsAddUserGroupToPlan
- 470callsCodeunit 9027 Plan Ids GetDelegatedAdminPlanId
- 471callsAddUserGroupToPlan
- 471callsCodeunit 9027 Plan Ids GetGlobalAdminPlanId
- 472callsAddUserGroupToPlan
- 472callsCodeunit 9027 Plan Ids GetTeamMemberISVPlanId
- 473callsAddUserGroupToPlan
- 473callsCodeunit 9027 Plan Ids GetEssentialISVPlanId
- 474callsAddUserGroupToPlan
- 474callsCodeunit 9027 Plan Ids GetPremiumISVPlanId
- 475callsAddUserGroupToPlan
- 475callsCodeunit 9027 Plan Ids GetDeviceISVPlanId
- 476callsAddUserGroupToPlan
- 476callsCodeunit 9027 Plan Ids GetDevicePlanId
- 477callsAddUserGroupToPlan
- 477callsCodeunit 9027 Plan Ids GetBasicFinancialsISVPlanId
- 478callsAddUserGroupToPlan
- 478callsCodeunit 9027 Plan Ids GetAccountantHubPlanId
- 479callsAddUserGroupToPlan
- 479callsCodeunit 9027 Plan Ids GetHelpDeskPlanId
- 480callsAddUserGroupToPlan
- 480callsCodeunit 9027 Plan Ids GetInfrastructurePlanId
- 481callsAddUserGroupToPlan
- 481callsCodeunit 9027 Plan Ids GetPremiumPartnerSandboxPlanId
SetMonitorSensitiveFieldPermissions line 484, local
- 489callsCodeunit 9999 Upgrade Tag HasUpgradeTag
- 489callsCodeunit 9998 Upgrade Tag Definitions GetMonitorSensitiveFieldPermissionUpgradeTag
- 492callsAddD365MonitorFieldsToSecurityGroup
- 494callsCodeunit 9999 Upgrade Tag SetUpgradeTag
- 494callsCodeunit 9998 Upgrade Tag Definitions GetMonitorSensitiveFieldPermissionUpgradeTag
AddD365MonitorFieldsToSecurityGroup line 497, local
CreateMicrosoft365Permissions line 505, local
- 512callsCodeunit 9999 Upgrade Tag HasUpgradeTag
- 512callsCodeunit 9998 Upgrade Tag Definitions GetTeamsUsersUserGroupUpgradeTag
- 515callsRunUserGroupUpgrade
- 517callsInsertUserGroup
- 518callsUpdateUserGroupProfile
- 519callsAddUserGroupToPlan
- 519callsCodeunit 9027 Plan Ids GetMicrosoft365PlanId
- 522callsAddPermissionSetToUserGroup
- 526callsCodeunit 9999 Upgrade Tag SetUpgradeTag
- 526callsCodeunit 9998 Upgrade Tag Definitions GetTeamsUsersUserGroupUpgradeTag
CreateD365EssentialAttachPermissions line 529, local
- 535callsCodeunit 9999 Upgrade Tag HasUpgradeTag
- 535callsCodeunit 9998 Upgrade Tag Definitions GetEssentialAttachUserGroupUpgradeTag
- 538callsRunUserGroupUpgrade
- 539callsAddPermissionSetToPlan
- 539callsCodeunit 9027 Plan Ids GetEssentialAttachPlanId
- 540callsAddPermissionSetToPlan
- 540callsCodeunit 9027 Plan Ids GetEssentialAttachPlanId
- 541callsAddPermissionSetToPlan
- 541callsCodeunit 9027 Plan Ids GetEssentialAttachPlanId
- 542callsAddPermissionSetToPlan
- 542callsCodeunit 9027 Plan Ids GetEssentialAttachPlanId
- 543callsAddPermissionSetToPlan
- 543callsCodeunit 9027 Plan Ids GetEssentialAttachPlanId
- 545callsAddUserGroupToPlan
- 545callsCodeunit 9027 Plan Ids GetEssentialAttachPlanId
- 546callsAddUserGroupToPlan
- 546callsCodeunit 9027 Plan Ids GetEssentialAttachPlanId
- 547callsAddUserGroupToPlan
- 547callsCodeunit 9027 Plan Ids GetEssentialAttachPlanId
- 550callsCodeunit 9999 Upgrade Tag SetUpgradeTag
- 550callsCodeunit 9998 Upgrade Tag Definitions GetEssentialAttachUserGroupUpgradeTag
CreateBCAdminPermissions line 553, local
- 559callsCodeunit 9999 Upgrade Tag HasUpgradeTag
- 559callsCodeunit 9998 Upgrade Tag Definitions GetBCUserGroupUpgradeTag
- 562callsAddPermissionSetToPlan
- 562callsCodeunit 9027 Plan Ids GetDelegatedBCAdminPlanId
- 563callsAddPermissionSetToPlan
- 563callsCodeunit 9027 Plan Ids GetDelegatedBCAdminPlanId
- 564callsAddPermissionSetToPlan
- 564callsCodeunit 9027 Plan Ids GetDelegatedBCAdminPlanId
- 565callsAddPermissionSetToPlan
- 565callsCodeunit 9027 Plan Ids GetDelegatedBCAdminPlanId
- 566callsAddPermissionSetToPlan
- 566callsCodeunit 9027 Plan Ids GetDelegatedBCAdminPlanId
- 567callsAddPermissionSetToPlan
- 567callsCodeunit 9027 Plan Ids GetDelegatedBCAdminPlanId
- 568callsAddPermissionSetToPlan
- 568callsCodeunit 9027 Plan Ids GetDelegatedBCAdminPlanId
- 569callsAddPermissionSetToPlan
- 569callsCodeunit 9027 Plan Ids GetDelegatedBCAdminPlanId
- 571callsAddPermissionSetToPlan
- 571callsCodeunit 9027 Plan Ids GetBCAdminPlanId
- 572callsAddPermissionSetToPlan
- 572callsCodeunit 9027 Plan Ids GetBCAdminPlanId
- 573callsAddPermissionSetToPlan
- 573callsCodeunit 9027 Plan Ids GetBCAdminPlanId
- 574callsAddPermissionSetToPlan
- 574callsCodeunit 9027 Plan Ids GetBCAdminPlanId
- 575callsAddPermissionSetToPlan
- 575callsCodeunit 9027 Plan Ids GetBCAdminPlanId
- 576callsAddPermissionSetToPlan
- 576callsCodeunit 9027 Plan Ids GetBCAdminPlanId
- 577callsAddPermissionSetToPlan
- 577callsCodeunit 9027 Plan Ids GetBCAdminPlanId
- 578callsAddPermissionSetToPlan
- 578callsCodeunit 9027 Plan Ids GetBCAdminPlanId
- 580callsCodeunit 9999 Upgrade Tag SetUpgradeTag
- 580callsCodeunit 9998 Upgrade Tag Definitions GetBCUserGroupUpgradeTag
UpdateUserGroupProfile line 583, local
- 601writesTable 9000 User Group Modify
ReplaceUserGroupPermissionSets line 604, internal
- 619writesTable 9002 User Group Access Control DeleteAll
- 625callsRemoveUserGroupPermissionSet
- 628writesTable 9003 User Group Permission Set DeleteAll
- 634writesTable 9003 User Group Permission Set Insert
- 637callsAddUserGroupPermissionSet
AddUserGroupMember line 640, internal
AddUserGroupPermissionSet line 653, local
RemoveUserGroupPermissionSet line 665, local
RunUserGroupUpgrade line 677, local
- 685callsCodeunit 104061 Upgrade User Groups IsUserGroupObsoleteStateRemoved
AddPermissionSetToUser line 691, local
- 705callsCodeunit 6723 Server Setting GetUsePermissionSetsFromExtensions
- 743writesTable 9002 User Group Access Control Insert
- 746writesTable 9002 User Group Access Control Insert
- 754writesTable 2000000053 Access Control Insert
RemovePermissionSetFromUser line 759, local
- 770writesTable 9002 User Group Access Control Delete
- 781writesTable 2000000053 Access Control Delete(true)
- 783writesTable 9002 User Group Access Control Delete