---
id: object/codeunit/31269-cz
type: object
title: Codeunit 31269 "Compensation - Post CZC" (CZ)
summary: Codeunit 31269 "Compensation - Post CZC" (CZ) in the CZ country layer (Microsoft.Finance.Compensations). 1 public procedures, 6 events. 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: a41edf17c0e886f42bf29cfd88a4ebde78777978cbe2d61d53565caf867356b9
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/CZ/CompensationLocalization/app/Src/Codeunits/CompensationPostCZC.Codeunit.al
    title: src/Apps/CZ/CompensationLocalization/app/Src/Codeunits/CompensationPostCZC.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: 31269
name: Compensation - Post CZC
namespace: Microsoft.Finance.Compensations
app: CompensationLocalization
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: 9
  events: 6
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
---

# Codeunit 31269 "Compensation - Post CZC" (CZ)

> Codeunit 31269 "Compensation - Post CZC" (CZ) in the CZ country layer (Microsoft.Finance.Compensations). 1 public procedures, 6 events. Introduced in BC29, still in BC30.

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

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

## Properties

| Property | Value |
|---|---|
| TableNo | Compensation Header CZC |
| Permissions | tabledata "Posted Compensation Header CZC" = i, tabledata "Posted Compensation Line CZC" = i |

## Events published

- `OnBeforePostCompensationCZC(var CompensationHeaderCZC: Record "Compensation Header CZC")` (integration)
- `OnAfterPostedCompensationHeaderInsertCZC(var CompensationHeaderCZC: Record "Compensation Header CZC"; var PostedCompensationHeaderCZC: Record "Posted Compensation Header CZC")` (integration)
- `OnAfterPostedCompensationLineInsertCZC(var CompensationLineCZC: Record "Compensation Line CZC"; var PostedCompensationLineCZC: Record "Posted Compensation Line CZC")` (integration)
- `OnAfterPostCompensationCZC(var CompensationHeaderCZC: Record "Compensation Header CZC"; var GenJnlPostLine: Codeunit "Gen. Jnl.-Post Line"; PostedCompensationHeaderNo: Code[20])` (integration)
- `OnRunOnBeforeRunGenJnlPostLine(var GenJournalLine: Record "Gen. Journal Line"; var CompensationLineCZC: Record "Compensation Line CZC"; var TempAmount: Decimal)` (integration)
- `OnRunOnBeforeRunBalanceGenJnlPostLine(var GenJournalLine: Record "Gen. Journal Line"; var CompensationLineCZC: Record "Compensation Line CZC")` (integration)

## Procedures

- `SetPreviewMode(NewPreviewMode: Boolean)`

Plus 2 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: "Compensation - Post CZC")`, 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.
