Table 382 "CV Ledger Entry Buffer"
Base Application · Microsoft.Finance.ReceivablesPayables
Across versions
- BC23present
- BC24declaration changed
- BC25-26unchanged
- BC271 fields changed
- BC2819 fields changed
- BC29-30unchanged
Neighbourhood 13 connected objects and pages
Base Application · Microsoft.Finance.ReceivablesPayables · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Caption | CV Ledger 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 |
| 3 | CV No. | Code[20] | — | TableRelation Table 18 “Customer”; DataClassification SystemMetadata |
| 4 | Posting Date | Date | — | DataClassification SystemMetadata |
| 5 | Document Type | Enum “Gen. Journal Document Type” | — | enum Enum 6 “Gen. Journal Document Type”; DataClassification SystemMetadata |
| 6 | Document No. | Code[20] | — | DataClassification SystemMetadata |
| 7 | Description | Text[100] | — | DataClassification SystemMetadata |
| 10 | Your Reference | Text[35] | — | DataClassification SystemMetadata |
| 11 | Currency Code | Code[10] | — | TableRelation Table 4 “Currency”; DataClassification SystemMetadata |
| 13 | Amount | Decimal | — | DataClassification SystemMetadata |
| 14 | Remaining Amount | Decimal | — | DataClassification SystemMetadata |
| 15 | Original Amt. (LCY) Δ BC28 | Decimal | — | DataClassification SystemMetadata |
| 16 | Remaining Amt. (LCY) Δ BC28 | Decimal | — | DataClassification SystemMetadata |
| 17 | Amount (LCY) Δ BC28 | Decimal | — | DataClassification SystemMetadata |
| 18 | Sales/Purchase (LCY) Δ BC28 | Decimal | — | DataClassification SystemMetadata |
| 19 | Profit (LCY) Δ BC28 | Decimal | — | DataClassification SystemMetadata |
| 20 | Inv. Discount (LCY) Δ BC28 | Decimal | — | DataClassification SystemMetadata |
| 21 | Bill-to/Pay-to CV No. | Code[20] | — | TableRelation Table 18 “Customer”; DataClassification SystemMetadata |
| 22 | CV Posting Group | Code[20] | — | TableRelation Table 92 “Customer Posting Group” (Customer Posting Group); DataClassification SystemMetadata |
| 23 | Global Dimension 1 Code | Code[20] | — | TableRelation Table 349 “Dimension Value” (“Dimension Value”.Code where(“Global Dimension No.” = const(1))); DataClassification SystemMetadata |
| 24 | Global Dimension 2 Code | Code[20] | — | TableRelation Table 349 “Dimension Value” (“Dimension Value”.Code where(“Global Dimension No.” = const(2))); DataClassification SystemMetadata |
| 25 | Salesperson Code | Code[20] | — | TableRelation Table 13 “Salesperson/Purchaser” (Salesperson/Purchaser); DataClassification SystemMetadata |
| 27 | User ID | Code[50] | — | TableRelation User.“User Name”; DataClassification SystemMetadata |
| 28 | Source Code | Code[10] | — | TableRelation Table 230 “Source Code” (Source Code); DataClassification SystemMetadata |
| 33 | On Hold | Code[3] | — | DataClassification SystemMetadata |
| 34 | Applies-to Doc. Type | Enum “Gen. Journal Document Type” | — | enum Enum 6 “Gen. Journal Document Type”; DataClassification SystemMetadata |
| 35 | Applies-to Doc. No. | Code[20] | — | DataClassification SystemMetadata |
| 36 | Open | Boolean | — | DataClassification SystemMetadata |
| 37 | Due Date | Date | — | DataClassification SystemMetadata |
| 38 | Pmt. Discount Date | Date | — | DataClassification SystemMetadata |
| 39 | Original Pmt. Disc. Possible | Decimal | — | DataClassification SystemMetadata |
| 40 | Pmt. Disc. Given (LCY) Δ BC28 | Decimal | — | DataClassification SystemMetadata |
| 42 | Orig. Pmt. Disc. Possible(LCY) Δ BC28 | Decimal | Orig. Pmt. Disc. Possible (LCY) caption | DataClassification SystemMetadata |
| 43 | Positive | Boolean | — | DataClassification SystemMetadata |
| 44 | Closed by Entry No. | Integer | — | TableRelation Table 21 “Cust. Ledger Entry” (Cust. Ledger Entry); DataClassification SystemMetadata |
| 45 | Closed at Date | Date | — | DataClassification SystemMetadata |
| 46 | Closed by Amount | Decimal | — | DataClassification SystemMetadata |
| 47 | Applies-to ID | Code[50] | — | DataClassification SystemMetadata |
| 48 | Journal Templ. Name | Code[10] | Journal Template Name caption | DataClassification SystemMetadata |
| 49 | Journal Batch Name | Code[10] | — | DataClassification SystemMetadata |
| 50 | Reason Code | Code[10] | — | TableRelation Table 231 “Reason Code” (Reason Code); DataClassification SystemMetadata |
| 51 | Bal. Account Type | enum “Gen. Journal Account Type” | — | enum Enum 81 “Gen. Journal Account Type”; DataClassification SystemMetadata |
| 52 | Bal. Account No. | Code[20] | — | TableRelation Table 15 “G/L Account”, Table 18 “Customer”, Table 23 “Vendor” (if (“Bal. Account Type” = const(“G/L Account”)) “G/L Account” else if (“Bal. Account Type” = const(Customer)) Customer else if (“Bal. Account Type” = const(Vendor)) Vendor else if (“Bal. Account Type” = const(“Bank Account”)) “Bank Account” else if (“Bal. Account Type” = const(“Fixed Asset”)) “Fixed…); DataClassification SystemMetadata |
| 53 | Transaction No. | Integer | — | DataClassification SystemMetadata |
| 54 | Closed by Amount (LCY) Δ BC28 | Decimal | — | DataClassification SystemMetadata |
| 58 | Debit Amount | Decimal | — | DataClassification SystemMetadata |
| 59 | Credit Amount | Decimal | — | DataClassification SystemMetadata |
| 60 | Debit Amount (LCY) Δ BC28 | Decimal | — | DataClassification SystemMetadata |
| 61 | Credit Amount (LCY) Δ BC28 | Decimal | — | DataClassification SystemMetadata |
| 62 | Document Date | Date | — | DataClassification SystemMetadata |
| 63 | External Document No. | Code[35] | — | DataClassification SystemMetadata |
| 64 | Calculate Interest | Boolean | — | DataClassification SystemMetadata |
| 65 | Closing Interest Calculated | Boolean | — | DataClassification SystemMetadata |
| 66 | No. Series | Code[20] | — | TableRelation Table 308 “No. Series” (No. Series); DataClassification SystemMetadata |
| 67 | Closed by Currency Code | Code[10] | — | TableRelation Table 4 “Currency”; DataClassification SystemMetadata |
| 68 | Closed by Currency Amount | Decimal | — | DataClassification SystemMetadata |
| 70 | Rounding Currency | Code[10] | — | DataClassification SystemMetadata |
| 71 | Rounding Amount Δ BC28 | Decimal | — | DataClassification SystemMetadata |
| 72 | Rounding Amount (LCY) Δ BC28 | Decimal | — | DataClassification SystemMetadata |
| 73 | Adjusted Currency Factor Δ BC28 | Decimal | — | DataClassification SystemMetadata |
| 74 | Original Currency Factor Δ BC28 | Decimal | — | DataClassification SystemMetadata |
| 75 | Original Amount Δ BC28 | Decimal | — | DataClassification SystemMetadata |
| 77 | Remaining Pmt. Disc. Possible | Decimal | — | DataClassification SystemMetadata |
| 78 | Pmt. Disc. Tolerance Date | Date | — | DataClassification SystemMetadata |
| 79 | Max. Payment Tolerance Δ BC28 | Decimal | — | DataClassification SystemMetadata |
| 81 | Accepted Payment Tolerance Δ BC28 | Decimal | — | DataClassification SystemMetadata |
| 82 | Accepted Pmt. Disc. Tolerance | Boolean | — | DataClassification SystemMetadata |
| 83 | Pmt. Tolerance (LCY) Δ BC27 Δ BC28 | Decimal | — | DataClassification SystemMetadata |
| 84 | Amount to Apply | Decimal | — | DataClassification SystemMetadata |
| 90 | Prepayment | Boolean | — | DataClassification SystemMetadata |
| 480 | Dimension Set ID | Integer | — | TableRelation Table 480 “Dimension Set Entry” (Dimension Set Entry); not editable; DataClassification SystemMetadata |
Keys
- Key1: Entry No. (clustered)
Events published
OnAfterCopyFromCustLedgerEntry(var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer"; CustLedgerEntry: Record "Cust. Ledger Entry")(integration): Integration event raised after copying data from a customer ledger entry. Enables customization of the copy process for customer-specific requirements.OnAfterCopyFromVendLedgerEntry(var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer"; VendorLedgerEntry: Record "Vendor Ledger Entry")(integration): Integration event raised after copying data from a vendor ledger entry. Enables customization of the copy process for vendor-specific requirements.OnAfterCopyFromEmplLedgerEntry(var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer"; EmployeeLedgerEntry: Record "Employee Ledger Entry")(integration): Integration event raised after copying data from an employee ledger entry. Enables customization of the copy process for employee-specific requirements.OnAfterSetClosedFields(var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer")(integration): Integration event raised after setting closed-related fields in the buffer. Enables custom processing when ledger entries are marked as closed.OnAfterGetPmtDiscountDate(CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer"; ReferenceDate: Date; var PmtDiscountDate: Date)(integration): Integration event raised after calculating payment discount date. Enables customization of payment discount date calculation logic.OnAfterGetRemainingPmtDiscPossible(CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer"; ReferenceDate: Date; var RemainingPmtDiscPossible: Decimal)(integration): Integration event raised after getting remaining payment discount possible. Enables customization of payment discount calculations based on specific business rules.OnAfterRecalculateAmounts(var CVLedgerEntryBuffer: Record "CV Ledger Entry Buffer"; FromCurrencyCode: Code[10]; ToCurrencyCode: Code[10]; PostingDate: Date)(integration): Integration event raised after recalculating amounts in currency conversion. Enables custom processing when amounts are converted between currencies.
Procedures
CopyFromCustLedgEntry(CustLedgEntry: Record "Cust. Ledger Entry"): Copies data from a customer ledger entry into the buffer table. Transfers all matching fields and calculates remaining amounts.CopyFromVendLedgEntry(VendLedgEntry: Record "Vendor Ledger Entry"): Copies data from a vendor ledger entry into the buffer table. Maps vendor-specific fields to the corresponding customer/vendor buffer fields.CopyFromEmplLedgEntry(EmplLedgEntry: Record "Employee Ledger Entry"): Copies data from an employee ledger entry into the buffer table. Maps employee-specific fields to the corresponding customer/vendor buffer fields.RecalculateAmounts(FromCurrencyCode: Code[10]; ToCurrencyCode: Code[10]; PostingDate: Date): Recalculates amounts when converting between different currencies. Updates all currency-related fields using exchange rates from the specified posting date.SetClosedFields(EntryNo: Integer; PostingDate: Date; NewAmount: Decimal; AmountLCY: Decimal; CurrencyCode: Code[10]; CurrencyAmount: Decimal): Sets the closed fields for a ledger entry buffer with closing information.GetPmtDiscountDate(ReferenceDate: Date): Date: Gets the payment discount date relative to a reference date.GetRemainingPmtDiscPossible(ReferenceDate: Date): Decimal: Gets the remaining payment discount possible for the entry based on a reference date.
Relations
- Salesperson Code: TableRelation Table 13 “Salesperson/Purchaser”
- Bal. Account No.: TableRelation Table 15 “G/L Account” (conditional)
- Bal. Account No.: TableRelation Table 18 “Customer” (conditional)
- Bill-to/Pay-to CV No.: TableRelation Table 18 “Customer”
- CV No.: TableRelation Table 18 “Customer”
- Closed by Entry No.: TableRelation Table 21 “Cust. Ledger Entry”
- Bal. Account No.: TableRelation Table 23 “Vendor” (conditional)
- Source Code: TableRelation Table 230 “Source Code”
- Reason Code: TableRelation Table 231 “Reason Code”
- Bal. Account No.: TableRelation Table 270 “Bank Account” (conditional)
- No. Series: TableRelation Table 308 “No. Series”
- Global Dimension 1 Code: TableRelation Table 349 “Dimension Value”
- Global Dimension 2 Code: TableRelation Table 349 “Dimension Value”
- Closed by Currency Code: TableRelation Table 4 “Currency”
- Currency Code: TableRelation Table 4 “Currency”
- Dimension Set ID: TableRelation Table 480 “Dimension Set Entry”
- CV Posting Group: TableRelation Table 92 “Customer Posting Group”
Countries that replace it
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: "CV Ledger Entry Buffer"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.