{"title":"Page 9667 Header/Footer Theme Assignment, extension points 29","url":"https://jonas-paprotka.de/ref/page/9667-header-footer-theme-assignment/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":9667,"name":"Header/Footer Theme Assignment","app":"Base Application","url":"https://jonas-paprotka.de/ref/page/9667-header-footer-theme-assignment/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/page/9667-header-footer-theme-assignment/source/","path":"src/Layers/W1/BaseApp/Foundation/Reporting/HeaderFooterThemeAssignment.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: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/"},"table:2000000249":{"name":"Tenant Report Layout Cfg","url":"https://jonas-paprotka.de/ref/table/2000000249-tenant-report-layout-cfg/"}},"procs":[{"name":"HeaderPartDisplay.OnAssistEdit","line":67,"kind":"trigger","steps":[[69,"call","SetHeaderPart",0]]},{"name":"ThemePartDisplay.OnAssistEdit","line":84,"kind":"trigger","steps":[[86,"call","SetThemePart",0]]},{"name":"OnOpenPage","line":98,"kind":"trigger","steps":[[103,"ext","codeunit",265,"IsDocumentReportExperienceEnabled",0],[106,"ext","codeunit",9665,"IsBodyLayout",2],[107,"ext","codeunit",9665,"DecodeLayoutName",1],[109,"call","DetectCompanyOverride",0],[115,"write",2000000249,"DeleteAll"],[118,"ext","codeunit",9665,"DecodeLayoutName",1],[124,"write",2000000249,"Insert"]]},{"name":"OnAfterGetCurrRecord","line":130,"kind":"trigger","steps":[[133,"ext","codeunit",9665,"DecodeLayoutName",1],[134,"ext","codeunit",9665,"DecodeLayoutName",1]]},{"name":"OnQueryClosePage","line":137,"kind":"trigger","steps":[[148,"ext","codeunit",9665,"DecodeLayoutName",1],[155,"write",2000000249,"Delete",1],[159,"write",2000000249,"Modify",1],[168,"write",2000000249,"Insert",1]]},{"name":"SetHeaderPart","line":173,"kind":"procedure","access":"local","params":0,"steps":[[177,"ext","codeunit",9665,"LookupCompositePart",2],[180,"ext","codeunit",9665,"DecodeLayoutName",1],[181,"write",2000000249,"Modify"]]},{"name":"SetThemePart","line":185,"kind":"procedure","access":"local","params":0,"steps":[[189,"ext","codeunit",9665,"LookupCompositePart",2],[192,"ext","codeunit",9665,"DecodeLayoutName",1],[193,"write",2000000249,"Modify"]]},{"name":"DetectCompanyOverride","line":197,"kind":"procedure","access":"local","params":0,"steps":[[212,"ext","codeunit",9665,"DecodeLayoutName",1],[218,"ext","codeunit",9665,"DecodeLayoutName",1]]}]}