{"title":"Codeunit 9825 Plan Configuration, events","url":"https://jonas-paprotka.de/ref/codeunit/9825-plan-configuration/events/","author":"JOP-AL","license":"Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-05","object":{"type":"codeunit","id":9825,"name":"Plan Configuration","app":"System Application","versions":"20-29","url":"https://jonas-paprotka.de/ref/codeunit/9825-plan-configuration/","json":"https://jonas-paprotka.de/ref/codeunit/9825-plan-configuration.json"},"aspect":"events","total":5,"rows":[{"name":"OnCustomPermissionSetChange","sig":"(Guid, Code[20], Guid, Option, Text[30])","named":"(PlanId: Guid; RoleId: Code[20]; AppId: Guid; Scope: Option; Company: Text[30])","returns":"","kind":"integrationevent","access":"internal","obsolete":{"state":"Pending","reason":"Not needed when the user groups are removed.","tag":"22.0"},"range":"20-25","first":20,"last":25,"obsoleteSince":22,"spans":[{"from":20,"to":21,"named":"(PlanId: Guid; RoleId: Code[20]; AppId: Guid; Scope: Option; Company: Text[30])","returns":"","kind":"integrationevent","access":"internal","obsolete":null},{"from":22,"to":25,"named":"(PlanId: Guid; RoleId: Code[20]; AppId: Guid; Scope: Option; Company: Text[30])","returns":"","kind":"integrationevent","access":"internal","obsolete":{"state":"Pending","reason":"Not needed when the user groups are removed.","tag":"22.0"}}]},{"name":"OnAfterTransferPermissions","sig":"(Guid)","named":"(PlanId: Guid)","returns":"","kind":"integrationevent","access":"internal","obsolete":{"state":"Pending","reason":"Not needed when the user groups are removed.","tag":"22.0"},"range":"20-25","first":20,"last":25,"obsoleteSince":22,"spans":[{"from":20,"to":21,"named":"(PlanId: Guid)","returns":"","kind":"integrationevent","access":"internal","obsolete":null},{"from":22,"to":25,"named":"(PlanId: Guid)","returns":"","kind":"integrationevent","access":"internal","obsolete":{"state":"Pending","reason":"Not needed when the user groups are removed.","tag":"22.0"}}]},{"name":"OnAfterDeleteCustomPermissions","sig":"(Guid)","named":"(PlanId: Guid)","returns":"","kind":"integrationevent","access":"internal","obsolete":{"state":"Pending","reason":"Not needed when the user groups are removed.","tag":"22.0"},"range":"20-25","first":20,"last":25,"obsoleteSince":22,"spans":[{"from":20,"to":21,"named":"(PlanId: Guid)","returns":"","kind":"integrationevent","access":"internal","obsolete":null},{"from":22,"to":25,"named":"(PlanId: Guid)","returns":"","kind":"integrationevent","access":"internal","obsolete":{"state":"Pending","reason":"Not needed when the user groups are removed.","tag":"22.0"}}]},{"name":"OnBeforeRemoveDefaultPermissionsFromUser","sig":"(Record Access Control, var Boolean)","named":"(AccessControl: Record \"Access Control\"; var IsAssignedViaUserGroups: Boolean)","returns":"","kind":"integrationevent","access":"internal","obsolete":{"state":"Pending","reason":"Not needed when the user groups are removed.","tag":"22.0"},"range":"22-25","first":22,"last":25,"obsoleteSince":22,"spans":[{"from":22,"to":25,"named":"(AccessControl: Record \"Access Control\"; var IsAssignedViaUserGroups: Boolean)","returns":"","kind":"integrationevent","access":"internal","obsolete":{"state":"Pending","reason":"Not needed when the user groups are removed.","tag":"22.0"}}]},{"name":"OnBeforeRemoveCustomPermissionsFromUser","sig":"(Record Access Control, var Boolean)","named":"(AccessControl: Record \"Access Control\"; var IsAssignedViaUserGroups: Boolean)","returns":"","kind":"integrationevent","access":"internal","obsolete":{"state":"Pending","reason":"Not needed when the user groups are removed.","tag":"22.0"},"range":"22-25","first":22,"last":25,"obsoleteSince":22,"spans":[{"from":22,"to":25,"named":"(AccessControl: Record \"Access Control\"; var IsAssignedViaUserGroups: Boolean)","returns":"","kind":"integrationevent","access":"internal","obsolete":{"state":"Pending","reason":"Not needed when the user groups are removed.","tag":"22.0"}}]}]}