{"title":"Codeunit 36953 Finance Installation Handler, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/36953-finance-installation-handler/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-09-24","object":{"type":"codeunit","id":36953,"name":"Finance Installation Handler","app":"PowerBI Reports","url":"https://jonas-paprotka.de/ref/codeunit/36953-finance-installation-handler/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/36953-finance-installation-handler/source/","path":"src/Apps/W1/PowerBIReports/App/Finance/FinanceInstallationHandler.Codeunit.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:1518":{"name":"My Notifications","url":"https://jonas-paprotka.de/ref/table/1518-my-notifications/"},"page:36961":{"name":"Account Categories","url":"https://jonas-paprotka.de/ref/page/36961-account-categories/"},"table:36953":{"name":"Account Category","url":"https://jonas-paprotka.de/ref/table/36953-account-category/"}},"procs":[{"name":"SetupDefaultsForPowerBIReportsIfNotInitialized","line":17,"kind":"procedure","access":"internal","params":0,"steps":[[22,"call","RestorePowerBIAccountCategories",0]]},{"name":"RestorePowerBIAccountCategories","line":26,"kind":"procedure","access":"internal","params":0,"steps":[[28,"call","InsertL1AccountCategories",0],[29,"call","InsertL2AccountCategories",0],[30,"call","InsertL3AccountCategories",0]]},{"name":"NotifyIfAccountCategoryMappingIncomplete","line":33,"kind":"procedure","access":"internal","params":0,"steps":[[42,"call","GetUnmappedRequiredCategoryCount",0],[46,"call","GetMappingNotificationId",0],[47,"call","SetMappingNotificationDefaultState",1],[48,"ext","table",1518,"IsEnabled",1],[48,"call","GetMappingNotificationId",0],[51,"call","GetMappingNotificationId",0]]},{"name":"OpenAccountCategoriesPage","line":59,"kind":"procedure","params":1,"steps":[[61,"run","page",36961]]},{"name":"DisableMappingNotification","line":64,"kind":"procedure","params":1,"steps":[[68,"ext","table",1518,"Disable",1],[68,"call","GetMappingNotificationId",0],[69,"call","SetMappingNotificationDefaultState",1]]},{"name":"SetMappingNotificationDefaultState","line":72,"kind":"procedure","access":"internal","params":1,"steps":[[78,"ext","table",1518,"InsertDefault",4],[78,"call","GetMappingNotificationId",0]]},{"name":"OnInitializingNotificationWithDefaultState","line":82,"kind":"procedure","access":"local","params":0,"steps":[[84,"call","SetMappingNotificationDefaultState",1]]},{"name":"GetUnmappedRequiredCategoryCount","line":87,"kind":"procedure","access":"local","params":0,"steps":[[94,"call","IsAccountCategoryRequired",1]]},{"name":"InsertL1AccountCategories","line":122,"kind":"procedure","access":"local","params":0,"steps":[[124,"call","InsertPowerBIAccountCategory",3],[125,"call","InsertPowerBIAccountCategory",3],[126,"call","InsertPowerBIAccountCategory",3],[127,"call","InsertPowerBIAccountCategory",3],[128,"call","InsertPowerBIAccountCategory",3],[129,"call","InsertPowerBIAccountCategory",3]]},{"name":"InsertL2AccountCategories","line":132,"kind":"procedure","access":"local","params":0,"steps":[[134,"call","InsertPowerBIAccountCategory",3],[135,"call","InsertPowerBIAccountCategory",3],[136,"call","InsertPowerBIAccountCategory",3],[137,"call","InsertPowerBIAccountCategory",3],[138,"call","InsertPowerBIAccountCategory",3],[139,"call","InsertPowerBIAccountCategory",3],[140,"call","InsertPowerBIAccountCategory",3],[141,"call","InsertPowerBIAccountCategory",3],[142,"call","InsertPowerBIAccountCategory",3],[143,"call","InsertPowerBIAccountCategory",3],[144,"call","InsertPowerBIAccountCategoryWithoutGLAccCategory",2],[145,"call","InsertPowerBIAccountCategoryWithoutGLAccCategory",2],[146,"call","InsertPowerBIAccountCategoryWithoutGLAccCategory",2],[147,"call","InsertPowerBIAccountCategoryWithoutGLAccCategory",2]]},{"name":"InsertL3AccountCategories","line":150,"kind":"procedure","access":"local","params":0,"steps":[[152,"call","InsertPowerBIAccountCategory",3],[153,"call","InsertPowerBIAccountCategory",3],[154,"call","InsertPowerBIAccountCategory",3],[155,"call","InsertPowerBIAccountCategory",3],[156,"call","InsertPowerBIAccountCategoryWithoutGLAccCategory",2],[157,"call","InsertPowerBIAccountCategoryWithoutGLAccCategory",2]]},{"name":"InsertPowerBIAccountCategoryWithoutGLAccCategory","line":160,"kind":"procedure","access":"local","params":2,"steps":[[162,"call","InsertPowerBIAccountCategory",3]]},{"name":"InsertPowerBIAccountCategory","line":166,"kind":"procedure","access":"local","params":3,"steps":[[174,"write",36953,"Insert"],[177,"call","ValidateGLAccountCategory",3],[183,"write",36953,"Modify"]]}]}