---
id: object/table/180
type: object
title: Table 180 "G/L Account Where-Used"
summary: Table 180 "G/L Account Where-Used" in Base Application (Microsoft.Finance.GeneralLedger.Account). 11 fields, 2 public procedures. Present since at least BC23, still in BC30, changed in BC24, BC29.
tier: official
language: en
tags:
  - table
  - base application
versions:
  introduced: null
  last_changed: "29"
  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: 74acbda2b4db0372fc2f3f2f662e314f5aaeceddae938032f75af136df427755
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Finance/GeneralLedger/Account/GLAccountWhereUsed.Table.al
    title: src/Layers/W1/BaseApp/Finance/GeneralLedger/Account/GLAccountWhereUsed.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn:
    - https://learn.microsoft.com/dynamics365/business-central/finance-chart-of-accounts
    - https://learn.microsoft.com/dynamics365/business-central/finance-general-ledger
  objects: []
  features: []
  topics:
    - topic/business-central/business-functionality/finance/financial-analytics/built-in-finance-analysis-tools
    - topic/business-central/business-functionality/finance/work-with-the-chart-of-accounts-and-gene
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 180
name: G/L Account Where-Used
namespace: Microsoft.Finance.GeneralLedger.Account
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "24"
  - "29"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 11
  procedures: 2
  events: 0
  subscribers: 0
relations:
  out: 1
  referenced_by: 0
  pages: 1
  extended_by: 0
  event_subscribers: 0
  calls: 1
  called_by: 0
  implements: 0
---

# Table 180 "G/L Account Where-Used"

> Table 180 "G/L Account Where-Used" in Base Application (Microsoft.Finance.GeneralLedger.Account). 11 fields, 2 public procedures. Present since at least BC23, still in BC30, changed in BC24, BC29.

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

Learn documents this table through its pages: [Page 99 "G/L Account Where-Used List"](../page/99.md) (2 Learn pages).

## Properties

| Property | Value |
|---|---|
| Caption | G/L Account Where-Used |
| 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. | Integer | — |  |
| 2 | Table ID | Integer | Specifies the object number of the setup table where the G/L account is used. |  |
| 3 | Table Name | Text[150] | Specifies the Table Name of the setup table where the G/L account is used. |  |
| 5 | Field Name | Text[150] | Specifies the name of the field in the setup table where the G/L account is used. |  |
| 6 | Line | Text[250] | Specifies a reference to Line in the setup table, where the G/L account is used. For example, the reference could be a posting group code. |  |
| 7 | G/L Account No. | Code[20] | — |  |
| 8 | G/L Account Name | Text[100] | — |  |
| 9 | Key 1 | Text[50] | — |  |
| 10 | Key 2 | Text[50] | — |  |
| 11 | Key 3 | Text[50] | — |  |
| 12 | Key 4 | Text[50] | — |  |

## Keys

- Key1: Entry No. (clustered)
- Key2: Table Name

## Procedures

- `Caption(): Text`: Returns a caption combining the G/L account number and name.
- `GetLastEntryNo(): Integer`: Gets the last entry number used in the table to generate the next sequential entry number.

## Relations

- lookup page [Page 99 "G/L Account Where-Used List"](../page/99.md)

## Pages and codeunits on this table

- [Page 99 "G/L Account Where-Used List"](../page/99.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 703 "Find Record Management"](../codeunit/703.md) (1 call: `GetLastEntryNo → GetLastEntryIntFieldValue`)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC24, BC29

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