---
id: object/table/31273-cz
type: object
title: Table 31273 "Compensation Line CZC" (CZ)
summary: Table 31273 "Compensation Line CZC" (CZ) in the CZ country layer (Microsoft.Finance.Compensations). 25 fields, 12 public procedures, 3 events. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - table
  - 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: d8061ed02fc3e5c7996f4aa925005ee4edbd73c21a31d1b93c2ea27db1a1558d
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/CZ/CompensationLocalization/app/Src/Tables/CompensationLineCZC.Table.al
    title: src/Apps/CZ/CompensationLocalization/app/Src/Tables/CompensationLineCZC.Table.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: table
object_id: 31273
name: Compensation Line CZC
caption: Compensation Line
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: 25
  procedures: 22
  events: 3
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
---

# Table 31273 "Compensation Line CZC" (CZ)

> Table 31273 "Compensation Line CZC" (CZ) in the CZ country layer (Microsoft.Finance.Compensations). 25 fields, 12 public procedures, 3 events. Introduced in BC29, still in BC30.

CZ country layer · Microsoft.Finance.Compensations · captioned "Compensation Line" · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/CZ/CompensationLocalization/app/Src/Tables/CompensationLineCZC.Table.al) · facts from BC29

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

## Properties

| Property | Value |
|---|---|
| Caption | Compensation Line |

## Fields

Explanation: the field's ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.

| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 5 | Compensation No. | Code[20] | — | TableRelation Compensation Header CZC; DataClassification CustomerContent |
| 10 | Line No. | Integer | — | DataClassification CustomerContent |
| 15 | Source Type | Enum "Compensation Source Type CZC" | — | enum Compensation Source Type CZC; DataClassification CustomerContent |
| 20 | Source No. | Code[20] | — | TableRelation if ("Source Type" = const(Customer)) Customer."No." else if ("Source Type" = const(Vendor)) Vendor."No."; DataClassification CustomerContent |
| 22 | Posting Group | Code[20] | — | TableRelation if ("Source Type" = const(Customer)) "Customer Posting Group" else if ("Source Type" = const(Vendor)) "Vendor Posting Group"; DataClassification CustomerContent |
| 23 | Shortcut Dimension 1 Code | Code[20] | — | TableRelation "Dimension Value".Code where("Global Dimension No." = const(1)); DataClassification CustomerContent |
| 24 | Shortcut Dimension 2 Code | Code[20] | — | TableRelation "Dimension Value".Code where("Global Dimension No." = const(2)); DataClassification CustomerContent |
| 25 | Source Entry No. | Integer | — | TableRelation if ("Source Type" = const(Customer)) "Cust. Ledger Entry"."Entry No." where(Open = const(true)) else if ("Source Type" = const(Vendor)) "Vendor Ledger Entry"."Entry No." where(Open = const(true)); DataClassification CustomerContent |
| 30 | Posting Date | Date | — | DataClassification CustomerContent |
| 35 | Document Type | Enum "Gen. Journal Document Type" | — | enum [Enum 6 "Gen. Journal Document Type"](../enum/6.md); DataClassification CustomerContent |
| 40 | Document No. | Code[20] | — | DataClassification CustomerContent |
| 45 | Description | Text[100] | — | DataClassification CustomerContent |
| 50 | Variable Symbol | Code[10] | — | DataClassification CustomerContent |
| 75 | Currency Code | Code[10] | — | TableRelation Currency; DataClassification CustomerContent |
| 77 | Currency Factor | Decimal | — | not editable; DataClassification CustomerContent |
| 80 | Ledg. Entry Original Amount | Decimal | — | not editable; DataClassification CustomerContent |
| 85 | Ledg. Entry Remaining Amount | Decimal | — | DataClassification CustomerContent |
| 87 | Amount | Decimal | — | DataClassification CustomerContent |
| 88 | Remaining Amount | Decimal | — | DataClassification CustomerContent |
| 90 | Ledg. Entry Original Amt.(LCY) | Decimal | — | not editable; DataClassification CustomerContent |
| 95 | Ledg. Entry Rem. Amt. (LCY) | Decimal | — | DataClassification CustomerContent |
| 97 | Amount (LCY) | Decimal | — | DataClassification CustomerContent |
| 98 | Remaining Amount (LCY) | Decimal | — | DataClassification CustomerContent |
| 100 | Manual Change Only | Boolean | — | DataClassification CustomerContent |
| 480 | Dimension Set ID | Integer | — | TableRelation Dimension Set Entry; not editable; DataClassification CustomerContent |

## Keys

- PK: Compensation No., Line No. (clustered)
- Key2: Compensation No., Source Type, Source Entry No.

## Events published

- `OnSourceEntryNoLookupOnAfterCustLedgerEntryFilter(CustLedgerEntry: Record "Cust. Ledger Entry")` (integration)
- `OnBeforeCheckCustLedgerEntry(CompensationLineCZC: Record "Compensation Line CZC"; var CustLedgerEntry: Record "Cust. Ledger Entry"; var IsHandled: Boolean)` (integration)
- `OnBeforeCheckVendorLedgerEntry(CompensationLineCZC: Record "Compensation Line CZC"; var VendorLedgerEntry: Record "Vendor Ledger Entry"; var IsHandled: Boolean)` (integration)

## Procedures

- `ShowDimensions()`
- `CopyLedgerEntryDimensions()`
- `SuspendStatusCheck(Suspend: Boolean)`
- `SetCompensationHeaderCZC(NewCompensationHeader: Record "Compensation Header CZC")`
- `ConvertLCYAmounts()`
- `ConvertAmounts()`
- `CheckPostingDate()`
- `ValidateShortcutDimCode(FieldNumber: Integer; var ShortcutDimCode: Code[20])`
- `LookupShortcutDimCode(FieldNumber: Integer; var ShortcutDimCode: Code[20])`
- `ShowShortcutDimCode(var ShortcutDimCode: array[8] of Code[20])`
- `CalcRelatedAmountToApply(): Decimal`
- `DrillDownRelatedAmountToApply()`

Plus 7 local procedures.

## Triggers

OnDelete, OnInsert, OnModify

## 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: "table", object_name: "Compensation Line 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.
