---
id: object/table/57
type: object
title: Table 57 "G/L Transaction"
summary: Table 57 "G/L Transaction" in Base Application (Microsoft.Finance.GeneralLedger.Ledger). 7 fields, 2 public procedures. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - table
  - base application
versions:
  introduced: "29"
  last_changed: null
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 6907b2578833b7338885555671d6cfe04a4898d88aec2ae4cfc07c60892dd672
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Finance/GeneralLedger/Ledger/GLTransaction.Table.al
    title: src/Layers/W1/BaseApp/Finance/GeneralLedger/Ledger/GLTransaction.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 57
name: G/L Transaction
namespace: Microsoft.Finance.GeneralLedger.Ledger
app: Base Application
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 7
  procedures: 2
  events: 0
  subscribers: 0
relations:
  out: 7
  referenced_by: 9
  pages: 1
  extended_by: 0
  event_subscribers: 0
  calls: 1
  called_by: 0
  implements: 0
---

# Table 57 "G/L Transaction"

> Table 57 "G/L Transaction" in Base Application (Microsoft.Finance.GeneralLedger.Ledger). 7 fields, 2 public procedures. Introduced in BC29, still in BC30.

Base Application · Microsoft.Finance.GeneralLedger.Ledger · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Finance/GeneralLedger/Ledger/GLTransaction.Table.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Caption | G/L Transaction |
| DataClassification | SystemMetadata |
| LookupPageId | G/L Transactions |
| DrillDownPageId | G/L Transactions |
| Permissions | TableData "G/L Transaction" = ri |

## 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 | No. | Integer | Specifies the number of the general ledger register. |  |
| 2 | G/L Register No. | Integer | Specifies the number of the general ledger register. |  |
| 5 | No. of G/L Entries | Integer | Specifies the number of general ledger entries in this transaction. | FlowField: count("G/L Entry" where("Transaction No." = field("No."))); not editable |
| 6 | No. of VAT Entries | Integer | Specifies the number of VAT entries in this transaction. | FlowField: count("VAT Entry" where("Transaction No." = field("No."))); not editable |
| 7 | No. of Customer Ledger Entries | Integer | Specifies the number of customer ledger entries in this transaction. | FlowField: count("Cust. Ledger Entry" where("Transaction No." = field("No."))); not editable |
| 8 | No. of Vendor Ledger Entries | Integer | Specifies the number of vendor ledger entries in this transaction. | FlowField: count("Vendor Ledger Entry" where("Transaction No." = field("No."))); not editable |
| 9 | No. of Employee Ledger Entries | Integer | Specifies the number of employee ledger entries in this transaction. | FlowField: count("Employee Ledger Entry" where("Transaction No." = field("No."))); not editable |

## Keys

- Key1: No. (clustered)
- Key2: G/L Register No., No.

## Procedures

- `GetNextTransactionNo(): Integer`
- `InsertFromGLEntry(var GLEntry: Record "G/L Entry"; var GLRegisterNo: Record "G/L Register")`

## Triggers

OnInsert

## Relations

- drill-down page [Page 811 "G/L Transactions"](../page/811.md)
- lookup page [Page 811 "G/L Transactions"](../page/811.md)
- No. of G/L Entries: CalcFormula [Table 17 "G/L Entry"](../table/17.md)
- No. of Customer Ledger Entries: CalcFormula [Table 21 "Cust. Ledger Entry"](../table/21.md)
- No. of Vendor Ledger Entries: CalcFormula [Table 25 "Vendor Ledger Entry"](../table/25.md)
- No. of VAT Entries: CalcFormula [Table 254 "VAT Entry"](../table/254.md)
- No. of Employee Ledger Entries: CalcFormula [Table 5222 "Employee Ledger Entry"](../table/5222.md)

## Referenced by

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

- [Table 17 "G/L Entry"](../table/17.md): Transaction No.
- [Table 21 "Cust. Ledger Entry"](../table/21.md): Transaction No.
- [Table 25 "Vendor Ledger Entry"](../table/25.md): Transaction No.
- [Table 254 "VAT Entry"](../table/254.md): Transaction No.
- [Table 379 "Detailed Cust. Ledg. Entry"](../table/379.md): Transaction No.
- [Table 380 "Detailed Vendor Ledg. Entry"](../table/380.md): Transaction No.
- [Table 45 "G/L Register"](../table/45.md): No. of Transactions
- [Table 5222 "Employee Ledger Entry"](../table/5222.md): Transaction No.
- [Table 5223 "Detailed Employee Ledger Entry"](../table/5223.md): Transaction No.

## Pages and codeunits on this table

- [Page 811 "G/L Transactions"](../page/811.md) (source 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.

- [Codeunit 9500 "Sequence No. Mgt."](../codeunit/9500.md) (1 call: `GetNextTransactionNo → GetNextSeqNo`)

## Across versions

- Present in: BC29-30
- Changed (declaration) in: none

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 Transaction")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
