tablePurchasing & Payablesofficial - Microsoftderived - from the source, no model text

Table 380 "Detailed Vendor Ledg. Entry"

Base Application · Microsoft.Purchases.Payables

Across versions

  1. BC23present
  2. BC241 events added
  3. BC25unchanged
  4. BC261 procedures changed
  5. BC27unchanged
  6. BC2824 fields changed
  7. BC292 fields added, 1 fields changed
  8. BC30unchanged

Neighbourhood 30 connected objects and pages

Table 349 "Dimension Value" (relates to, 2 links)Dimension ValueTable 23 "Vendor" (relates to)VendorTable 230 "Source Code" (relates to)Source CodeTable 231 "Reason Code" (relates to)Reason CodeTable 25 "Vendor Ledger Entry" (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)CurrencyTable 45 "G/L Register" (relates to)Table 57 "G/L Transaction" (relates to)Table 86 "Exch. Rate Adjmt. Reg." (relates to)Table 93 "Vendor Posting Group" (relates to)Page 574 "Detailed Vendor Ledg. Entries" (pages and codeunits on it, 3 links)Detailed Vendor Ledg. EntriesPage 129 "Detailed Vend. Entries Preview" (pages and codeunits on it)Page 624 "Unapply Vendor 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 23 "Vendor" (referenced by, 27 links)VendorTable 25 "Vendor Ledger Entry" (referenced by, 10 links)Vendor Ledger EntryTable 4 "Currency" (referenced by, 3 links)CurrencyTable 122 "Purch. Inv. Header" (referenced by)Table 124 "Purch. Cr. Memo Hdr." (referenced by)Table 86 "Exch. Rate Adjmt. Reg." (referenced by)Table 9151 "My Vendor" (referenced by)Table 98 "General Ledger Setup" (referenced by)Overview of tasks to manage accounts payable (Learn pages)Record payments and refunds in payment journals (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.Purchases.Payables · BC23-30 · source at ea08af5e · facts from BC29

Learn documents this table through its pages: Page 574 “Detailed Vendor Ledg. Entries” (1 Learn page), Page 624 “Unapply Vendor Entries” (1).

Properties

Property Value
Caption Detailed Vendor Ledg. Entry
DataClassification CustomerContent
Permissions TableData “Detailed Vendor 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. Δ BC28 Integer Specifies the number of the entry, as assigned from the specified number series when the entry was created.
2 Vendor Ledger Entry No. Δ BC28 Integer Specifies the entry number of the vendor ledger entry that the detailed vendor ledger entry line was created for. TableRelation Table 25 “Vendor Ledger Entry” (Vendor Ledger Entry)
3 Entry Type Δ BC28 Enum “Detailed CV Ledger Entry Type” Specifies the entry type of the detailed vendor ledger entry. enum Enum 379 “Detailed CV Ledger Entry Type”
4 Posting Date Δ BC28 Date Specifies the posting date of the detailed vendor ledger entry.
5 Document Type Δ BC28 Enum “Gen. Journal Document Type” Specifies the document type of the detailed vendor ledger entry. enum Enum 6 “Gen. Journal Document Type”
6 Document No. Δ BC28 Code[20] Specifies the document number of the transaction that created the entry.
7 Amount Δ BC28 Decimal Specifies the amount of the detailed vendor ledger entry.
8 Amount (LCY) Δ BC28 Decimal Specifies the amount of the entry in LCY. via Page 129 “Detailed Vend. Entries Preview”
9 Vendor No. Δ BC28 Code[20] Specifies the number of the vendor account to which the entry is posted. TableRelation Table 23 “Vendor”
10 Currency Code Δ BC28 Code[10] Specifies the code for the currency if the amount is in a foreign currency. TableRelation Table 4 “Currency”
11 User ID Δ BC28 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 Δ BC28 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 Δ BC28 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 Δ BC28 Decimal Specifies the total of the ledger entries that represent debits.
17 Credit Amount Δ BC28 Decimal Specifies the total of the ledger entries that represent credits.
18 Debit Amount (LCY) Δ BC28 Decimal Specifies the total of the ledger entries that represent debits, expressed in LCY. via Page 129 “Detailed Vend. Entries Preview”
19 Credit Amount (LCY) Δ BC28 Decimal Specifies the total of the ledger entries that represent credits, expressed in LCY. via Page 129 “Detailed Vend. Entries Preview”
20 Initial Entry Due Date Δ BC28 Date Specifies the date on which the initial entry is due for payment.
21 Initial Entry Global Dim. 1 Δ BC28 Code[20] Specifies the Global Dimension 1 code of the initial vendor ledger entry. TableRelation Table 349 “Dimension Value” (“Dimension Value”.Code where(“Global Dimension No.” = const(1)))
22 Initial Entry Global Dim. 2 Δ BC28 Code[20] Specifies the Global Dimension 2 code of the initial vendor 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 Δ BC28 Enum “Gen. Journal Document Type” Specifies the document type that the initial vendor ledger entry was created with. enum Enum 6 “Gen. Journal Document Type”
36 Applied Vend. Ledger Entry No. Integer —
37 Unapplied Δ BC28 Boolean Specifies whether the entry has been unapplied (undone) from the Unapply Vendor Entries window by the entry no. shown in the Unapplied by Entry No. field.
38 Unapplied by Entry No. Δ BC28 Integer Specifies the number of the correcting entry, if the original entry has been unapplied (undone) from the Unapply Vendor Entries window. TableRelation Table 380 “Detailed Vendor Ledg. Entry” (Detailed Vendor 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 Δ BC28 Code[20] Specifies the vendor’s market type to link business transactions to. TableRelation Table 93 “Vendor Posting Group” (Vendor 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: Vendor No., Currency Code, Excluded from calculation
  • Key3: Vendor Ledger Entry No., Entry Type, Posting Date
  • Key4: Vendor Ledger Entry No., Ledger Entry Amount, Posting Date, Excluded from calculation
  • Key5: Initial Document Type, Entry Type, Vendor No., Currency Code, Initial Entry Global Dim. 1, Initial Entry Global Dim. 2, Posting Date
  • Key6: Vendor 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 Vend. Ledger Entry No., Entry Type
  • Key9: Transaction No., Vendor No., Entry Type
  • Key10: Application No., Vendor No., Entry Type
  • Key11: Initial Document Type, Initial Entry Due Date
  • Key12: Vendor No., Entry Type, Posting Date

Events published

  • OnAfterUpdateDebitCredit(var DetailedVendorLedgEntry: Record "Detailed Vendor Ledg. Entry"; Correction: Boolean) (integration)
  • OnBeforeSetLedgerEntryAmount(var DetailedVendorLedgEntry: Record "Detailed Vendor Ledg. Entry"; var IsHandled: Boolean) + BC24 (integration)
  • OnSetZeroTransNoOnBeforeDetailedVendorLedgEntryModify(var DetailedVendorLedgEntry: Record "Detailed Vendor Ledg. Entry") (integration)

Trigger event subscribers

Procedures

  • GetLastEntryNo(): Integer Δ BC26
  • UpdateDebitCredit(Correction: Boolean)
  • SetZeroTransNo(TransactionNo: Integer)
  • GetUnrealizedGainLossAmount(EntryNo: Integer): Decimal

Plus 1 local procedures.

Triggers

OnInsert

Relations

Referenced by

46 fields in 9 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 Vendor Ledg. Entry"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources