---
id: object/codeunit/8145
type: object
title: Codeunit 8145 "Report Filename Upgrade"
summary: Codeunit 8145 "Report Filename Upgrade" in ReportFilenameManager (Microsoft.Foundation.Reporting.FileNaming). 1 public procedures, 1 event subscribers. Introduced in BC30.
tier: official
language: en
tags:
  - codeunit
  - reportfilenamemanager
versions:
  introduced: "30"
  last_changed: null
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-12-01T01:00:51.425Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 649fefc8151f5bbf72c1188e20d10d6f05c41bd0e5bd9fae8d59a08f985efefb
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/f53bb0f1ecd89fde9f133f9dcaf5bf43cf5f2671/src/Apps/W1/ReportFilenameManager/app/src/codeunit/ReportFilenameUpgrade.Codeunit.al
    title: src/Apps/W1/ReportFilenameManager/app/src/codeunit/ReportFilenameUpgrade.Codeunit.al (main)
    date: null
    commit: f53bb0f1ecd89fde9f133f9dcaf5bf43cf5f2671
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/13732
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/upgrade/upgrade-overview-v26
      title: Upgrade to Dynamics 365 Business Central 2025 release wave 1
      label: possibly related
      why: Report Filename upgrade codeunit handles upgrade procedures for Business Central 2025 wave 1.
      by: model
object_type: codeunit
object_id: 8145
name: Report Filename Upgrade
namespace: Microsoft.Foundation.Reporting.FileNaming
app: ReportFilenameManager
extends: null
first_version: "30"
last_version: "30"
present_in:
  - "30"
changed_in: []
source_major: "30"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 2
  events: 0
  subscribers: 1
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Codeunit 8145 "Report Filename Upgrade"

> Codeunit 8145 "Report Filename Upgrade" in ReportFilenameManager (Microsoft.Foundation.Reporting.FileNaming). 1 public procedures, 1 event subscribers. Introduced in BC30.

ReportFilenameManager · Microsoft.Foundation.Reporting.FileNaming · BC30 · [source at f53bb0f1](https://github.com/microsoft/BCApps/blob/f53bb0f1ecd89fde9f133f9dcaf5bf43cf5f2671/src/Apps/W1/ReportFilenameManager/app/src/codeunit/ReportFilenameUpgrade.Codeunit.al) · facts from BC30

## Properties

| Property | Value |
|---|---|
| Access | Internal |
| Subtype | Upgrade |

## Event subscriptions

- RegisterPerCompanyUpgradeTags subscribes to Codeunit "Upgrade Tag" OnGetPerCompanyUpgradeTags

## Procedures

- `UpgradeDefaults()` (internal)

## Triggers

OnUpgradePerCompany

## Recent changes

- 2026-11-25 [#13732 Initialize report filename defaults for new and existing companies](../../changes/bcapps/13732.md) (main, BC30, feature, added)

## Across versions

- Present in: BC30
- Changed (declaration) in: none

## Possibly related

No source states these links: they share an object, a model read them, or a person found the same subject.

- [Upgrade to Dynamics 365 Business Central 2025 release wave 1](https://learn.microsoft.com/dynamics365/business-central/dev-itpro/upgrade/upgrade-overview-v26) — possibly related: Report Filename upgrade codeunit handles upgrade procedures for Business Central 2025 wave 1. (model-linked)

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "codeunit", object_name: "Report Filename Upgrade")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
