---
title: "Table 17 G/L Entry"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/table/17-g-l-entry/
type: table
id: 17
name: "G/L Entry"
app: "Base Application"
namespace: Microsoft.Finance.GeneralLedger.Ledger
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/table/17-g-l-entry/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Table 17 G/L Entry

Jonas Paprotka, https://jonas-paprotka.de/ref/table/17-g-l-entry/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Finance.GeneralLedger.Ledger |
| Versions | 17-28 |
| Source file | Finance/GeneralLedger/Ledger/GLEntry.Table.al |

## Fields

| Id | Name | Type | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| 1 | Entry No. | Integer | 17-28 | - | - |
| 3 | G/L Account No. | Code[20] | 17-28 | - | - |
| 4 | Posting Date | Date | 17-28 | - | - |
| 5 | Document Type | Enum Gen. Journal Document Type | 17-28 | - | - |
| 6 | Document No. | Code[20] | 17-28 | - | - |
| 7 | Description | Text[100] | 17-28 | - | - |
| 10 | Bal. Account No. | Code[20] | 17-28 | - | - |
| 17 | Amount | Decimal | 17-28 | - | - |
| 18 | Source Currency Amount | Decimal | 24-28 | - | - |
| 19 | Source Currency VAT Amount | Decimal | 24-28 | - | - |
| 20 | Source Currency Code | Code[10] | 24-28 | - | - |
| 23 | Global Dimension 1 Code | Code[20] | 17-28 | - | - |
| 24 | Global Dimension 2 Code | Code[20] | 17-28 | - | - |
| 27 | User ID | Code[50] | 17-28 | - | - |
| 28 | Source Code | Code[10] | 17-28 | - | - |
| 29 | System-Created Entry | Boolean | 17-28 | - | - |
| 30 | Prior-Year Entry | Boolean | 17-28 | - | - |
| 41 | Job No. | Code[20] | 17-28 | - | - |
| 42 | Quantity | Decimal | 17-28 | - | - |
| 43 | VAT Amount | Decimal | 17-28 | - | - |
| 45 | Business Unit Code | Code[20] | 17-28 | - | - |
| 46 | Journal Batch Name | Code[10] | 17-28 | - | - |
| 47 | Reason Code | Code[10] | 17-28 | - | - |
| 48 | Gen. Posting Type | Enum General Posting Type | 17-28 | - | - |
| 49 | Gen. Bus. Posting Group | Code[20] | 17-28 | - | - |
| 50 | Gen. Prod. Posting Group | Code[20] | 17-28 | - | - |
| 51 | Bal. Account Type | Enum Gen. Journal Account Type | 17-28 | - | - |
| 52 | Transaction No. | Integer | 17-28 | - | - |
| 53 | Debit Amount | Decimal | 17-28 | - | - |
| 54 | Credit Amount | Decimal | 17-28 | - | - |
| 55 | Document Date | Date | 17-28 | - | - |
| 56 | External Document No. | Code[35] | 17-28 | - | - |
| 57 | Source Type | Enum Gen. Journal Source Type | 17-28 | - | - |
| 58 | Source No. | Code[20] | 17-28 | - | - |
| 59 | No. Series | Code[20] | 17-28 | - | - |
| 60 | Tax Area Code | Code[20] | 17-28 | - | - |
| 61 | Tax Liable | Boolean | 17-28 | - | - |
| 62 | Tax Group Code | Code[20] | 17-28 | - | - |
| 63 | Use Tax | Boolean | 17-28 | - | - |
| 64 | VAT Bus. Posting Group | Code[20] | 17-28 | - | - |
| 65 | VAT Prod. Posting Group | Code[20] | 17-28 | - | - |
| 68 | Additional-Currency Amount | Decimal | 17-28 | - | - |
| 69 | Add.-Currency Debit Amount | Decimal | 17-28 | - | - |
| 70 | Add.-Currency Credit Amount | Decimal | 17-28 | - | - |
| 71 | Close Income Statement Dim. ID | Integer | 17-28 | - | - |
| 72 | IC Partner Code | Code[20] | 17-28 | - | - |
| 73 | Reversed | Boolean | 17-28 | - | - |
| 74 | Reversed by Entry No. | Integer | 17-28 | - | - |
| 75 | Reversed Entry No. | Integer | 17-28 | - | - |
| 76 | G/L Account Name | Text[100] | 17-28 | - | - |
| 78 | Journal Templ. Name | Code[10] | 20-28 | - | - |
| 79 | VAT Reporting Date | Date | 21-28 | - | - |
| 480 | Dimension Set ID | Integer | 17-28 | - | - |
| 481 | Shortcut Dimension 3 Code | Code[20] | 17-28 | - | - |
| 482 | Shortcut Dimension 4 Code | Code[20] | 17-28 | - | - |
| 483 | Shortcut Dimension 5 Code | Code[20] | 17-28 | - | - |
| 484 | Shortcut Dimension 6 Code | Code[20] | 17-28 | - | - |
| 485 | Shortcut Dimension 7 Code | Code[20] | 17-28 | - | - |
| 486 | Shortcut Dimension 8 Code | Code[20] | 17-28 | - | - |
| 495 | Last Dim. Correction Entry No. | Integer | 18-28 | - | - |
| 496 | Last Dim. Correction Node | Integer | 18-28 | - | - |
| 497 | Dimension Changes Count | Integer | 18-28 | - | - |
| 2678 | Allocation Account No. | Code[20] | 23-28 | - | - |
| 2679 | Alloc. Journal Line SystemId | Guid | 27-28 | - | - |
| 5400 | Prod. Order No. | Code[20] | 17-28 | - | - |
| 5600 | FA Entry Type | Option | 17-28 | - | - |
| 5601 | FA Entry No. | Integer | 17-28 | - | - |
| 5618 | Comment | Text[250] | 19-28 | - | - |
| 6200 | Non-Deductible VAT Amount | Decimal | 22-28 | - | - |
| 6201 | Non-Deductible VAT Amount ACY | Decimal | 22-28 | - | - |
| 6202 | Src. Curr. Non-Ded. VAT Amount | Decimal | 25-28 | - | - |
| 8001 | Account Id | Guid | 17-28 | - | - |
| 8005 | Last Modified DateTime | DateTime | 17-28 | - | - |

## Keys

| Name | Fields | Versions |
| --- | --- | --- |
| Key1, clustered | Entry No. | 17-28 |
| Key2 | G/L Account No., Posting Date | 17-28 |
| Key3 | G/L Account No., Global Dimension 1 Code, Global Dimension 2 Code, Posting Date, VAT Reporting Date, Source Currency Code | 17-28 |
| Key4 | G/L Account No., Business Unit Code, Posting Date | 17-28 |
| Key5 | G/L Account No., Business Unit Code, Global Dimension 1 Code, Global Dimension 2 Code, Posting Date | 17-28 |
| Key6 | Document No., Posting Date | 17-28 |
| Key7 | Transaction No. | 17-28 |
| Key8 | IC Partner Code | 17-28 |
| Key9 | G/L Account No., Job No., Posting Date | 17-28 |
| Key10 | Posting Date, G/L Account No., Dimension Set ID | 17-28 |
| Key11 | Gen. Bus. Posting Group, Gen. Prod. Posting Group | 17-28 |
| Key12 | VAT Bus. Posting Group, VAT Prod. Posting Group | 17-28 |
| Key13 | Dimension Set ID | 18-28 |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| GetLastEntryNo | () | Integer | public | 17-28 | - | - |
| GetLastEntry | (var Integer, var Integer) | - | public | 17-28 | - | - |
| GetCurrencyCode | () | Code[10] | public | 17-28 | Pending 27.0 | use GetAdditionalReportingCurrencyCode instead |
| ShowValueEntries | () | - | public | 17-28 | - | - |
| ShowDimensions | () | - | public | 17-28 | - | - |
| UpdateDebitCredit | (Boolean) | - | public | 17-28 | - | - |
| CopyFromGenJnlLine | (Record Gen. Journal Line) | - | public | 17-28 | - | - |
| CopyPostingGroupsFromGLEntry | (Record G/L Entry) | - | public | 17-28 | - | - |
| CopyPostingGroupsFromVATEntry | (Record VAT Entry) | - | public | 17-28 | - | - |
| CopyPostingGroupsFromGenJnlLine | (Record Gen. Journal Line) | - | public | 17-28 | - | - |
| CopyPostingGroupsFromDtldCVBuf | (Record Detailed CV Ledg. Entry Buffer, Option) | - | public | 17-28 | - | - |
| CopyFromDeferralPostBuffer | (Record Deferral Posting Buffer) | - | public | 17-28 | - | - |
| UpdateAccountID | () | - | public | 17-28 | - | - |
| GetAdditionalReportingCurrencyCode | () | Code[10] | public | 27-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnAfterCopyGLEntryFromGenJnlLine | (var Record G/L Entry, var Record Gen. Journal Line) | 17-28 | - | - |
| Integration event | OnAfterCopyFromDeferralPostBuffer | (var Record G/L Entry, Record Deferral Posting Buffer) | 17-28 | - | - |
| Integration event | OnAfterCopyPostingGroupsFromDtldCVBuf | (var Record G/L Entry, Record Detailed CV Ledg. Entry Buffer) | 17-28 | - | - |
| Integration event | OnAfterCopyPostingGroupsFromGLEntry | (var Record G/L Entry, Record G/L Entry) | 17-28 | - | - |
| Integration event | OnAfterCopyPostingGroupsFromGenJnlLine | (var Record G/L Entry, Record Gen. Journal Line) | 17-28 | - | - |
| Integration event | OnAfterCopyPostingGroupsFromVATEntry | (var Record G/L Entry, Record VAT Entry) | 17-28 | - | - |
| Integration event | OnBeforeShowValueEntries | (var Record Value Entry, var Record G/L - Item Ledger Relation) | 17-28 | - | - |
| Integration event | OnAfterUpdateDebitCredit | (var Record G/L Entry, Boolean) | 19-28 | - | - |
| Integration event | OnSkipGLEntryByReviewStatus | (var Record G/L Entry, Option, Date, var Boolean) | 28 | - | - |

## Source

Symbols: Microsoft.BaseApplication.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at a66254c3b8b5bb1cea290dc8f9d097aec4381153.

Jonas Paprotka, 2026-09-20.
