---
id: object/table/31005-cz
type: object
title: Table 31005 "Sales Adv. Letter Line CZZ" (CZ)
summary: Table 31005 "Sales Adv. Letter Line CZZ" (CZ) in the CZ country layer (Microsoft.Finance.AdvancePayments). 15 fields, 4 public procedures, 9 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: caa918445361efd302e91ca90f7a03aee0528f97a1f6e86605ba1d0339d65593
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/CZ/AdvancePaymentsLocalization/app/Src/Tables/SalesAdvLetterLineCZZ.Table.al
    title: src/Apps/CZ/AdvancePaymentsLocalization/app/Src/Tables/SalesAdvLetterLineCZZ.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: 31005
name: Sales Adv. Letter Line CZZ
caption: Sales Adv. Letter Line
namespace: Microsoft.Finance.AdvancePayments
app: AdvancePaymentsLocalization
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: 15
  procedures: 14
  events: 9
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
---

# Table 31005 "Sales Adv. Letter Line CZZ" (CZ)

> Table 31005 "Sales Adv. Letter Line CZZ" (CZ) in the CZ country layer (Microsoft.Finance.AdvancePayments). 15 fields, 4 public procedures, 9 events. Introduced in BC29, still in BC30.

CZ country layer · Microsoft.Finance.AdvancePayments · captioned "Sales Adv. Letter Line" · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/CZ/AdvancePaymentsLocalization/app/Src/Tables/SalesAdvLetterLineCZZ.Table.al) · facts from BC29

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

## Properties

| Property | Value |
|---|---|
| Caption | Sales Adv. Letter Line |
| DataClassification | CustomerContent |

## 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 |
|---|---|---|---|---|
| 1 | Document No. | Code[20] | — | TableRelation Sales Adv. Letter Header CZZ |
| 2 | Line No. | Integer | — |  |
| 5 | Description | Text[100] | — |  |
| 10 | VAT Bus. Posting Group | Code[20] | — | TableRelation VAT Business Posting Group; not editable |
| 11 | VAT Prod. Posting Group | Code[20] | — | TableRelation VAT Product Posting Group |
| 15 | Amount | Decimal | — | not editable |
| 16 | VAT Amount | Decimal | — | not editable |
| 17 | Amount Including VAT | Decimal | — |  |
| 20 | Amount (LCY) | Decimal | — | not editable |
| 21 | VAT Amount (LCY) | Decimal | — | not editable |
| 22 | Amount Including VAT (LCY) | Decimal | — | not editable |
| 25 | VAT % | Decimal | — | not editable |
| 26 | VAT Calculation Type | Enum "Tax Calculation Type" | — | enum [Enum 254 "Tax Calculation Type"](../enum/254.md); not editable |
| 27 | VAT Identifier | Code[20] | — | not editable |
| 28 | VAT Clause Code | Code[20] | — | TableRelation VAT Clause |

## Keys

- PK: Document No., Line No. (clustered)

## Events published

- `OnValidateVATProdPostingGroupOnBeforeCheckVATCalcType(var SalesAdvLetterLineCZZ: Record "Sales Adv. Letter Line CZZ"; VATPostingSetup: Record "VAT Posting Setup"; var IsHandled: Boolean)` (integration)
- `OnValidateVATProdPostingGroupOnBeforeUpdateAmounts(var SalesAdvLetterLineCZZ: Record "Sales Adv. Letter Line CZZ"; xSalesAdvLetterLineCZZ: Record "Sales Adv. Letter Line CZZ")` (integration)
- `OnBeforeGetHeader(var SalesAdvLetterLineCZZ: Record "Sales Adv. Letter Line CZZ"; var SalesAdvLetterHeaderCZZ: Record "Sales Adv. Letter Header CZZ"; var IsHanded: Boolean; var Currency: Record Currency)` (integration)
- `OnAfterGetHeader(var SalesAdvLetterLineCZZ: Record "Sales Adv. Letter Line CZZ"; var SalesAdvLetterHeaderCZZ: Record "Sales Adv. Letter Header CZZ"; var Currency: Record Currency)` (integration)
- `OnBeforeUpdateAmounts(var SalesAdvLetterLineCZZ: Record "Sales Adv. Letter Line CZZ"; xSalesAdvLetterLineCZZ: Record "Sales Adv. Letter Line CZZ"; CurrentFieldNo: Integer; var IsHandled: Boolean)` (integration)
- `OnAfterUpdateAmounts(var SalesAdvLetterLineCZZ: Record "Sales Adv. Letter Line CZZ"; var xSalesAdvLetterLineCZZ: Record "Sales Adv. Letter Line CZZ"; CurrentFieldNo: Integer)` (integration)
- `OnBeforeTestStatusOpen(var SalesAdvLetterLineCZZ: Record "Sales Adv. Letter Line CZZ"; var SalesAdvLetterHeaderCZZ: Record "Sales Adv. Letter Header CZZ")` (integration)
- `OnAfterTestStatusOpen(var SalesAdvLetterLineCZZ: Record "Sales Adv. Letter Line CZZ"; var SalesAdvLetterHeaderCZZ: Record "Sales Adv. Letter Header CZZ")` (integration)
- `OnDeleteOnBeforeTestStatusOpen(var SalesAdvLetterLineCZZ: Record "Sales Adv. Letter Line CZZ"; var IsHandled: Boolean)` (integration)

## Procedures

- `GetHeader()`
- `TestStatusOpen()`
- `TestJobRelation()`
- `SuspendJobRelationCheck(Suspend: Boolean)`

Plus 1 local procedures.

## Triggers

OnInsert, OnDelete

## 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: "Sales Adv. Letter 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.
