---
id: object/codeunit/31016-cz
type: object
title: Codeunit 31016 "Upgrade Tag Definitions CZL" (CZ)
summary: Codeunit 31016 "Upgrade Tag Definitions CZL" (CZ) in the CZ country layer (System.Upgrade). 36 public procedures, 2 event subscribers. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - codeunit
  - cz layer
versions:
  introduced: "29"
  last_changed: null
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 374397b081cd9e3ca96ec028849bb416160e9e5ef547f3c01f2083ab1f4420a7
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/CZ/CoreLocalizationPack/app/Src/Codeunits/UpgradeTagDefinitionsCZL.Codeunit.al
    title: src/Apps/CZ/CoreLocalizationPack/app/Src/Codeunits/UpgradeTagDefinitionsCZL.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations:
    - localization/cz
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/11242
object_type: codeunit
object_id: 31016
name: Upgrade Tag Definitions CZL
namespace: System.Upgrade
app: CoreLocalizationPack
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
country: CZ
counts:
  fields: 0
  procedures: 38
  events: 0
  subscribers: 2
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
---

# Codeunit 31016 "Upgrade Tag Definitions CZL" (CZ)

> Codeunit 31016 "Upgrade Tag Definitions CZL" (CZ) in the CZ country layer (System.Upgrade). 36 public procedures, 2 event subscribers. Introduced in BC29, still in BC30.

CZ country layer · System.Upgrade · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/CZ/CoreLocalizationPack/app/Src/Codeunits/UpgradeTagDefinitionsCZL.Codeunit.al) · facts from BC29

An object of the [CZ localization](../../localizations/cz.md), not part of W1.

## Event subscriptions

- RegisterPerDatabaseTags subscribes to Codeunit "Upgrade Tag" OnGetPerDatabaseUpgradeTags
- RegisterPerCompanyTags subscribes to Codeunit "Upgrade Tag" OnGetPerCompanyUpgradeTags

## Procedures

- `GetDataVersion174PerDatabaseUpgradeTag(): Code[250]`
- `GetDataVersion180PerDatabaseUpgradeTag(): Code[250]`
- `GetDataVersion183PerDatabaseUpgradeTag(): Code[250]`
- `GetDataVersion189PerDatabaseUpgradeTag(): Code[250]`
- `GetDataVersion200PerDatabaseUpgradeTag(): Code[250]`
- `GetDataVersion174PerCompanyUpgradeTag(): Code[250]`
- `GetDataVersion180PerCompanyUpgradeTag(): Code[250]`
- `GetDataVersion183PerCompanyUpgradeTag(): Code[250]`
- `GetDataVersion189PerCompanyUpgradeTag(): Code[250]`
- `GetDataVersion200PerCompanyUpgradeTag(): Code[250]`
- `GetReportBlanketPurchaseOrderCZUpgradeTag(): Code[250]`
- `GetReplaceVATDateCZLVATEntriesUpgradeTag(): Code[250]`
- `GetReplaceVATDateCZLGLEntriesUpgradeTag(): Code[250]`
- `GetReplaceVATDateCZLSalesUpgradeTag(): Code[250]`
- `GetReplaceVATDateCZLPurchaseUpgradeTag(): Code[250]`
- `GetReplaceVATDateCZLServiceUpgradeTag(): Code[250]`
- `GetReplaceVATDateCZLSetupUpgradeTag(): Code[250]`
- `GetReplaceAllowAlterPostingGroupsUpgradeTag(): Code[250]`
- `GetReplaceAllowAlterPostingGroupsPermissionUpgradeTag(): Code[250]`
- `GetUseW1RegistrationNumberUpgradeTag(): Code[250]`
- `GetReportPostedDirectTransferCZUpgradeTag(): Code[250]`
- `GetEU3PartyTradePurchaseUpgradeTag(): Code[250]`
- `GetStatutoryReportingSetupCityUpgradeTag(): Code[250]`
- `GetSubstCustVendPostingGroupUpgradeTag(): Code[250]`
- `GetVATStatementReportExtensionUpgradeTag(): Code[250]`
- `GetAllowVATPostingUpgradeTag(): Code[250]`
- `GetOriginalVATAmountsInVATEntriesUpgradeTag(): Code[250]`
- `GetFunctionalCurrencyUpgradeTag(): Code[250]` (obsolete 27.0: This function will be removed in a future version.)
- `GetEnableNonDeductibleVATCZUpgradeTag(): Code[250]`
- `GetVATReportUpgradeTag(): code[250]`
- `SetEnableNonDeductibleVATCZUpgradeTag(): Code[250]`
- `GetUseW1RegistrationNumberFromSalesDocUpgradeTag(): Code[250]`
- `GetUseVATReturnPeriodInsteadOfVATPeriodUpgradeTag(): Code[250]`
- `GetOriginalVATAmountsACYInVATEntriesUpgradeTag(): Code[250]`
- `GetChangeDefaultDraftInvoiceAndProformaReportLayoutsUpgradeTag(): Code[250]`
- `GetStatutoryReportingSetupOfficialFullNameUpgradeTag(): Code[250]` (internal)

## Recent changes

- 2026-09-14 [#11242 [main] bug 640925 - Enhance draft and proforma invoice report layouts and upgrade tag definitions](../../changes/bcapps/11242.md) (main, BC30, fix)

## Across versions

- Present in: BC29-30
- Changed (declaration) in: none

## Deprecations

- procedure GetFunctionalCurrencyUpgradeTag: Pending 27.0 (#if not CLEAN27), "This function will be removed in a future version."

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: "Upgrade Tag Definitions CZL")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.

A CZ country object, not part of W1: the default corpus does not have it; `bcatlas_list_countries` shows which countries the atlas has.
