---
id: object/codeunit/11742-cz
type: object
title: Codeunit 11742 "VAT Date Handler CZL" (CZ)
summary: Codeunit 11742 "VAT Date Handler CZL" (CZ) in the CZ country layer (Microsoft.Finance.VAT.Calculation). 8 public procedures, 7 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: 3dc1a5010bd7cc1b56618db12b346c397d18c489ae54c2171f00ed6a284dcdcd
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/CZ/CoreLocalizationPack/app/Src/Codeunits/VATDateHandlerCZL.Codeunit.al
    title: src/Apps/CZ/CoreLocalizationPack/app/Src/Codeunits/VATDateHandlerCZL.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations:
    - localization/cz
  videos: []
  posts: []
  guidelines: []
object_type: codeunit
object_id: 11742
name: VAT Date Handler CZL
namespace: Microsoft.Finance.VAT.Calculation
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: 15
  events: 0
  subscribers: 7
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
---

# Codeunit 11742 "VAT Date Handler CZL" (CZ)

> Codeunit 11742 "VAT Date Handler CZL" (CZ) in the CZ country layer (Microsoft.Finance.VAT.Calculation). 8 public procedures, 7 event subscribers. Introduced in BC29, still in BC30.

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

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

## Properties

| Property | Value |
|---|---|
| Permissions | tabledata "G/L Entry" = m, tabledata "VAT Entry" = m, tabledata "Sales Invoice Header" = m, tabledata "Sales Cr.Memo Header" = m, tabledata "Purch. Inv. Header" = m, tabledata "Purch. Cr. Memo Hdr." = m, tabledata "Service Invoice Header" = m, tabledata "Service Cr.Memo Header" = m, tabledata "Cust.... |

## Event subscriptions

- UpdateVatDateOnAfterCopyGenJnlLineFromGLEntry subscribes to Table "G/L Entry" OnAfterCopyGLEntryFromGenJnlLine
- UpdateInvoicePostingBufferOnAfterPrepareSales subscribes to Codeunit "Microsoft.Sales.Posting."Sales Post Invoice Events"" OnAfterPrepareInvoicePostingBuffer
- UpdateInvoicePostingBufferOnAfterPreparePurchase subscribes to Codeunit "Microsoft.Purchases.Posting."Purch. Post Invoice Events"" OnAfterPrepareInvoicePostingBuffer
- UpdateInvoicePostingBufferOnAfterPrepareService subscribes to Codeunit "Service Post Invoice Events" OnAfterPrepareInvoicePostingBuffer
- ClearVatDateOnPostInvtPostBufOnBeforeSetAmt subscribes to Codeunit "Inventory Posting To G/L" OnPostInvtPostBufOnBeforeSetAmt
- FillVATReportingDateOnBeforeGLLedgEntryModify subscribes to Codeunit "G/L Entry-Edit" OnBeforeGLLedgEntryModify
- InitVATReportingDateUsageOnAfteInsertEvent subscribes to Table "General Ledger Setup" OnAfterInsertEvent

## Procedures

- `VATPeriodCZLCheck(VATDate: Date)` (obsolete 28.0: Replaced by CheckDateAllowed function in VAT Reporting Date Mgt. codeunit.)
- `IsVATDateInAllowedPeriod(VATDate: Date; var SetupRecordID: RecordID; var FieldNo: Integer): Boolean` (internal)
- `IsVATDateInAllowedPeriod(VATDate: Date): Boolean` (internal)
- `CheckVATDateCZL(GenJournalLine: Record "Gen. Journal Line")`
- `CheckVATDateCZL(var SalesHeader: Record "Sales Header")`
- `CheckVATDateCZL(var PurchaseHeader: Record "Purchase Header")`
- `CheckVATDateCZL(var ServiceHeader: Record "Service Header")`
- `InitVATDateFromRecordCZL(TableNo: Integer)`

## Across versions

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

## Deprecations

- procedure VATPeriodCZLCheck: Pending 28.0 (#if not CLEAN28), "Replaced by CheckDateAllowed function in VAT Reporting Date Mgt. codeunit."

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: "VAT Date Handler 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.
