---
id: object/codeunit/11729-cz
type: object
title: Codeunit 11729 "Cash Document-Post CZP" (CZ)
summary: Codeunit 11729 "Cash Document-Post CZP" (CZ) in the CZ country layer (Microsoft.Finance.CashDesk). 5 public procedures, 19 events, 1 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: 371762d1152f9f03e58bbac9deea92ed4c6a42794c4962c739d4ac7b8e13472e
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/CZ/CashDeskLocalization/app/Src/Codeunits/CashDocumentPostCZP.Codeunit.al
    title: src/Apps/CZ/CashDeskLocalization/app/Src/Codeunits/CashDocumentPostCZP.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/12134
object_type: codeunit
object_id: 11729
name: Cash Document-Post CZP
namespace: Microsoft.Finance.CashDesk
app: CashDeskLocalization
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: 29
  events: 19
  subscribers: 1
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
---

# Codeunit 11729 "Cash Document-Post CZP" (CZ)

> Codeunit 11729 "Cash Document-Post CZP" (CZ) in the CZ country layer (Microsoft.Finance.CashDesk). 5 public procedures, 19 events, 1 event subscribers. Introduced in BC29, still in BC30.

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

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

## Properties

| Property | Value |
|---|---|
| TableNo | Cash Document Header CZP |
| Permissions | tabledata "Posted Cash Document Hdr. CZP" = i, tabledata "Posted Cash Document Line CZP" = im |

## Events published

- `OnAfterFinalizePosting(var CashDocumentHeaderCZP: Record "Cash Document Header CZP"; var PostedCashDocumentHdrCZP: Record "Posted Cash Document Hdr. CZP"; var GenJnlPostLine: Codeunit "Gen. Jnl.-Post Line")` (integration)
- `OnAfterFinalizePostingPreview(var CashDocumentHeaderCZP: Record "Cash Document Header CZP"; var PostedCashDocumentHdrCZP: Record "Posted Cash Document Hdr. CZP"; var GenJnlPostLine: Codeunit "Gen. Jnl.-Post Line")` (integration)
- `OnAfterPostCashDoc(var CashDocumentHeaderCZP: Record "Cash Document Header CZP"; var GenJnlPostLine: Codeunit "Gen. Jnl.-Post Line"; PostedCashDocumentHeaderNo: Code[20])` (integration)
- `OnAfterPostedCashDocHeaderInsert(var PostedCashDocumentHdrCZP: Record "Posted Cash Document Hdr. CZP"; var CashDocumentHeaderCZP: Record "Cash Document Header CZP")` (integration)
- `OnAfterPostedCashDocLineInsert(var PostedCashDocumentLineCZP: Record "Posted Cash Document Line CZP"; var PostedCashDocumentHdrCZP: Record "Posted Cash Document Hdr. CZP"; var CashDocumentLineCZP: Record "Cash Document Line CZP")` (integration)
- `OnAfterInitGenJnlLine(var GenJournalLine: Record "Gen. Journal Line"; CashDocumentHeaderCZP: Record "Cash Document Header CZP"; CashDocumentLineCZP: Record "Cash Document Line CZP")` (integration)
- `OnBeforeDeleteAfterPosting(var CashDocumentHeaderCZP: Record "Cash Document Header CZP"; var PostedCashDocumentHdrCZP: Record "Posted Cash Document Hdr. CZP")` (integration)
- `OnBeforePostCashDoc(var CashDocumentHeaderCZP: Record "Cash Document Header CZP")` (integration)
- `OnBeforePostCashDocHeader(var GenJournalLine: Record "Gen. Journal Line"; var CashDocumentHeaderCZP: Record "Cash Document Header CZP"; var GenJnlPostLine: Codeunit "Gen. Jnl.-Post Line")` (integration)
- `OnBeforePostCashDocLine(var GenJournalLine: Record "Gen. Journal Line"; var CashDocumentLineCZP: Record "Cash Document Line CZP"; var GenJnlPostLine: Codeunit "Gen. Jnl.-Post Line")` (integration)
- `OnBeforePostedCashDocHeaderInsert(var PostedCashDocumentHdrCZP: Record "Posted Cash Document Hdr. CZP"; var CashDocumentHeaderCZP: Record "Cash Document Header CZP")` (integration)
- `OnBeforePostedCashDocLineInsert(var PostedCashDocumentLineCZP: Record "Posted Cash Document Line CZP"; var PostedCashDocumentHdrCZP: Record "Posted Cash Document Hdr. CZP"; var CashDocumentLineCZP: Record "Cash Document Line CZP")` (integration)
- `OnRunOnBeforeDocumentRelease(CashDocumentHeaderCZP: Record "Cash Document Header CZP")` (integration)
- `OnRunOnAfterDocumentRelease(CashDocumentHeaderCZP: Record "Cash Document Header CZP")` (integration)
- `OnRunOnBeforeCheckCashDocument(CashDocumentHeaderCZP: Record "Cash Document Header CZP"; var NoCheckCashDocument: Boolean)` (integration)
- `OnRunOnAfterCheckCashDocument(CashDocumentHeaderCZP: Record "Cash Document Header CZP"; NoCheckCashDocument: Boolean)` (integration)
- `OnAfterPostLines(CashDocumentHeaderCZP: Record "Cash Document Header CZP"; PostedCashDocumentHdrCZP: Record "Posted Cash Document Hdr. CZP"; var GenJnlPostLine: Codeunit "Gen. Jnl.-Post Line")` (integration)
- `OnInitGenJnlLineOnBeforeSetAccount(var GenJournalLine: Record "Gen. Journal Line"; CashDocumentHeaderCZP: Record "Cash Document Header CZP"; CashDocumentLineCZP: Record "Cash Document Line CZP")` (integration)
- `OnAfterPostCashDocLine(var GenJournalLine: Record "Gen. Journal Line"; var CashDocumentLineCZP: Record "Cash Document Line CZP"; GLEntryNo: Integer; var GenJnlPostLine: Codeunit "Gen. Jnl.-Post Line")` (integration)

## Event subscriptions

- CheckCashDeskOnAfterCheckGenJnlLine subscribes to Codeunit "Gen. Jnl.-Check Line" OnAfterCheckGenJnlLine

## Procedures

- `InitGenJnlLine(InitCashDocumentHeaderCZP: Record "Cash Document Header CZP"; InitCashDocumentLineCZP: Record "Cash Document Line CZP")`
- `GetGenJnlLine(var TempNewGenJournalLine: Record "Gen. Journal Line" temporary)`
- `DeleteCashDocumentHeader(var CashDocumentHeaderCZP: Record "Cash Document Header CZP")`
- `SetPreviewMode(NewPreviewMode: Boolean)`
- `SetGenJnlPostLine(var NewGenJnlPostLine: Codeunit "Gen. Jnl.-Post Line")`

Plus 4 local procedures.

## Triggers

OnRun

## Recent changes

- 2026-10-01 [#12134 [main] bug 652313 - Add Approvals Management integration to compensation, payment order and cash document processing](../../changes/bcapps/12134.md) (main, BC30, fix)

## Across versions

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

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: "Cash Document-Post CZP")`, 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.
