---
id: object/tableextension/31004-cz
type: object
title: Table extension 31004 "Gen. Journal Line CZZ" (CZ)
summary: Table extension 31004 "Gen. Journal Line CZZ" (CZ) in the CZ country layer (Microsoft.Finance.AdvancePayments), extends "Gen. Journal Line". 4 fields, 13 public procedures, 9 events. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - tableextension
  - 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: 7738ca1f314bf72460264faa1021ed1b7b9c22a6083471bee397421527e76a67
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/CZ/AdvancePaymentsLocalization/app/Src/TableExtensions/GenJournalLineCZZ.TableExt.al
    title: src/Apps/CZ/AdvancePaymentsLocalization/app/Src/TableExtensions/GenJournalLineCZZ.TableExt.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: tableextension
object_id: 31004
name: Gen. Journal Line CZZ
namespace: Microsoft.Finance.AdvancePayments
app: AdvancePaymentsLocalization
extends: Gen. Journal Line
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: 4
  procedures: 22
  events: 9
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
---

# Table extension 31004 "Gen. Journal Line CZZ" (CZ)

> Table extension 31004 "Gen. Journal Line CZZ" (CZ) in the CZ country layer (Microsoft.Finance.AdvancePayments), extends "Gen. Journal Line". 4 fields, 13 public procedures, 9 events. Introduced in BC29, still in BC30.

CZ country layer · Microsoft.Finance.AdvancePayments · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/CZ/AdvancePaymentsLocalization/app/Src/TableExtensions/GenJournalLineCZZ.TableExt.al) · facts from BC29

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

## 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 |
|---|---|---|---|---|
| 31010 | Advance Letter No. CZZ | Code[20] | Advance Letter No. <small>caption</small> | TableRelation if ("Account Type" = const(Customer), "Document Type" = const(Payment)) "Sales Adv. Letter Header CZZ" where("Bill-to Customer No." = field("Account No."), "Currency Code" = field("Currency Code"), Status = const("To Pay")) else if ("Account Type" = const(Vendor), "Document Type" = const(Payment)) "...; DataClassification CustomerContent |
| 31011 | Adv. Letter No. (Entry) CZZ | Code[20] | Advance Letter No. (Entry) <small>caption</small> | not editable; DataClassification CustomerContent |
| 31012 | Use Advance G/L Account CZZ | Boolean | Use Advance G/L Account <small>caption</small> | not editable; DataClassification CustomerContent |
| 31013 | Adv. Letter Template Code CZZ | Code[20] | Advance Letter Template Code <small>caption</small> | not editable; DataClassification CustomerContent |

## Events published

- `OnAfterInitNewLineCZZ(var GenJournalLine: Record "Gen. Journal Line")` (integration)
- `OnAfterCopyGenJournalLineFromSalesAdvLetterHeaderCZZ(SalesAdvLetterHeaderCZZ: Record "Sales Adv. Letter Header CZZ"; var GenJournalLine: Record "Gen. Journal Line")` (integration)
- `OnAfterCopyGenJournalLineFromSalesAdvLetterEntryCZZ(SalesAdvLetterEntryCZZ: Record "Sales Adv. Letter Entry CZZ"; var GenJournalLine: Record "Gen. Journal Line")` (integration)
- `OnAfterCopyGenJnlLineFromPurchAdvLetterHeaderCZZ(PurchAdvLetterHeaderCZZ: Record "Purch. Adv. Letter Header CZZ"; var GenJournalLine: Record "Gen. Journal Line")` (integration)
- `OnAfterCopyGenJnlLineFromPurchAdvLetterEntryCZZ(PurchAdvLetterEntryCZZ: Record "Purch. Adv. Letter Entry CZZ"; var GenJournalLine: Record "Gen. Journal Line")` (integration)
- `OnAfterCopyFromAdvancePostingBufferCZZ(AdvancePostingBufferCZZ: Record "Advance Posting Buffer CZZ"; var GenJournalLine: Record "Gen. Journal Line")` (integration)
- `OnAfterCopyFromAdvancePostingBufferAmountsCZZ(AdvancePostingBufferCZZ: Record "Advance Posting Buffer CZZ"; var GenJournalLine: Record "Gen. Journal Line")` (integration)
- `OnAfterCopyFromCustLedgerEntryCZZ(CustLedgerEntry: Record "Cust. Ledger Entry"; var GenJournalLine: Record "Gen. Journal Line")` (integration)
- `OnAfterCopyFromVendorLedgerEntryCZZ(VendorLedgerEntry: Record "Vendor Ledger Entry"; var GenJournalLine: Record "Gen. Journal Line")` (integration)

## Procedures

- `InitNewLineCZZ(PostingDate: Date; DocumentDate: Date; VATDate: Date; OriginalDocumentVATDate: Date; PostingDescription: Text[100])`
- `InitNewLineCZZ(PostingDate: Date; DocumentDate: Date; VATDate: Date; OriginalDocumentVATDate: Date; PostingDescription: Text[100]; ShortcutDim1Code: Code[20]; ShortcutDim2Code: Code[20]; DimSetID: Integer; ReasonCode: Code[10])`
- `InitNewLineCZZ(CustLedgerEntry: Record "Cust. Ledger Entry")`
- `InitNewLineCZZ(VendorLedgerEntry: Record "Vendor Ledger Entry")`
- `CopyFromSalesAdvLetterHeaderCZZ(SalesAdvLetterHeaderCZZ: Record "Sales Adv. Letter Header CZZ")`
- `CopyFromSalesAdvLetterEntryCZZ(SalesAdvLetterEntryCZZ: Record "Sales Adv. Letter Entry CZZ")`
- `CopyFromPurchAdvLetterHeaderCZZ(PurchAdvLetterHeaderCZZ: Record "Purch. Adv. Letter Header CZZ")`
- `CopyFromPurchAdvLetterEntryCZZ(PurchAdvLetterEntryCZZ: Record "Purch. Adv. Letter Entry CZZ")`
- `CopyFromAdvancePostingBufferCZZ(AdvancePostingBufferCZZ: Record "Advance Posting Buffer CZZ")`
- `CopyFromAdvancePostingBufferAmountsCZZ(AdvancePostingBufferCZZ: Record "Advance Posting Buffer CZZ")`
- `CopyFromCustLedgerEntryCZZ(CustLedgerEntry: Record "Cust. Ledger Entry")`
- `CopyFromVendorLedgerEntryCZZ(VendorLedgerEntry: Record "Vendor Ledger Entry")`
- `GetAdvanceGLAccountNoCZZ(): Code[20]`

## 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: "tableextension", object_name: "Gen. Journal Line CZZ")`, 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.
