{"title":"Codeunit 36957 PowerBI Upgrade, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/36957-powerbi-upgrade/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":36957,"name":"PowerBI Upgrade","app":"PowerBI Reports","url":"https://jonas-paprotka.de/ref/codeunit/36957-powerbi-upgrade/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/36957-powerbi-upgrade/source/","path":"src/Apps/W1/PowerBIReports/App/Core/Codeunits/PowerBIUpgrade.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":{"codeunit:9999":{"name":"Upgrade Tag","url":"https://jonas-paprotka.de/ref/codeunit/9999-upgrade-tag/"},"table:36954":{"name":"PowerBI Flat Dim. Set Entry","url":"https://jonas-paprotka.de/ref/table/36954-powerbi-flat-dim-set-entry/"},"codeunit:36951":{"name":"Initialization","url":"https://jonas-paprotka.de/ref/codeunit/36951-initialization/"}},"procs":[{"name":"OnUpgradePerCompany","line":14,"kind":"trigger","steps":[[16,"call","TransferDimensionSetEntries",0],[17,"call","InitialSetupUpgrade",0],[18,"call","CloseIncomeSourceCodeUpgrade",0]]},{"name":"TransferDimensionSetEntries","line":21,"kind":"procedure","access":"local","params":0,"steps":[[28,"ext","codeunit",9999,"HasUpgradeTag",1],[28,"call","TransferDimensionSetEntriesUpgradeTag",0],[31,"write",36954,"DeleteAll"],[37,"ext","codeunit",9999,"SetUpgradeTag",1],[37,"call","TransferDimensionSetEntriesUpgradeTag",0]]},{"name":"InitialSetupUpgrade","line":40,"kind":"procedure","access":"local","params":0,"steps":[[45,"ext","codeunit",9999,"HasUpgradeTag",1],[45,"call","InitialSetupUpgradeTag",0],[47,"ext","codeunit",36951,"SetupDefaultsForPowerBIReportsIfNotInitialized",0],[48,"ext","codeunit",9999,"SetUpgradeTag",1],[48,"call","InitialSetupUpgradeTag",0]]},{"name":"CloseIncomeSourceCodeUpgrade","line":51,"kind":"procedure","access":"local","params":0,"steps":[[56,"ext","codeunit",9999,"HasUpgradeTag",1],[56,"call","CloseIncomeSourceCodeUpgradeTag",0],[58,"ext","codeunit",36951,"InitializeCloseIncomeSourceCodes",0],[59,"ext","codeunit",9999,"SetUpgradeTag",1],[59,"call","CloseIncomeSourceCodeUpgradeTag",0]]},{"name":"RegisterPerCompanyTags","line":78,"kind":"procedure","access":"local","params":1,"steps":[[80,"call","TransferDimensionSetEntriesUpgradeTag",0]]}]}