---
id: change/bcapps/13732
type: change
title: "#13732 Initialize report filename defaults for new and existing companies"
summary: Report Filename Manager now initializes default filename patterns for 69 standard reports during company initialization, installation, and upgrade, ensuring consistent report naming without requiring manual setup.
tier: official
language: en
tags:
  - feature
  - main
  - bc30
  - codeunit report filename defaults
  - codeunit report filename install
  - codeunit report filename mgt.
  - codeunit report filename subscribers
  - codeunit report filename upgrade
  - page report filename setup
system: platform
review:
  state: reviewed
  by: opus
  at: "2026-11-26T01:03:54.974Z"
  flags: []
generated:
  at: "2026-12-04T00:17:10.168Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: ae2bfcefa2266d3feb4976b406892a716795ccbf
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/13732
    title: "microsoft/BCApps#13732: Initialize report filename defaults for new and existing companies"
    date: "2026-11-25"
    commit: ae2bfcefa2266d3feb4976b406892a716795ccbf
    t: null
    quote: Provision Report Filename Manager defaults through real company initialization, installation and upgrade.
links:
  learn: []
  objects:
    - object/codeunit/8143
    - object/codeunit/8144
    - object/codeunit/8125
    - object/codeunit/8126
    - object/codeunit/8145
    - object/page/8134
    - object/permissionset/8125
    - object/table/8125
    - object/table/8130
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/developer/devenv-debug-upgrade-install-code
      title: Debug Upgrade and Install Code in AL
      label: possibly related
      why: Codeunits handle installation and upgrade of extension features during extension lifecycle.
      by: model
number: 13732
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/13732
kind: pr
base_branch: main
major: "30"
merged_at: "2026-11-25T16:30:12Z"
author: gggdttt
author_type: User
community_contribution: false
labels:
  - "AL: Apps (W1)"
  - "Team: Integrations"
change_class: code
change_kind: feature
behavior_change: true
breaking: false
files:
  count: 16
  additions: 1302
  deletions: 66
  al: 9
apps:
  - ReportFilenameManager
objects_touched:
  - key: codeunit/8143
    page: codeunit/8143
    type: codeunit
    id: 8143
    name: Report Filename Defaults
    app: ReportFilenameManager
    status: added
  - key: codeunit/8144
    page: codeunit/8144
    type: codeunit
    id: 8144
    name: Report Filename Install
    app: ReportFilenameManager
    status: added
  - key: codeunit/8125
    page: codeunit/8125
    type: codeunit
    id: 8125
    name: Report Filename Mgt.
    app: ReportFilenameManager
    status: modified
  - key: codeunit/8126
    page: codeunit/8126
    type: codeunit
    id: 8126
    name: Report Filename Subscribers
    app: ReportFilenameManager
    status: modified
  - key: codeunit/8145
    page: codeunit/8145
    type: codeunit
    id: 8145
    name: Report Filename Upgrade
    app: ReportFilenameManager
    status: added
  - key: page/8134
    page: page/8134
    type: page
    id: 8134
    name: Report Filename Setup
    app: ReportFilenameManager
    status: modified
  - key: permissionset/8125
    page: permissionset/8125
    type: permissionset
    id: 8125
    name: Report Filename Mgr.
    app: ReportFilenameManager
    status: modified
  - key: table/8125
    page: table/8125
    type: table
    id: 8125
    name: Report Filename Pattern
    app: ReportFilenameManager
    status: modified
  - key: table/8130
    page: table/8130
    type: table
    id: 8130
    name: Report Filename Setup
    app: ReportFilenameManager
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 658065
systems:
  - platform
quote: Provision Report Filename Manager defaults through real company initialization, installation and upgrade.
joined_against:
  major: "30"
  commit: 4d60d10920084a35a6231e5a0ffbd0577b0c399e
---

# #13732 Initialize report filename defaults for new and existing companies

> Report Filename Manager now initializes default filename patterns for 69 standard reports during company initialization, installation, and upgrade, ensuring consistent report naming without requiring manual setup.

[Pull request](https://github.com/microsoft/BCApps/pull/13732) · merged into `main` (BC30) on 2026-11-25 by gggdttt · 16 files (+1302 -66), 9 AL · feature · tier official · reviewed (checked by Opus)

## What changed

- New companies receive enabled filename setup with 65 report-specific defaults and 4 generic document defaults during Company-Initialize
- Existing companies get missing configuration added during installation and upgrade without changing their feature switch or filename-length settings
- Customized, filtered, or enabled patterns are preserved and not overwritten
- Three reports with no document context (5085, 6520, 6521) use report name and date instead of document identifiers
- Caller-owned server output paths are preserved for legacy API PDF generation while patterns apply to client display and attachment names
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 8143 "Report Filename Defaults"](../../objects/codeunit/8143.md), ReportFilenameManager: added
- [Codeunit 8144 "Report Filename Install"](../../objects/codeunit/8144.md), ReportFilenameManager: added
- [Codeunit 8125 "Report Filename Mgt."](../../objects/codeunit/8125.md), ReportFilenameManager: modified
- [Codeunit 8126 "Report Filename Subscribers"](../../objects/codeunit/8126.md), ReportFilenameManager: modified
- [Codeunit 8145 "Report Filename Upgrade"](../../objects/codeunit/8145.md), ReportFilenameManager: added
- [Page 8134 "Report Filename Setup"](../../objects/page/8134.md), ReportFilenameManager: modified
- [Permission set 8125 "Report Filename Mgr."](../../objects/permissionset/8125.md), ReportFilenameManager: modified
- [Table 8125 "Report Filename Pattern"](../../objects/table/8125.md), ReportFilenameManager: modified
- [Table 8130 "Report Filename Setup"](../../objects/table/8130.md), ReportFilenameManager: modified

## Context

- Work items: AB#658065
- Labels: AL: Apps (W1), Team: Integrations
- Systems: platform
- From the description: "Provision Report Filename Manager defaults through real company initialization, installation and upgrade."

## Possibly related

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

- [Debug Upgrade and Install Code in AL](https://learn.microsoft.com/dynamics365/business-central/dev-itpro/developer/devenv-debug-upgrade-install-code) — possibly related: Codeunits handle installation and upgrade of extension features during extension lifecycle. (model-linked)

Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).
