{"title":"Page 9652 Report Layout Selection, extension points 29","url":"https://jonas-paprotka.de/ref/page/9652-report-layout-selection/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-11-18","object":{"type":"page","id":9652,"name":"Report Layout Selection","app":"Base Application","url":"https://jonas-paprotka.de/ref/page/9652-report-layout-selection/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/page/9652-report-layout-selection/source/","path":"src/Layers/W1/BaseApp/Foundation/Reporting/ReportLayoutSelection.Page.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":{"table:9651":{"name":"Report Layout Selection","url":"https://jonas-paprotka.de/ref/table/9651-report-layout-selection/"},"table:2000000233":{"name":"Tenant Report Layout Selection","url":"https://jonas-paprotka.de/ref/table/2000000233-tenant-report-layout-selection/"},"codeunit:9651":{"name":"Document Report Mgt.","url":"https://jonas-paprotka.de/ref/codeunit/9651-document-report-mgt/"},"codeunit:265":{"name":"Feature Key Management","url":"https://jonas-paprotka.de/ref/codeunit/265-feature-key-management/"},"page:9650":{"name":"Custom Report Layouts","url":"https://jonas-paprotka.de/ref/page/9650-custom-report-layouts/"},"codeunit:9660":{"name":"Report Layouts Impl.","url":"https://jonas-paprotka.de/ref/codeunit/9660-report-layouts-impl/"},"codeunit:9665":{"name":"Composite Layout Lookup Helper","url":"https://jonas-paprotka.de/ref/codeunit/9665-composite-layout-lookup-helper/"}},"procs":[{"name":"Type.OnValidate","line":62,"kind":"trigger","steps":[[64,"call","UpdateRec",0],[66,"call","LookupLayout",0]]},{"name":"Custom Report Layout Code.OnValidate","line":76,"kind":"trigger","steps":[[78,"validate",9651,"Custom Report Layout Code"],[79,"call","UpdateRec",0]]},{"name":"CustomLayoutDescription.OnValidate","line":90,"kind":"trigger","steps":[[103,"validate",9651,"Custom Report Layout Code"],[104,"call","UpdateRec",0],[107,"call","ValidateBuiltInReportLayoutDescription",0]]},{"name":"SelectLayout.OnAction","line":140,"kind":"trigger","steps":[[142,"call","LookupLayout",0]]},{"name":"RestoreDefaultLayout.OnAction","line":156,"kind":"trigger","steps":[[162,"write",2000000233,"Delete",1],[164,"call","RestoreDefaultSelection",0]]},{"name":"ShowLayoutParts.OnAction","line":203,"kind":"trigger","steps":[[205,"call","ShowResolvedLayoutParts",0]]},{"name":"BulkUpdate.OnAction","line":215,"kind":"trigger","steps":[[219,"ext","codeunit",9651,"BulkUpgrade",1]]},{"name":"TestUpdate.OnAction","line":229,"kind":"trigger","steps":[[233,"ext","codeunit",9651,"BulkUpgrade",1]]},{"name":"OnAfterGetCurrRecord","line":267,"kind":"trigger","steps":[[269,"call","GetRec",0]]},{"name":"Category_Process.OnAfterGetRecord","line":272,"kind":"trigger","steps":[[274,"call","GetRec",0]]},{"name":"OnFindRecord","line":277,"kind":"trigger","steps":[[280,"call","InitializeData",0]]},{"name":"OnOpenPage","line":284,"kind":"trigger","steps":[[289,"ext","codeunit",265,"IsDocumentReportExperienceEnabled",0]]},{"name":"UpdateRec","line":309,"kind":"procedure","params":0,"steps":[[315,"event","OnUpdateRecOnBeforeModify",0],[316,"write",9651,"Modify"],[322,"event","OnUpdateRecOnBeforeInsert",0],[323,"write",9651,"Insert",1]]},{"name":"GetRec","line":327,"kind":"procedure","access":"local","params":0,"steps":[[332,"call","UpdateTempRec",0],[334,"event","OnGetRecOnBeforeModify",0],[335,"write",9651,"Modify"]]},{"name":"UpdateTempRec","line":338,"kind":"procedure","access":"local","params":0,"steps":[[347,"ext","table",9651,"GetDefaultType",1]]},{"name":"LookupLayout","line":368,"kind":"procedure","access":"local","params":0,"steps":[[374,"call","SelectReportLayout",0],[377,"call","SelectBuiltInReportLayout",0],[382,"call","SelectBuiltInReportLayout",0],[386,"call","GetRec",0],[390,"validate",9651,"Type"],[390,"ext","table",9651,"GetDefaultType",1],[391,"call","UpdateRec",0]]},{"name":"SelectBuiltInReportLayout","line":396,"kind":"procedure","access":"local","params":0,"steps":[[402,"call","ApplyFilterToReportLayoutList",1],[404,"event","OnSelectReportLayout",0],[406,"call","UpdateTenantLayoutSelection",1],[407,"call","UpdateRec",0],[411,"call","RestoreDefaultSelection",0]]},{"name":"RestoreDefaultSelection","line":421,"kind":"procedure","access":"local","params":0,"steps":[[433,"call","SetDefaultSelectionFromReportLayoutList",2],[436,"validate",9651,"Type"],[436,"ext","table",9651,"GetDefaultType",1],[438,"call","UpdateRec",0]]},{"name":"SetDefaultSelectionFromReportLayoutList","line":441,"kind":"procedure","access":"local","params":2,"steps":[[443,"validate",9651,"Type"],[443,"call","LayoutFormatToType",1]]},{"name":"LayoutFormatToType","line":448,"kind":"procedure","access":"local","params":1,"steps":[[463,"ext","table",9651,"GetDefaultType",1]]},{"name":"ValidateBuiltInReportLayoutDescription","line":466,"kind":"procedure","access":"local","params":0,"steps":[[472,"call","ApplyFilterToReportLayoutList",1],[477,"call","UpdateTenantLayoutSelection",1],[480,"write",2000000233,"Delete",1],[482,"call","UpdateRec",0]]},{"name":"SelectReportLayout","line":486,"kind":"procedure","access":"local","params":0,"steps":[[496,"run","page",9650],[503,"call","UpdateRec",0],[506,"call","RestoreDefaultSelection",0],[507,"call","UpdateRec",0]]},{"name":"InitializeData","line":513,"kind":"procedure","access":"local","params":0,"steps":[[523,"call","UpdateTempRec",0],[524,"write",9651,"Insert"]]},{"name":"UpdateTenantLayoutSelection","line":545,"kind":"procedure","access":"local","params":1,"steps":[[555,"write",2000000233,"Insert",1],[556,"write",2000000233,"Modify",1]]},{"name":"ShowResolvedLayoutParts","line":559,"kind":"procedure","access":"local","params":0,"steps":[[572,"ext","codeunit",9660,"SetSelectedCompany",1],[573,"ext","codeunit",9660,"GetDefaultReportLayoutSelection",2],[574,"ext","codeunit",9665,"CompositeLayoutKey",1],[577,"ext","codeunit",9665,"GetResolvedPartDisplays",6],[579,"ext","codeunit",9665,"GetReportLevelPartDisplays",5],[581,"call","FormatPartDisplay",2],[581,"call","FormatPartDisplay",2]]}]}