---
id: object/table/383
type: object
title: Table 383 "Detailed CV Ledg. Entry Buffer"
summary: Table 383 "Detailed CV Ledg. Entry Buffer" in Base Application (Microsoft.Finance.ReceivablesPayables). 42 fields, 7 public procedures, 10 events. Present since at least BC23, still in BC30, changed in BC24, BC27-28.
tier: official
language: en
tags:
  - table
  - base application
versions:
  introduced: null
  last_changed: "28"
  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: c92b6860e0bbe3c8f047bbf6b3c68c87fd6d0256080cef471d719da46ef69d95
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Finance/ReceivablesPayables/DetailedCVLedgEntryBuffer.Table.al
    title: src/Layers/W1/BaseApp/Finance/ReceivablesPayables/DetailedCVLedgEntryBuffer.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations:
    - localization/au
    - localization/cz
    - localization/es
    - localization/it
    - localization/nz
    - localization/ru
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 383
name: Detailed CV Ledg. Entry Buffer
namespace: Microsoft.Finance.ReceivablesPayables
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "24"
  - "27"
  - "28"
source_major: "29"
obsolete: null
countries:
  - au
  - cz
  - es
  - it
  - nz
  - ru
ms_search_form_ids: []
counts:
  fields: 42
  procedures: 18
  events: 10
  subscribers: 0
relations:
  out: 13
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Table 383 "Detailed CV Ledg. Entry Buffer"

> Table 383 "Detailed CV Ledg. Entry Buffer" in Base Application (Microsoft.Finance.ReceivablesPayables). 42 fields, 7 public procedures, 10 events. Present since at least BC23, still in BC30, changed in BC24, BC27-28.

Base Application · Microsoft.Finance.ReceivablesPayables · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Finance/ReceivablesPayables/DetailedCVLedgEntryBuffer.Table.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Caption | Detailed CV Ledg. Entry Buffer |
| 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 | Entry No. | Integer | — | DataClassification SystemMetadata |
| 2 | CV Ledger Entry No. | Integer | — | DataClassification SystemMetadata |
| 3 | Entry Type | Enum "Detailed CV Ledger Entry Type" | — | enum [Enum 379 "Detailed CV Ledger Entry Type"](../enum/379.md); DataClassification SystemMetadata |
| 4 | Posting Date | Date | — | DataClassification SystemMetadata |
| 5 | Document Type | Enum "Gen. Journal Document Type" | — | enum [Enum 6 "Gen. Journal Document Type"](../enum/6.md); DataClassification SystemMetadata |
| 6 | Document No. | Code[20] | — | DataClassification SystemMetadata |
| 7 | Amount | Decimal | — | DataClassification SystemMetadata |
| 8 | Amount (LCY) | Decimal | — | DataClassification SystemMetadata |
| 9 | CV No. | Code[20] | — | DataClassification SystemMetadata |
| 10 | Currency Code | Code[10] | — | TableRelation [Table 4 "Currency"](../table/4.md); DataClassification SystemMetadata |
| 11 | User ID | Code[50] | — | TableRelation User."User Name"; DataClassification SystemMetadata |
| 12 | Source Code | Code[10] | — | TableRelation [Table 230 "Source Code"](../table/230.md) (Source Code); DataClassification SystemMetadata |
| 13 | Transaction No. | Integer | — | DataClassification SystemMetadata |
| 14 | Journal Batch Name | Code[10] | — | DataClassification SystemMetadata |
| 15 | Reason Code | Code[10] | — | TableRelation [Table 231 "Reason Code"](../table/231.md) (Reason Code); DataClassification SystemMetadata |
| 16 | Debit Amount | Decimal | — | DataClassification SystemMetadata |
| 17 | Credit Amount | Decimal | — | DataClassification SystemMetadata |
| 18 | Debit Amount (LCY) | Decimal | — | DataClassification SystemMetadata |
| 19 | Credit Amount (LCY) | Decimal | — | DataClassification SystemMetadata |
| 20 | Initial Entry Due Date | Date | — | DataClassification SystemMetadata |
| 21 | Initial Entry Global Dim. 1 | Code[20] | — | DataClassification SystemMetadata |
| 22 | Initial Entry Global Dim. 2 | Code[20] | — | DataClassification SystemMetadata |
| 23 | Gen. Posting Type | Enum "General Posting Type" | — | enum [Enum 57 "General Posting Type"](../enum/57.md); DataClassification SystemMetadata |
| 24 | Gen. Bus. Posting Group | Code[20] | — | TableRelation [Table 250 "Gen. Business Posting Group"](../table/250.md) (Gen. Business Posting Group); DataClassification SystemMetadata |
| 25 | Gen. Prod. Posting Group | Code[20] | — | TableRelation [Table 251 "Gen. Product Posting Group"](../table/251.md) (Gen. Product Posting Group); DataClassification SystemMetadata |
| 26 | Tax Area Code | Code[20] | — | TableRelation [Table 318 "Tax Area"](../table/318.md) (Tax Area); DataClassification SystemMetadata |
| 27 | Tax Liable | Boolean | — | DataClassification SystemMetadata |
| 28 | Tax Group Code | Code[20] | — | TableRelation [Table 321 "Tax Group"](../table/321.md) (Tax Group); DataClassification SystemMetadata |
| 29 | Use Tax | Boolean | — | DataClassification SystemMetadata |
| 30 | VAT Bus. Posting Group | Code[20] | — | TableRelation [Table 323 "VAT Business Posting Group"](../table/323.md) (VAT Business Posting Group); DataClassification SystemMetadata |
| 31 | VAT Prod. Posting Group | Code[20] | — | TableRelation [Table 324 "VAT Product Posting Group"](../table/324.md) (VAT Product Posting Group); DataClassification SystemMetadata |
| 32 | Additional-Currency Amount | Decimal | — | DataClassification SystemMetadata |
| 33 | VAT Amount (LCY) | Decimal | — | DataClassification SystemMetadata |
| 34 | Use Additional-Currency Amount | Boolean | — | DataClassification SystemMetadata |
| 35 | Initial Document Type | Enum "Gen. Journal Document Type" | — | enum [Enum 6 "Gen. Journal Document Type"](../enum/6.md); DataClassification SystemMetadata |
| 36 | Applied CV Ledger Entry No. | Integer | — | DataClassification SystemMetadata |
| 39 | Remaining Pmt. Disc. Possible | Decimal | — | DataClassification SystemMetadata |
| 40 | Max. Payment Tolerance | Decimal | — | DataClassification SystemMetadata |
| 41 | Tax Jurisdiction Code | Code[10] | — | TableRelation [Table 320 "Tax Jurisdiction"](../table/320.md) (Tax Jurisdiction); not editable; DataClassification SystemMetadata |
| 45 | Exch. Rate Adjmt. Reg. No. | Integer | — | TableRelation [Table 86 "Exch. Rate Adjmt. Reg."](../table/86.md) (Exch. Rate Adjmt. Reg.); not editable; DataClassification SystemMetadata |
| 6200 | Non-Deductible VAT Amount LCY | Decimal | — | not editable |
| 6201 | Non-Deductible VAT Amount ACY | Decimal | — | not editable |

## Keys

- Key1: Entry No. (clustered)
- Key2: CV Ledger Entry No., Entry Type
- Key3: CV No., Initial Entry Due Date, Posting Date, Currency Code
- Key4: CV No., Posting Date, Entry Type, Currency Code
- Key5: CV No., Initial Document Type, Document Type
- Key6: Document Type, Document No., Posting Date
- Key7: Initial Document Type, CV No., Posting Date, Currency Code, Entry Type
- Key8: CV No., Initial Entry Due Date, Posting Date, Initial Entry Global Dim. 1, Initial Entry Global Dim. 2, Currency Code
- Key9: CV No., Posting Date, Entry Type, Initial Entry Global Dim. 1, Initial Entry Global Dim. 2, Currency Code
- Key10: CV No., Initial Document Type, Document Type, Initial Entry Global Dim. 1, Initial Entry Global Dim. 2
- Key11: Initial Document Type, CV No., Posting Date, Currency Code, Entry Type, Initial Entry Global Dim. 1, Initial Entry Global Dim. 2

## Events published

- `OnAfterCopyFromGenJnlLine(var DtldCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer"; GenJnlLine: Record "Gen. Journal Line")` (integration): Integration event raised after copying fields from a general journal line to the detailed CV ledger entry buffer. Enables customization of field mapping and additional data population from journal lines.
- `OnAfterCopyFromCVLedgEntryBuf(var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer"; CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer")` (integration): Integration event raised after copying reference fields from a CV ledger entry buffer. Enables customization of field mapping and additional data population from parent ledger entries.
- `OnAfterCopyPostingGroupsFromVATEntry(var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer"; VATEntry: Record "VAT Entry")` (integration): Integration event raised after copying posting groups from a VAT entry. Enables customization of VAT-related posting group assignments and validation.
- `OnAfterInitFromGenJnlLine(var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer"; GenJournalLine: Record "Gen. Journal Line")` (integration): Integration event raised after initializing basic fields from a general journal line. Enables customization of initialization logic and additional field setup.
- `OnAfterInsertDtldCVLedgEntry(var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; var CVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var NewDtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; var NextDtldBufferEntryNo: Integer)` (integration): Integration event raised after inserting a detailed CV ledger entry buffer record. Enables post-processing of inserted detailed entries and related buffer updates.
- `OnBeforeInsertDtldCVLedgEntry(var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer"; GenJournalLine: Record "Gen. Journal Line"; var IsHanled: Boolean; var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer")` (integration): Integration event raised before inserting a detailed CV ledger entry buffer in the initialization process. Enables custom validation and processing before detailed entry creation.
- `OnBeforeCreateDtldCVLedgEntryBuf(var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; var NewDtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; var NextDtldBufferEntryNo: Integer; var IsHandled: Boolean; var CVLedgEntryBuf: Record "CV Ledger Entry Buffer")` (integration): Integration event raised before creating a detailed CV ledger entry buffer during consolidation. Enables custom logic for entry consolidation and duplicate detection.
- `OnInsertDtldCVLedgEntryOnBeforeInsert(var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer")` (integration): Integration event raised before inserting a new detailed CV ledger entry buffer record. Enables final validation and field modifications before database insertion.
- `OnInsertDtldCVLedgEntryOnBeforeModify(var DetailedCVLedgEntryBuffer: Record "Detailed CV Ledg. Entry Buffer"; NewDtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer")` (integration): Integration event raised before modifying an existing detailed CV ledger entry buffer during consolidation. Enables custom logic for amount aggregation and field updates in consolidated entries.
- `OnInsertDtldCVLedgEntryOnBeforeNewDtldCVLedgEntryBufInit(var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; CVLedgEntryBuf: Record "CV Ledger Entry Buffer")` (integration): Integration event raised before initializing a new detailed CV ledger entry buffer during the insertion process. Enables custom setup and field population before detailed entry processing begins.

## Procedures

- `InsertDtldCVLedgEntry(var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; var CVLedgEntryBuf: Record "CV Ledger Entry Buffer"; InsertZeroAmout: Boolean)`: Inserts or updates a detailed CV ledger entry buffer record with consolidation logic. Combines entries with matching key fields to avoid duplicate buffer records.
- `CopyPostingGroupsFromVATEntry(VATEntry: Record "VAT Entry")`: Copies posting group fields from a VAT entry to the detailed CV ledger entry buffer. Used for VAT-related detailed entries to maintain proper posting setup references.
- `CopyFromGenJnlLine(GenJnlLine: Record "Gen. Journal Line")`: Copies relevant fields from a general journal line to create an initial detailed CV ledger entry. Sets up the buffer with transaction amounts, dimensions, and basic posting information.
- `InitFromGenJnlLine(GenJnlLine: Record "Gen. Journal Line")`: Initializes the detailed CV ledger entry buffer with basic posting information from a general journal line. Sets up document and user identification fields without amounts or detailed data.
- `CopyFromCVLedgEntryBuf(CVLedgEntryBuf: Record "CV Ledger Entry Buffer")`: Copies key reference fields from a CV ledger entry buffer to establish parent-child relationship. Links the detailed entry to its parent ledger entry with currency and dimension information.
- `InitDetailedCVLedgEntryBuf(GenJnlLine: Record "Gen. Journal Line"; var CVLedgEntryBuf: Record "CV Ledger Entry Buffer"; var DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; EntryType: Enum "Detailed CV Ledger Entry Type"; AmountFCY: Decimal; AmountLCY: Decimal; AmountAddCurr: Decimal; AppliedEntryNo: Integer; RemainingPmtDiscPossible: Decimal; MaxPaymentTolerance: Decimal)`: Initializes and inserts a complete detailed CV ledger entry buffer with specified amounts and application data. Creates fully populated detailed entry for payment applications, discounts, and tolerance scenarios.
- `FindVATEntry(var VATEntry: Record "VAT Entry"; TransactionNo: Integer)`: Finds the corresponding VAT entry for the detailed CV ledger entry using transaction number and posting groups. Used to link detailed entries with their related VAT transactions for reporting and analysis.

Plus 1 local procedures.

## Relations

- drill-down page [Page 573 "Detailed Cust. Ledg. Entries"](../page/573.md)
- lookup page [Page 573 "Detailed Cust. Ledg. Entries"](../page/573.md)
- Source Code: TableRelation [Table 230 "Source Code"](../table/230.md)
- Reason Code: TableRelation [Table 231 "Reason Code"](../table/231.md)
- Gen. Bus. Posting Group: TableRelation [Table 250 "Gen. Business Posting Group"](../table/250.md)
- Gen. Prod. Posting Group: TableRelation [Table 251 "Gen. Product Posting Group"](../table/251.md)
- Tax Area Code: TableRelation [Table 318 "Tax Area"](../table/318.md)
- Tax Jurisdiction Code: TableRelation [Table 320 "Tax Jurisdiction"](../table/320.md)
- Tax Group Code: TableRelation [Table 321 "Tax Group"](../table/321.md)
- VAT Bus. Posting Group: TableRelation [Table 323 "VAT Business Posting Group"](../table/323.md)
- VAT Prod. Posting Group: TableRelation [Table 324 "VAT Product Posting Group"](../table/324.md)
- Currency Code: TableRelation [Table 4 "Currency"](../table/4.md)
- Exch. Rate Adjmt. Reg. No.: TableRelation [Table 86 "Exch. Rate Adjmt. Reg."](../table/86.md)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC24, BC27-28

## Countries that replace it

[AU](../../localizations/au.md), [CZ](../../localizations/cz.md), [ES](../../localizations/es.md), [IT](../../localizations/it.md), [NZ](../../localizations/nz.md), [RU](../../localizations/ru.md)

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: "Detailed CV Ledg. Entry Buffer")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
