tableSales & Receivablesofficial - Microsoftderived - from the source, no model text

Table 379 "Detailed Cust. Ledg. Entry"

Base Application · Microsoft.Sales.Receivables

Across versions

  1. BC23present
  2. BC24declaration changed
  3. BC25declaration changed
  4. BC2624 fields changed, 1 procedures changed
  5. BC27unchanged
  6. BC283 fields changed
  7. BC292 fields added, 1 fields changed
  8. BC30unchanged

Neighbourhood 31 connected objects and pages

Table 349 "Dimension Value" (relates to, 2 links)Dimension ValueTable 18 "Customer" (relates to)CustomerTable 21 "Cust. Ledger Entry" (relates to)Cust. Ledger EntryTable 230 "Source Code" (relates to)Source CodeTable 231 "Reason Code" (relates to)Table 250 "Gen. Business Posting Group" (relates to)Gen. Business Posting GroupTable 251 "Gen. Product Posting Group" (relates to)Table 320 "Tax Jurisdiction" (relates to)Tax JurisdictionTable 323 "VAT Business Posting Group" (relates to)VAT Business Posting GroupTable 324 "VAT Product Posting Group" (relates to)VAT Product Posting GroupTable 4 "Currency" (relates to)Table 45 "G/L Register" (relates to)Table 57 "G/L Transaction" (relates to)Table 86 "Exch. Rate Adjmt. Reg." (relates to)Table 92 "Customer Posting Group" (relates to)Page 573 "Detailed Cust. Ledg. Entries" (pages and codeunits on it, 3 links)Detailed Cust. Ledg. EntriesPage 127 "Det. Cust. Ledg. Entr. Preview" (pages and codeunits on it)Page 623 "Unapply Customer Entries" (pages and codeunits on it)Codeunit 20 "Posting Preview Event Handler" (event subscribers, 2 links)Posting Preview Event HandlerCodeunit 703 "Find Record Management" (calls)Table 18 "Customer" (referenced by, 27 links)CustomerTable 21 "Cust. Ledger Entry" (referenced by, 10 links)Cust. Ledger EntryTable 4 "Currency" (referenced by, 3 links)Table 1208 "Direct Debit Collection Entry" (referenced by, 2 links)Direct Debit Collection EntryTable 9054 "Finance Cue" (referenced by, 2 links)Finance CueTable 112 "Sales Invoice Header" (referenced by)Table 114 "Sales Cr.Memo Header" (referenced by)Table 86 "Exch. Rate Adjmt. Reg." (referenced by)Table 9150 "My Customer" (referenced by)Table 98 "General Ledger Setup" (referenced by)Reconcile vendor payment receipts or refunds in the payment journal (Learn pages)

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

Base Application · Microsoft.Sales.Receivables · BC23-30 · source at ea08af5e · facts from BC29

Learn documents this table through its pages: Page 623 “Unapply Customer Entries” (1 Learn page).

Properties

Property Value
Caption Detailed Cust. Ledg. Entry
DataClassification CustomerContent
Permissions TableData “Detailed Cust. Ledg. Entry” = m

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. Δ BC26 Integer Specifies the number of the entry, as assigned from the specified number series when the entry was created.
2 Cust. Ledger Entry No. Δ BC26 Integer Specifies the entry number of the customer ledger entry that the detailed customer ledger entry line was created for. TableRelation Table 21 “Cust. Ledger Entry” (Cust. Ledger Entry)
3 Entry Type Δ BC26 Enum “Detailed CV Ledger Entry Type” Specifies the entry type of the detailed customer ledger entry. enum Enum 379 “Detailed CV Ledger Entry Type”
4 Posting Date Δ BC26 Date Specifies the posting date of the detailed customer ledger entry.
5 Document Type Δ BC26 Enum “Gen. Journal Document Type” Specifies the document type of the detailed customer ledger entry. enum Enum 6 “Gen. Journal Document Type”
6 Document No. Δ BC26 Code[20] Specifies the document number of the transaction that created the entry.
7 Amount Δ BC26 Decimal Specifies the amount of the detailed customer ledger entry.
8 Amount (LCY) Δ BC26 Δ BC28 Decimal Specifies the amount of the entry in LCY.
9 Customer No. Δ BC26 Code[20] Specifies the customer account number to which the entry is posted. TableRelation Table 18 “Customer”
10 Currency Code Δ BC26 Code[10] Specifies the code for the currency if the amount is in a foreign currency. TableRelation Table 4 “Currency”
11 User ID Δ BC26 Code[50] Specifies the ID of the user who posted the entry, to be used, for example, in the change log. TableRelation User.“User Name”; DataClassification EndUserIdentifiableInformation
12 Source Code Δ BC26 Code[10] Specifies the source code that specifies where the entry was created. TableRelation Table 230 “Source Code” (Source Code)
13 Transaction No. Δ BC29 Integer Specifies the transaction number that groups related G/L entries from the same posting. TableRelation Table 57 “G/L Transaction” (G/L Transaction)
14 Journal Batch Name Code[10] —
15 Reason Code Δ BC26 Code[10] Specifies the reason code, a supplementary source code that enables you to trace the entry. TableRelation Table 231 “Reason Code” (Reason Code)
16 Debit Amount Δ BC26 Decimal Specifies the total of the ledger entries that represent debits.
17 Credit Amount Δ BC26 Decimal Specifies the total of the ledger entries that represent credits.
18 Debit Amount (LCY) Δ BC26 Δ BC28 Decimal Specifies the total of the ledger entries that represent debits, expressed in LCY.
19 Credit Amount (LCY) Δ BC26 Δ BC28 Decimal Specifies the total of the ledger entries that represent credits, expressed in LCY.
20 Initial Entry Due Date Δ BC26 Date Specifies the date on which the initial entry is due for payment.
21 Initial Entry Global Dim. 1 Δ BC26 Code[20] Specifies the Global Dimension 1 code of the initial customer ledger entry. TableRelation Table 349 “Dimension Value” (“Dimension Value”.Code where(“Global Dimension No.” = const(1)))
22 Initial Entry Global Dim. 2 Δ BC26 Code[20] Specifies the Global Dimension 2 code of the initial customer ledger entry. TableRelation Table 349 “Dimension Value” (“Dimension Value”.Code where(“Global Dimension No.” = const(2)))
24 Gen. Bus. Posting Group Code[20] — TableRelation Table 250 “Gen. Business Posting Group” (Gen. Business Posting Group)
25 Gen. Prod. Posting Group Code[20] — TableRelation Table 251 “Gen. Product Posting Group” (Gen. Product Posting Group)
29 Use Tax Boolean —
30 VAT Bus. Posting Group Code[20] — TableRelation Table 323 “VAT Business Posting Group” (VAT Business Posting Group)
31 VAT Prod. Posting Group Code[20] — TableRelation Table 324 “VAT Product Posting Group” (VAT Product Posting Group)
35 Initial Document Type Δ BC26 Enum “Gen. Journal Document Type” Specifies the document type that the initial customer ledger entry was created with. enum Enum 6 “Gen. Journal Document Type”
36 Applied Cust. Ledger Entry No. Integer —
37 Unapplied Δ BC26 Boolean Specifies whether the entry has been unapplied (undone) from the Unapply Customer Entries window by the entry no. shown in the Unapplied by Entry No. field.
38 Unapplied by Entry No. Δ BC26 Integer Specifies the number of the correcting entry, if the original entry has been unapplied (undone) from the Unapply Customer Entries window. TableRelation Table 379 “Detailed Cust. Ledg. Entry” (Detailed Cust. Ledg. Entry)
39 Remaining Pmt. Disc. Possible Decimal —
40 Max. Payment Tolerance Decimal —
41 Tax Jurisdiction Code Code[10] — TableRelation Table 320 “Tax Jurisdiction” (Tax Jurisdiction); not editable
42 Application No. Integer — not editable
43 Ledger Entry Amount Boolean — not editable
44 Posting Group Δ BC26 Code[20] Specifies the customer’s market type to link business transactions to. TableRelation Table 92 “Customer Posting Group” (Customer Posting Group); not editable
45 Exch. Rate Adjmt. Reg. No. Integer — TableRelation Table 86 “Exch. Rate Adjmt. Reg.” (Exch. Rate Adjmt. Reg.); not editable
95 G/L Register No. + BC29 Integer Specifies the G/L register number that groups related G/L entries from the same posting. TableRelation Table 45 “G/L Register” (G/L Register); not editable
7000004 Excluded from calculation + BC29 Boolean — not editable

Keys

  • Key1: Entry No. (clustered)
  • Key2: Customer No., Currency Code, Excluded from calculation
  • Key3: Cust. Ledger Entry No., Entry Type, Posting Date
  • Key5: Initial Document Type, Entry Type, Customer No., Currency Code, Initial Entry Global Dim. 1, Initial Entry Global Dim. 2, Posting Date
  • Key6: Customer No., Currency Code, Initial Entry Global Dim. 1, Initial Entry Global Dim. 2, Initial Entry Due Date, Posting Date, Excluded from calculation
  • Key7: Document No., Document Type, Posting Date
  • Key8: Applied Cust. Ledger Entry No., Entry Type
  • Key9: Transaction No., Customer No., Entry Type
  • Key10: Application No., Customer No., Entry Type
  • Key11: Customer No., Entry Type, Posting Date, Initial Document Type
  • Key12: Document Type
  • Key13: Initial Document Type, Initial Entry Due Date
  • Key14: Customer No., Initial Entry Due Date

Events published

  • OnBeforeSetLedgerEntryAmount(var DetailedCustLedgEntry: Record "Detailed Cust. Ledg. Entry"; var IsHandled: Boolean) (integration): Raised before setting the Ledger Entry Amount flag to allow custom logic.
  • OnAfterUpdateDebitCredit(var DetailedCustLedgEntry: Record "Detailed Cust. Ledg. Entry"; Correction: Boolean) (integration): Raised after updating the debit and credit amounts on the entry.
  • OnSetZeroTransNoOnBeforeDetailedCustLedgEntryModify(var DetailedCustLedgEntry: Record "Detailed Cust. Ledg. Entry") (integration): Raised before modifying the detailed customer ledger entry when setting transaction number to zero.

Trigger event subscribers

Procedures

  • GetLastEntryNo(): Integer Δ BC26: Gets the entry number of the last detailed customer ledger entry in the table.
  • UpdateDebitCredit(Correction: Boolean): Updates the debit and credit amounts based on the sign of the amount and correction flag.
  • SetZeroTransNo(TransactionNo: Integer): Sets the transaction number to zero and assigns an application number for all entries with the specified transaction number.
  • GetUnrealizedGainLossAmount(EntryNo: Integer): Decimal: Calculates the sum of unrealized gain and loss amounts for a customer ledger entry.

Plus 1 local procedures.

Triggers

OnInsert

Relations

Referenced by

50 fields in 11 objects relate to this table (TableRelation or CalcFormula).

Pages and codeunits on this table

Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.

Recent changes

Countries that replace it

AU, ES, FR, IT, NZ, RU

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). The call sections above are our own, per object, from the BC29 call graph. 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 Cust. Ledg. Entry"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources