tableFinanceofficial - Microsoftderived - from the source, no model text

Table 17 "G/L Entry"

Base Application · Microsoft.Finance.GeneralLedger.Ledger

Across versions

  1. BC23present
  2. BC246 fields changed, 3 fields added
  3. BC251 fields added
  4. BC262 procedures changed
  5. BC274 fields changed, 1 fields added
  6. BC286 fields changed, 1 events added
  7. BC2950 fields changed, 1 fields added
  8. BC30unchanged

Neighbourhood 82 connected objects and pages

Table 480 "Dimension Set Entry" (relates to, 7 links)Dimension Set EntryTable 15 "G/L Account" (relates to, 5 links)Table 18 "Customer" (relates to, 2 links)Table 23 "Vendor" (relates to, 2 links)VendorTable 270 "Bank Account" (relates to, 2 links)Table 349 "Dimension Value" (relates to, 2 links)Dimension ValuePage 20 "General Ledger Entries" (pages and codeunits on it, 3 links)General Ledger EntriesCodeunit 115 "G/L Entry-Edit" (pages and codeunits on it)G/L Entry-EditPage 122 "G/L Entries Preview" (pages and codeunits on it)Page 1574 "G/L Entries Preview Flat Subf." (pages and codeunits on it)G/L Entries Preview Flat Subf.Page 19 "G/L Entries Part" (pages and codeunits on it)Page 20018 "APIV1 - G/L Entries" (pages and codeunits on it)APIV1 - G/L EntriesPage 22207 "Review G/L Entries" (pages and codeunits on it)Review G/L EntriesPage 2583 "Dim. Correct Ledger Entries" (pages and codeunits on it)Page 2584 "Dim Correct Posted Ledg Entr" (pages and codeunits on it)Page 30018 "APIV2 - G/L Entries" (pages and codeunits on it)Page 563 "G/L Entries Dimension Overview" (pages and codeunits on it)Page 9241 "G/L Entries Dim. Overv. Matrix" (pages and codeunits on it)Table extension 22211 "G/L Entry Review" (extended by)Table extension 8067 "G/L Entry" (extended by)Codeunit 20 "Posting Preview Event Handler" (event subscribers, 2 links)Posting Preview Event HandlerCodeunit 22200 "Review G/L Entry" (event subscribers)Codeunit 703 "Find Record Management" (calls, 2 links)Find Record ManagementCodeunit 408 "DimensionManagement" (calls)Codeunit 9500 "Sequence No. Mgt." (calls)Table 15 "G/L Account" (referenced by, 14 links)G/L AccountTable 589 "G/L Account Source Currency" (referenced by, 4 links)G/L Account Source CurrencyTable 1105 "Cost Register" (referenced by, 2 links)Table 1570 "G/L Entry Posting Preview" (referenced by, 2 links)G/L Entry Posting PreviewTable 45 "G/L Register" (referenced by, 2 links)G/L RegisterTable 6845 "Spend Request To G/L Link" (referenced by, 2 links)Table 1003 "Job Planning Line" (referenced by)Table 1005 "Job WIP G/L Entry" (referenced by)Table 1101 "Cost Journal Line" (referenced by)Ad-hoc analysis of finance data (Learn pages)Ad-hoc analysis of fixed assets data (Learn pages)Analyze G/L entries (Learn pages)generalLedgerEntry resource type (Learn pages)GET generalLedgerEntries (Learn pages)Review general ledger accounts (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.Finance.GeneralLedger.Ledger · BC23-30 · source at ea08af5e · facts from BC29

Learn documents this table through its pages: Page 20 “General Ledger Entries” (6 Learn pages), Page 30018 “APIV2 - G/L Entries” (2), Page 2583 “Dim. Correct Ledger Entries” (1), Page 2584 “Dim Correct Posted Ledg Entr” (1), Page 22207 “Review G/L Entries” (1).

Properties

Property Value
Caption G/L Entry
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. Δ BC29 Integer Specifies the number of the entry, which is assigned automatically when the entry is posted.
3 G/L Account No. Δ BC29 Code[20] Specifies the number of the account that the entry has been posted to. TableRelation Table 15 “G/L Account” (G/L Account)
4 Posting Date Δ BC29 Date Specifies the entry’s posting date.
5 Document Type Δ BC29 Enum “Gen. Journal Document Type” Specifies the Document Type that the entry belongs to. enum Enum 6 “Gen. Journal Document Type”
6 Document No. Δ BC29 Code[20] Specifies the entry’s Document No.
7 Description Δ BC29 Text[100] Specifies a description of the entry.
10 Bal. Account No. Δ BC29 Code[20] Specifies the number of the general ledger, customer, vendor, or bank account that the balancing entry is posted to, such as a cash account for cash purchases. 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…)
17 Amount Δ BC24 Δ BC28 Δ BC29 Decimal Specifies the Amount of the entry.
18 Source Currency Amount + BC24 Δ BC29 Decimal Specifies the source currency amount for G/L entries.
19 Source Currency VAT Amount + BC24 Δ BC29 Decimal Specifies the source currency VAT amount for G/L entries.
20 Source Currency Code + BC24 Δ BC29 Code[10] Specifies the source currency code for general ledger entries. TableRelation Table 4 “Currency”; DataClassification SystemMetadata
23 Global Dimension 1 Code Δ BC29 Code[20] Specifies the code for the global dimension that is linked to the record or entry for analysis purposes. Two global dimensions, typically for the company’s most important activities, are available on all cards, documents, reports, and lists. TableRelation Table 349 “Dimension Value” (“Dimension Value”.Code where(“Global Dimension No.” = const(1)))
24 Global Dimension 2 Code Δ BC29 Code[20] Specifies the code for the global dimension that is linked to the record or entry for analysis purposes. Two global dimensions, typically for the company’s most important activities, are available on all cards, documents, reports, and lists. TableRelation Table 349 “Dimension Value” (“Dimension Value”.Code where(“Global Dimension No.” = const(2)))
27 User ID Δ BC29 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
28 Source Code Δ BC29 Code[10] Specifies the source code that specifies where the entry was created. TableRelation Table 230 “Source Code” (Source Code)
29 System-Created Entry Boolean —
30 Prior-Year Entry Boolean —
41 Job No. Δ BC24 Δ BC29 Code[20] Specifies the number of the related project. TableRelation Table 167 “Job”
42 Quantity Δ BC28 Δ BC29 Decimal Specifies the quantity that was posted on the entry.
43 VAT Amount Δ BC28 Δ BC29 Decimal Specifies the amount of VAT that is included in the total amount.
45 Business Unit Code Δ BC29 Code[20] Specifies the Business Unit code of the company from which the entry was consolidated. TableRelation Table 220 “Business Unit” (Business Unit)
46 Journal Batch Name Code[10] —
47 Reason Code Δ BC29 Code[10] Specifies the reason code, a supplementary source code that enables you to trace the entry. TableRelation Table 231 “Reason Code” (Reason Code)
48 Gen. Posting Type Δ BC29 Enum “General Posting Type” Specifies the type of transaction. enum Enum 57 “General Posting Type”
49 Gen. Bus. Posting Group Δ BC29 Code[20] Specifies the vendor’s or customer’s trade type to link transactions made for this business partner with the appropriate general ledger account according to the general posting setup. TableRelation Table 250 “Gen. Business Posting Group” (Gen. Business Posting Group)
50 Gen. Prod. Posting Group Δ BC29 Code[20] Specifies the item’s product type to link transactions made for this item with the appropriate general ledger account according to the general posting setup. TableRelation Table 251 “Gen. Product Posting Group” (Gen. Product Posting Group)
51 Bal. Account Type Δ BC29 Enum “Gen. Journal Account Type” Specifies the type of account that a balancing entry is posted to, such as BANK for a cash account. enum Enum 81 “Gen. Journal Account Type”
52 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)
53 Debit Amount Δ BC24 Δ BC28 Δ BC29 Decimal Specifies the total of the ledger entries that represent debits.
54 Credit Amount Δ BC24 Δ BC28 Δ BC29 Decimal Specifies the total of the ledger entries that represent credits.
55 Document Date Date —
56 External Document No. Δ BC29 Code[35] Specifies the entry’s external document number, such as a vendor’s invoice number.
57 Source Type Δ BC29 Enum “Gen. Journal Source Type” Specifies the source type that applies to the source number that is shown in the Source No. field. enum Enum 82 “Gen. Journal Source Type”
58 Source No. Δ BC29 Code[20] Specifies the number of the source document that the entry originates from. TableRelation Table 18 “Customer”, Table 23 “Vendor”, Table 270 “Bank Account” (if (“Source Type” = const(Customer)) Customer else if (“Source Type” = const(Vendor)) Vendor else if (“Source Type” = const(“Bank Account”)) “Bank Account” else if (“Source Type” = const(“Fixed Asset”)) “Fixed Asset” else if (“Source Type” = const(Employee)) Employee)
59 No. Series Code[20] — TableRelation Table 308 “No. Series” (No. Series)
60 Tax Area Code Code[20] — TableRelation Table 318 “Tax Area” (Tax Area)
61 Tax Liable Boolean —
62 Tax Group Code Code[20] — TableRelation Table 321 “Tax Group” (Tax Group)
63 Use Tax Boolean —
64 VAT Bus. Posting Group Δ BC29 Code[20] Specifies the VAT specification of the involved customer or vendor to link transactions made for this record with the appropriate general ledger account according to the VAT posting setup. TableRelation Table 323 “VAT Business Posting Group” (VAT Business Posting Group)
65 VAT Prod. Posting Group Δ BC29 Code[20] Specifies the VAT specification of the involved item or resource to link transactions made for this record with the appropriate general ledger account according to the VAT posting setup. TableRelation Table 324 “VAT Product Posting Group” (VAT Product Posting Group)
68 Additional-Currency Amount Δ BC27 Δ BC29 Decimal Specifies the general ledger entry that is posted if you post in an additional reporting currency.
69 Add.-Currency Debit Amount Δ BC27 Decimal —
70 Add.-Currency Credit Amount Δ BC27 Decimal —
71 Close Income Statement Dim. ID Integer —
72 IC Partner Code Δ BC29 Code[20] Specifies the code of the intercompany partner that the transaction is related to if the entry was created from an intercompany transaction. TableRelation Table 413 “IC Partner” (IC Partner)
73 Reversed Δ BC29 Boolean Specifies if the entry has been part of a reverse transaction (correction) made by the Reverse function.
74 Reversed by Entry No. Δ BC29 Integer Specifies the number of the correcting entry. If the field Specifies a number, the entry cannot be reversed again. TableRelation Table 17 “G/L Entry” (G/L Entry)
75 Reversed Entry No. Δ BC29 Integer Specifies the number of the original entry that was undone by the reverse transaction. TableRelation Table 17 “G/L Entry” (G/L Entry)
76 G/L Account Name Δ BC24 Δ BC29 Text[100] Specifies the name of the account that the entry has been posted to. FlowField: lookup(“G/L Account”.Name where(“No.” = field(“G/L Account No.”))); not editable
78 Journal Templ. Name Code[10] Journal Template Name caption
79 VAT Reporting Date Δ BC29 Date Specifies the entry’s VAT date. 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
480 Dimension Set ID Δ BC29 Integer Specifies a reference to a combination of dimension values. The actual values are stored in the Dimension Set Entry table. TableRelation Table 480 “Dimension Set Entry” (Dimension Set Entry); not editable
481 Shortcut Dimension 3 Code Δ BC29 Code[20] Specifies the code for Shortcut Dimension 3, which is one of dimension codes that you set up in the General Ledger Setup window. FlowField: lookup(“Dimension Set Entry”.“Dimension Value Code” where(“Dimension Set ID” = field(“Dimension Set ID”), “Global Dimension No.” = const(3))); not editable
482 Shortcut Dimension 4 Code Δ BC29 Code[20] Specifies the code for Shortcut Dimension 4, which is one of dimension codes that you set up in the General Ledger Setup window. FlowField: lookup(“Dimension Set Entry”.“Dimension Value Code” where(“Dimension Set ID” = field(“Dimension Set ID”), “Global Dimension No.” = const(4))); not editable
483 Shortcut Dimension 5 Code Δ BC29 Code[20] Specifies the code for Shortcut Dimension 5, which is one of dimension codes that you set up in the General Ledger Setup window. FlowField: lookup(“Dimension Set Entry”.“Dimension Value Code” where(“Dimension Set ID” = field(“Dimension Set ID”), “Global Dimension No.” = const(5))); not editable
484 Shortcut Dimension 6 Code Δ BC29 Code[20] Specifies the code for Shortcut Dimension 6, which is one of dimension codes that you set up in the General Ledger Setup window. FlowField: lookup(“Dimension Set Entry”.“Dimension Value Code” where(“Dimension Set ID” = field(“Dimension Set ID”), “Global Dimension No.” = const(6))); not editable
485 Shortcut Dimension 7 Code Δ BC29 Code[20] Specifies the code for Shortcut Dimension 7, which is one of dimension codes that you set up in the General Ledger Setup window. FlowField: lookup(“Dimension Set Entry”.“Dimension Value Code” where(“Dimension Set ID” = field(“Dimension Set ID”), “Global Dimension No.” = const(7))); not editable
486 Shortcut Dimension 8 Code Δ BC29 Code[20] Specifies the code for Shortcut Dimension 8, which is one of dimension codes that you set up in the General Ledger Setup window. FlowField: lookup(“Dimension Set Entry”.“Dimension Value Code” where(“Dimension Set ID” = field(“Dimension Set ID”), “Global Dimension No.” = const(8))); not editable
495 Last Dim. Correction Entry No. Integer — not editable
496 Last Dim. Correction Node Integer — not editable
497 Dimension Changes Count Integer Count of Dimension Changes caption not editable
2678 Allocation Account No. Code[20] —
2679 Alloc. Journal Line SystemId + BC27 Guid Allocation Journal Line SystemId caption DataClassification SystemMetadata
5400 Prod. Order No. Code[20] —
5600 FA Entry Type Δ BC29 Option Specifies the number of the fixed asset entry. OptionCaption: ,Fixed Asset,Maintenance
5601 FA Entry No. Δ BC29 Integer Specifies the number of the fixed asset entry. TableRelation Table 5601 “FA Ledger Entry”, Table 5625 “Maintenance Ledger Entry” (if (“FA Entry Type” = const(“Fixed Asset”)) “FA Ledger Entry” else if (“FA Entry Type” = const(Maintenance)) “Maintenance Ledger Entry”)
5618 Comment Text[250] —
6200 Non-Deductible VAT Amount Δ BC28 Δ BC29 Decimal Specifies the amount of the transaction for which VAT is not applied, due to the type of goods or services purchased.
6201 Non-Deductible VAT Amount ACY Δ BC27 Decimal —
6202 Src. Curr. Non-Ded. VAT Amount + BC25 Δ BC29 Decimal Specifies the amount in source currency of the transaction for which VAT is not applied, due to the type of goods or services purchased.
8001 Account Id Δ BC24 Guid — TableRelation Table 15 “G/L Account” (“G/L Account”.SystemId); FlowField: lookup(“G/L Account”.SystemId where(“No.” = field(“G/L Account No.”)))
8005 Last Modified DateTime DateTime — not editable

Keys

  • Key1: Entry No. (clustered)
  • Key2: G/L Account No., Posting Date
  • Key3: G/L Account No., Global Dimension 1 Code, Global Dimension 2 Code, Posting Date, VAT Reporting Date, Source Currency Code
  • Key4: G/L Account No., Business Unit Code, Posting Date
  • Key5: G/L Account No., Business Unit Code, Global Dimension 1 Code, Global Dimension 2 Code, Posting Date
  • Key6: Document No., Posting Date
  • Key7: Transaction No.
  • Key8: IC Partner Code
  • Key9: G/L Account No., Job No., Posting Date
  • Key10: Posting Date, G/L Account No., Dimension Set ID
  • Key11: Gen. Bus. Posting Group, Gen. Prod. Posting Group
  • Key12: VAT Bus. Posting Group, VAT Prod. Posting Group
  • Key13: Dimension Set ID

Events published

  • OnAfterCopyGLEntryFromGenJnlLine(var GLEntry: Record "G/L Entry"; var GenJournalLine: Record "Gen. Journal Line") (integration): Integration event raised after copying G/L entry from general journal line. Enables extensions to modify additional G/L entry fields during posting.
  • OnAfterCopyFromDeferralPostBuffer(var GLEntry: Record "G/L Entry"; DeferralPostingBuffer: Record "Deferral Posting Buffer") (integration): Integration event raised after copying G/L entry values from deferral posting buffer. Enables extensions to modify G/L entry fields during deferral posting.
  • OnAfterCopyPostingGroupsFromDtldCVBuf(var GLEntry: Record "G/L Entry"; DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer") (integration): Integration event raised after copying posting groups from detailed CV ledger entry buffer. Enables extensions to modify posting group assignments during CV entry processing.
  • OnAfterCopyPostingGroupsFromGLEntry(var GLEntry: Record "G/L Entry"; FromGLEntry: Record "G/L Entry") (integration): Integration event raised after copying posting groups from another G/L entry. Enables extensions to modify posting group assignments during G/L entry processing.
  • OnAfterCopyPostingGroupsFromGenJnlLine(var GLEntry: Record "G/L Entry"; GenJournalLine: Record "Gen. Journal Line") (integration): Integration event raised after copying posting groups from general journal line. Enables extensions to modify posting group assignments during journal posting.
  • OnAfterCopyPostingGroupsFromVATEntry(var GLEntry: Record "G/L Entry"; VATEntry: Record "VAT Entry") (integration): Integration event raised after copying posting groups from VAT entry. Enables extensions to modify posting group assignments during VAT processing.
  • OnAfterUpdateDebitCredit(var GLEntry: Record "G/L Entry"; Correction: Boolean) (integration): Integration event raised after updating debit and credit amounts. Enables extensions to modify debit/credit calculations during posting.
  • OnBeforeShowValueEntries(var ValueEntry: Record "Value Entry"; var GLItemLedgRelation: Record "G/L - Item Ledger Relation") (integration): Integration event raised before showing related value entries. Enables extensions to modify value entry filtering and presentation.
  • OnSkipGLEntryByReviewStatus(var GLEntry: Record "G/L Entry"; ReviewStatus: Option All,Reviewed,"Not Reviewed"; EvaluationDate: Date; var Skip: Boolean) + BC28 (integration): Integration event raised by the local functionality report G/L Account Statement. Enables apps to filter out G/L Entries based on their review status

Trigger event subscribers

Procedures

  • GetAdditionalReportingCurrencyCode(): Code[10] + BC27
  • GetNextEntryNo(): Integer + BC29
  • GetLastEntryNo(): Integer Δ BC26: Gets the highest entry number from the G/L Entry table.
  • GetLastEntry(var LastEntryNo: Integer; var LastTransactionNo: Integer) Δ BC26: Gets the last entry number and transaction number from the G/L Entry table.
  • GetCurrencyCode(): Code[10] Δ BC27 (obsolete 27.0: use GetAdditionalReportingCurrencyCode instead): Gets the additional reporting currency code from General Ledger Setup.
  • ShowValueEntries(): Opens the Value Entries page showing item ledger entries related to this G/L entry.
  • ShowDimensions(): Opens the Dimension Set Entries page showing dimensions for this G/L entry.
  • UpdateDebitCredit(Correction: Boolean): Updates debit and credit amounts based on the amount and correction flag.
  • CopyFromGenJnlLine(GenJnlLine: Record "Gen. Journal Line"): Copies values from General Journal Line to G/L Entry fields.
  • CopyPostingGroupsFromGLEntry(GLEntry: Record "G/L Entry"): Copies posting groups from another G/L Entry record.
  • CopyPostingGroupsFromVATEntry(VATEntry: Record "VAT Entry"): Copies posting groups from VAT Entry record.
  • CopyPostingGroupsFromGenJnlLine(GenJnlLine: Record "Gen. Journal Line"): Copies posting groups from General Journal Line record.
  • CopyPostingGroupsFromDtldCVBuf(DtldCVLedgEntryBuf: Record "Detailed CV Ledg. Entry Buffer"; GenPostingType: Option " ",Purchase,Sale,Settlement): Copies posting groups from Detailed CV Ledger Entry Buffer record.
  • CopyFromDeferralPostBuffer(DeferralPostBuffer: Record "Deferral Posting Buffer"): Copies values from Deferral Posting Buffer to G/L Entry fields.
  • UpdateAccountID(): Updates the Account ID field based on the G/L Account No.

Plus 2 local procedures.

Triggers

OnInsert, OnModify, OnRename

Relations

Referenced by

51 fields in 30 objects relate to this table (TableRelation or CalcFormula).

Pages and codeunits on this table

Extended by

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.

Countries that replace it

AU, BE, CA, CH, ES, FI, FR, IT, MX, NL, NZ, RU, US

Deprecations

  • procedure GetCurrencyCode: Pending 27.0 (#if not CLEAN27), “use GetAdditionalReportingCurrencyCode instead”

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: "G/L Entry"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources