---
id: change/bcapps/12142
type: change
title: "#12142 [main] bug 652254 - Statutory Reporting Setup - new field for Official Name"
summary: Czech statutory reporting now supports official company names up to 255 characters through a new Official Full Name field, with automatic migration from the legacy 30-character field and XML export updates.
tier: official
language: en
tags:
  - feature
  - main
  - bc30
  - codeunit upgrade application czl
  - codeunit upgrade tag definitions czl
  - page statutory reporting setup czl
  - table statutory reporting setup czl
  - xmlport vat control report dphkh1 czl
  - xmlport vat statement dphdp3 czl
system: platform
review:
  state: reviewed
  by: opus
  at: "2026-10-17T01:12:15.147Z"
  flags: []
generated:
  at: "2026-11-24T00:13:35.655Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: aed68c9417cc2eb608134e881346c109a11e8b2e
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/12142
    title: "microsoft/BCApps#12142: [main] bug 652254 - Statutory Reporting Setup - new field for Official Name"
    date: "2026-10-12"
    commit: aed68c9417cc2eb608134e881346c109a11e8b2e
    t: null
    quote: Supporting an official name with up to 255 characters is an immediate legislative requirement for Czech statutory reporting.
links:
  learn: []
  objects:
    - object/codeunit/31017-cz
    - object/codeunit/31016-cz
    - object/page/31108-cz
    - object/table/31105-cz
    - object/xmlport/31110-cz
    - object/xmlport/11766-cz
    - object/xmlport/31061-cz
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
  related:
    - to: https://learn.microsoft.com/dynamics365/business-central/LocalFunctionality/Finland/vat-vies-declaration-in-finland
      title: VAT-VIES declaration in Finland
      label: possibly related
      why: Documents VAT-VIES declaration requirements in Finland that the statutory reporting setup field supports.
      by: model
number: 12142
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/12142
kind: pr
base_branch: main
major: "30"
merged_at: "2026-10-12T13:33:29Z"
author: v-janpopr
author_type: User
community_contribution: false
labels:
  - "Team: Finance"
change_class: code
change_kind: feature
behavior_change: true
breaking: false
files:
  count: 8
  additions: 79
  deletions: 23
  al: 7
apps:
  - CoreLocalizationPack
objects_touched:
  - key: codeunit/31017
    page: codeunit/31017-cz
    type: codeunit
    id: 31017
    name: Upgrade Application CZL
    app: CoreLocalizationPack
    status: modified
  - key: codeunit/31016
    page: codeunit/31016-cz
    type: codeunit
    id: 31016
    name: Upgrade Tag Definitions CZL
    app: CoreLocalizationPack
    status: modified
  - key: page/31108
    page: page/31108-cz
    type: page
    id: 31108
    name: Statutory Reporting Setup CZL
    app: CoreLocalizationPack
    status: modified
  - key: table/31105
    page: table/31105-cz
    type: table
    id: 31105
    name: Statutory Reporting Setup CZL
    app: CoreLocalizationPack
    status: modified
  - key: xmlport/31110
    page: xmlport/31110-cz
    type: xmlport
    id: 31110
    name: VAT Control Report DPHKH1 CZL
    app: CoreLocalizationPack
    status: modified
  - key: xmlport/11766
    page: xmlport/11766-cz
    type: xmlport
    id: 11766
    name: VAT Statement DPHDP3 CZL
    app: CoreLocalizationPack
    status: modified
  - key: xmlport/31061
    page: xmlport/31061-cz
    type: xmlport
    id: 31061
    name: VIES Declaration CZL
    app: CoreLocalizationPack
    status: modified
objects_unjoined: []
obsoletions:
  - object: Statutory Reporting Setup CZL
    member: Official Name
    replacement: Official Full Name
backports: []
fixes_issues: []
work_items:
  - 652254
systems:
  - platform
  - finance
quote: Supporting an official name with up to 255 characters is an immediate legislative requirement for Czech statutory reporting.
joined_against:
  major: "30"
  commit: f18567dc08e2bd162bf192e1da4d714b57eb099f
---

# #12142 [main] bug 652254 - Statutory Reporting Setup - new field for Official Name

> Czech statutory reporting now supports official company names up to 255 characters through a new Official Full Name field, with automatic migration from the legacy 30-character field and XML export updates.

[Pull request](https://github.com/microsoft/BCApps/pull/12142) · merged into `main` (BC30) on 2026-10-12 by v-janpopr · 8 files (+79 -23), 7 AL · feature · tier official · reviewed (checked by Opus)

## What changed

- New Official Full Name field (255 characters) added to Statutory Reporting Setup
- Legacy Official Name field (30 characters) marked obsolete but retained for compatibility
- VAT Statement, VAT Control Report, and VIES Declaration exports now use new field
- Upgrade routine automatically copies existing Official Name values to new field
- Per-company upgrade tag ensures migration runs only once
- Behaviour changes for users or extensions.

## AL objects touched

- [Codeunit 31017 "Upgrade Application CZL"](../../objects/codeunit/31017-cz.md), CoreLocalizationPack (CZ layer): modified
- [Codeunit 31016 "Upgrade Tag Definitions CZL"](../../objects/codeunit/31016-cz.md), CoreLocalizationPack (CZ layer): modified
- [Page 31108 "Statutory Reporting Setup CZL"](../../objects/page/31108-cz.md), CoreLocalizationPack (CZ layer): modified
- [Table 31105 "Statutory Reporting Setup CZL"](../../objects/table/31105-cz.md), CoreLocalizationPack (CZ layer): modified
- [XMLport 31110 "VAT Control Report DPHKH1 CZL"](../../objects/xmlport/31110-cz.md), CoreLocalizationPack (CZ layer): modified
- [XMLport 11766 "VAT Statement DPHDP3 CZL"](../../objects/xmlport/11766-cz.md), CoreLocalizationPack (CZ layer): modified
- [XMLport 31061 "VIES Declaration CZL"](../../objects/xmlport/31061-cz.md), CoreLocalizationPack (CZ layer): modified

## Obsoletions

- Statutory Reporting Setup CZL: Official Name, replaced by Official Full Name

## Context

- Work items: AB#652254
- Labels: Team: Finance
- Systems: platform, finance
- From the description: "Supporting an official name with up to 255 characters is an immediate legislative requirement for Czech statutory reporting."

## Possibly related

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

- [VAT-VIES declaration in Finland](https://learn.microsoft.com/dynamics365/business-central/LocalFunctionality/Finland/vat-vies-declaration-in-finland) — possibly related: Documents VAT-VIES declaration requirements in Finland that the statutory reporting setup field supports. (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).
