{"title":"Report 9802 Copy Permission Set, extension points 29","url":"https://jonas-paprotka.de/ref/report/9802-copy-permission-set/points/","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":"report","id":9802,"name":"Copy Permission Set","app":"Base Application","url":"https://jonas-paprotka.de/ref/report/9802-copy-permission-set/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/report/9802-copy-permission-set/source/","path":"src/Layers/W1/BaseApp/System/Permissions/CopyPermissionSet.Report.al","commit":"4303e5e584d3aa5d9e98cbc615525a5396ad6ed7","lines":"a line is <source url>#L<line>"},"steps":{"event":"[line, \"event\", name, handled]: raises an event of this object; handled 1 when it has an IsHandled parameter","call":"[line, \"call\", name, arguments]: calls a procedure of this object","ext":"[line, \"ext\", type, id, name, arguments]: calls a procedure of another object, through a variable declared with that type","write":"[line, \"write\", table id, method, 1 when called with true]: Insert, Modify, ModifyAll, Delete, DeleteAll or Rename","validate":"[line, \"validate\", table id, field name]","run":"[line, \"run\", type, id]: Codeunit.Run, Page.Run, Report.Run and their kin"},"objects":{"codeunit:9855":{"name":"Permission Set Relation","url":"https://jonas-paprotka.de/ref/codeunit/9855-permission-set-relation/"},"codeunit:9002":{"name":"Permission Manager","url":"https://jonas-paprotka.de/ref/codeunit/9002-permission-manager/"},"table:9802":{"name":"Permission Set Link","url":"https://jonas-paprotka.de/ref/table/9802-permission-set-link/"},"codeunit:8714":{"name":"Audit Log","url":"https://jonas-paprotka.de/ref/codeunit/8714-audit-log/"},"codeunit:10":{"name":"Type Helper","url":"https://jonas-paprotka.de/ref/codeunit/10-type-helper/"},"codeunit:9001":{"name":"Permission Pages Mgt.","url":"https://jonas-paprotka.de/ref/codeunit/9001-permission-pages-mgt/"}},"procs":[{"name":"SourceAggregatePermissionSet.OnAfterGetRecord","line":18,"kind":"trigger","steps":[[26,"ext","codeunit",9855,"CopyPermissionSet",6],[33,"ext","codeunit",9002,"GenerateHashForPermissionSet",1],[34,"write",9802,"Insert"],[36,"ext","codeunit",8714,"LogAuditMessage",5]]},{"name":"SourceAggregatePermissionSet.OnPreDataItem","line":40,"kind":"trigger","steps":[[42,"call","AssertTargetPermissionSetRoleIDNotEmpty",1],[43,"call","AssertTargetPermissionSetRoleIDNotExisting",1],[44,"call","AssertSourcePermissionSetRoleIDExists",1],[45,"call","AssertSourcePermissionSetRoleIDOnlyOne",1]]},{"name":"OnOpenPage","line":88,"kind":"trigger","steps":[[99,"ext","codeunit",10,"GetOptionNo",2],[101,"ext","codeunit",9001,"AppDbPermissionChangedNotificationEnabled",0]]},{"name":"OnPreReport","line":117,"kind":"trigger","steps":[[121,"ext","codeunit",9001,"DisallowEditingPermissionSetsForNonAdminUsers",0]]}]}