{"title":"Page 9666 Report Theme and Header/Footer, extension points 29","url":"https://jonas-paprotka.de/ref/page/9666-report-theme-and-header-footer/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":"page","id":9666,"name":"Report Theme and Header/Footer","app":"Base Application","url":"https://jonas-paprotka.de/ref/page/9666-report-theme-and-header-footer/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/page/9666-report-theme-and-header-footer/source/","path":"src/Layers/W1/BaseApp/Foundation/Reporting/ReportThemeandHeaderFooter.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":{"codeunit:9660":{"name":"Report Layouts Impl.","url":"https://jonas-paprotka.de/ref/codeunit/9660-report-layouts-impl/"},"codeunit:265":{"name":"Feature Key Management","url":"https://jonas-paprotka.de/ref/codeunit/265-feature-key-management/"},"codeunit:9665":{"name":"Composite Layout Lookup Helper","url":"https://jonas-paprotka.de/ref/codeunit/9665-composite-layout-lookup-helper/"},"page:9668":{"name":"New Report Theme Header/Footer","url":"https://jonas-paprotka.de/ref/page/9668-new-report-theme-header-footer/"},"table:2000000232":{"name":"Tenant Report Layout","url":"https://jonas-paprotka.de/ref/table/2000000232-tenant-report-layout/"}},"procs":[{"name":"NewTheme.OnAction","line":90,"kind":"trigger","steps":[[92,"call","CreateArtifact",1]]},{"name":"NewHeaderFooter.OnAction","line":104,"kind":"trigger","steps":[[106,"call","CreateArtifact",1]]},{"name":"ExportArtifact.OnAction","line":116,"kind":"trigger","steps":[[118,"ext","codeunit",9660,"ExportReportLayout",2]]},{"name":"ShowInfo.OnAction","line":128,"kind":"trigger","steps":[[130,"call","ShowPartInfo",0]]},{"name":"EditDescription.OnAction","line":142,"kind":"trigger","steps":[[144,"call","EditPartDescription",0]]},{"name":"ReplaceArtifact.OnAction","line":156,"kind":"trigger","steps":[[158,"call","ReplaceSelectedArtifact",0]]},{"name":"DeleteArtifact.OnAction","line":169,"kind":"trigger","steps":[[171,"call","DeleteSelectedArtifact",0]]},{"name":"SetApproved.OnAction","line":187,"kind":"trigger","steps":[[189,"call","SetStatus",1]]},{"name":"SetDraft.OnAction","line":200,"kind":"trigger","steps":[[202,"call","SetStatus",1]]},{"name":"SetPendingApproval.OnAction","line":213,"kind":"trigger","steps":[[215,"call","SetStatus",1]]},{"name":"SetRetired.OnAction","line":226,"kind":"trigger","steps":[[228,"call","SetStatus",1]]},{"name":"OnOpenPage","line":250,"kind":"trigger","steps":[[254,"ext","codeunit",265,"IsDocumentReportExperienceEnabled",0],[262,"ext","codeunit",9665,"GetTenantReportDefaultsReportID",0]]},{"name":"CreateArtifact","line":275,"kind":"procedure","access":"local","params":1,"steps":[[282,"ext","page",9668,"SetSubtype",1],[288,"ext","codeunit",9660,"InsertNewLayout"],[289,"ext","codeunit",9665,"GetTenantReportDefaultsReportID",0],[290,"ext","page",9668,"GetPartName",0],[291,"ext","page",9668,"GetPartDescription",0],[294,"ext","page",9668,"GetCreateEmptyLayout",0],[300,"call","SetFocusedRecord",2]]},{"name":"SetStatus","line":312,"kind":"procedure","access":"local","params":1,"steps":[[326,"call","CountAssignedInSelection",1],[332,"ext","codeunit",9660,"SetLayoutStatusBatch",2],[334,"call","GetSingleUserDefinedName",1]]},{"name":"CountAssignedInSelection","line":358,"kind":"procedure","access":"local","params":1,"steps":[[364,"ext","codeunit",9665,"CountPartAssignments",1]]},{"name":"ReplaceSelectedArtifact","line":369,"kind":"procedure","access":"local","params":0,"steps":[[386,"ext","codeunit",9660,"ReplaceLayout",6]]},{"name":"EditPartDescription","line":390,"kind":"procedure","access":"local","params":0,"steps":[[401,"ext","page",9668,"SetEditDescriptionMode",1],[405,"ext","codeunit",9660,"UpdateReportLayoutDescription",3],[405,"ext","page",9668,"GetPartDescription",0]]},{"name":"ShowPartInfo","line":409,"kind":"procedure","access":"local","params":0,"steps":[[425,"ext","codeunit",9665,"CountPartAssignments",1]]},{"name":"DeleteSelectedArtifact","line":431,"kind":"procedure","access":"local","params":0,"steps":[[447,"ext","codeunit",9665,"CountPartAssignments",1],[454,"call","GetSingleUserDefinedName",1],[471,"ext","codeunit",9665,"ClearPartAssignments",1],[475,"write",2000000232,"Insert"],[481,"ext","codeunit",9660,"DeleteReportLayout",1]]}]}