{"title":"Codeunit 104057 Upgrade Custom Report Impl., extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/104057-upgrade-custom-report-impl/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":"codeunit","id":104057,"name":"Upgrade Custom Report Impl.","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/104057-upgrade-custom-report-impl/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/104057-upgrade-custom-report-impl/source/","path":"src/Layers/W1/BaseApp/OtherCapabilities/Upgrade/UpgradeCustomReportImpl.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/"},"codeunit:9998":{"name":"Upgrade Tag Definitions","url":"https://jonas-paprotka.de/ref/codeunit/9998-upgrade-tag-definitions/"},"table:77":{"name":"Report Selections","url":"https://jonas-paprotka.de/ref/table/77-report-selections/"},"table:2000000233":{"name":"Tenant Report Layout Selection","url":"https://jonas-paprotka.de/ref/table/2000000233-tenant-report-layout-selection/"},"table:9651":{"name":"Report Layout Selection","url":"https://jonas-paprotka.de/ref/table/9651-report-layout-selection/"},"table:9657":{"name":"Custom Report Selection","url":"https://jonas-paprotka.de/ref/table/9657-custom-report-selection/"}},"procs":[{"name":"OnRun","line":16,"kind":"trigger","steps":[[18,"call","UpgradeCompany",0]]},{"name":"UpgradeCompany","line":21,"kind":"procedure","access":"local","params":0,"steps":[[30,"ext","codeunit",9999,"HasUpgradeTag",1],[30,"ext","codeunit",9998,"GetCustomReportLayoutUpgradeTag",0],[35,"call","GetCustomLayoutToName",1],[41,"call","UpdateReportSelections",2],[42,"call","UpdateReportLayoutSelection",2],[43,"call","UpdateCustomReportSelection",2],[46,"ext","codeunit",9999,"SetUpgradeTag",1],[46,"ext","codeunit",9998,"GetCustomReportLayoutUpgradeTag",0]]},{"name":"UpdateReportSelections","line":50,"kind":"procedure","access":"local","params":2,"steps":[[58,"write",77,"ModifyAll"],[62,"write",77,"ModifyAll"],[63,"write",77,"ModifyAll"]]},{"name":"UpdateReportLayoutSelection","line":66,"kind":"procedure","access":"local","params":2,"steps":[[87,"write",2000000233,"Insert",1],[89,"write",9651,"ModifyAll"]]},{"name":"UpdateCustomReportSelection","line":92,"kind":"procedure","access":"local","params":2,"steps":[[100,"write",9657,"ModifyAll"],[101,"write",9657,"ModifyAll"],[105,"write",9657,"ModifyAll"],[106,"write",9657,"ModifyAll"]]}]}