---
title: "Codeunit 104057 Upgrade Custom Report Impl., extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/104057-upgrade-custom-report-impl/points/
object: https://jonas-paprotka.de/ref/codeunit/104057-upgrade-custom-report-impl/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/104057-upgrade-custom-report-impl/source/
checked: 2026-11-20
changed: 2026-10-05
subject: "Microsoft Dynamics 365 Business Central"
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/"
---

# Codeunit 104057 Upgrade Custom Report Impl., extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/104057-upgrade-custom-report-impl/points/

5 procedures and triggers with a step in src/Layers/W1/BaseApp/OtherCapabilities/Upgrade/UpgradeCustomReportImpl.Codeunit.al, in source order, read from the text, not from a run.

## OnRun

[Line 16](https://jonas-paprotka.de/ref/codeunit/104057-upgrade-custom-report-impl/source/#L16), trigger.

- [18](https://jonas-paprotka.de/ref/codeunit/104057-upgrade-custom-report-impl/source/#L18) calls `UpgradeCompany`

## UpgradeCompany

[Line 21](https://jonas-paprotka.de/ref/codeunit/104057-upgrade-custom-report-impl/source/#L21), local.

- [30](https://jonas-paprotka.de/ref/codeunit/104057-upgrade-custom-report-impl/source/#L30) calls [Codeunit 9999 Upgrade Tag](https://jonas-paprotka.de/ref/codeunit/9999-upgrade-tag/) `HasUpgradeTag`
- [30](https://jonas-paprotka.de/ref/codeunit/104057-upgrade-custom-report-impl/source/#L30) calls [Codeunit 9998 Upgrade Tag Definitions](https://jonas-paprotka.de/ref/codeunit/9998-upgrade-tag-definitions/) `GetCustomReportLayoutUpgradeTag`
- [35](https://jonas-paprotka.de/ref/codeunit/104057-upgrade-custom-report-impl/source/#L35) calls `GetCustomLayoutToName`
- [41](https://jonas-paprotka.de/ref/codeunit/104057-upgrade-custom-report-impl/source/#L41) calls `UpdateReportSelections`
- [42](https://jonas-paprotka.de/ref/codeunit/104057-upgrade-custom-report-impl/source/#L42) calls `UpdateReportLayoutSelection`
- [43](https://jonas-paprotka.de/ref/codeunit/104057-upgrade-custom-report-impl/source/#L43) calls `UpdateCustomReportSelection`
- [46](https://jonas-paprotka.de/ref/codeunit/104057-upgrade-custom-report-impl/source/#L46) calls [Codeunit 9999 Upgrade Tag](https://jonas-paprotka.de/ref/codeunit/9999-upgrade-tag/) `SetUpgradeTag`
- [46](https://jonas-paprotka.de/ref/codeunit/104057-upgrade-custom-report-impl/source/#L46) calls [Codeunit 9998 Upgrade Tag Definitions](https://jonas-paprotka.de/ref/codeunit/9998-upgrade-tag-definitions/) `GetCustomReportLayoutUpgradeTag`

## UpdateReportSelections

[Line 50](https://jonas-paprotka.de/ref/codeunit/104057-upgrade-custom-report-impl/source/#L50), local.

- [58](https://jonas-paprotka.de/ref/codeunit/104057-upgrade-custom-report-impl/source/#L58) writes [Table 77 Report Selections](https://jonas-paprotka.de/ref/table/77-report-selections/) ModifyAll
- [62](https://jonas-paprotka.de/ref/codeunit/104057-upgrade-custom-report-impl/source/#L62) writes [Table 77 Report Selections](https://jonas-paprotka.de/ref/table/77-report-selections/) ModifyAll
- [63](https://jonas-paprotka.de/ref/codeunit/104057-upgrade-custom-report-impl/source/#L63) writes [Table 77 Report Selections](https://jonas-paprotka.de/ref/table/77-report-selections/) ModifyAll

## UpdateReportLayoutSelection

[Line 66](https://jonas-paprotka.de/ref/codeunit/104057-upgrade-custom-report-impl/source/#L66), local.

- [87](https://jonas-paprotka.de/ref/codeunit/104057-upgrade-custom-report-impl/source/#L87) writes [Table 2000000233 Tenant Report Layout Selection](https://jonas-paprotka.de/ref/table/2000000233-tenant-report-layout-selection/) Insert(true)
- [89](https://jonas-paprotka.de/ref/codeunit/104057-upgrade-custom-report-impl/source/#L89) writes [Table 9651 Report Layout Selection](https://jonas-paprotka.de/ref/table/9651-report-layout-selection/) ModifyAll

## UpdateCustomReportSelection

[Line 92](https://jonas-paprotka.de/ref/codeunit/104057-upgrade-custom-report-impl/source/#L92), local.

- [100](https://jonas-paprotka.de/ref/codeunit/104057-upgrade-custom-report-impl/source/#L100) writes [Table 9657 Custom Report Selection](https://jonas-paprotka.de/ref/table/9657-custom-report-selection/) ModifyAll
- [101](https://jonas-paprotka.de/ref/codeunit/104057-upgrade-custom-report-impl/source/#L101) writes [Table 9657 Custom Report Selection](https://jonas-paprotka.de/ref/table/9657-custom-report-selection/) ModifyAll
- [105](https://jonas-paprotka.de/ref/codeunit/104057-upgrade-custom-report-impl/source/#L105) writes [Table 9657 Custom Report Selection](https://jonas-paprotka.de/ref/table/9657-custom-report-selection/) ModifyAll
- [106](https://jonas-paprotka.de/ref/codeunit/104057-upgrade-custom-report-impl/source/#L106) writes [Table 9657 Custom Report Selection](https://jonas-paprotka.de/ref/table/9657-custom-report-selection/) ModifyAll

## Source

AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
