---
title: "Codeunit 100 Calc. G/L Acc. Where-Used, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/100-calc-g-l-acc-where-used/points/
object: https://jonas-paprotka.de/ref/codeunit/100-calc-g-l-acc-where-used/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/100-calc-g-l-acc-where-used/source/
checked: 2026-11-20
changed: 2026-10-05
subject: "Microsoft Dynamics 365 Business Central"
license: "Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/"
---

# Codeunit 100 Calc. G/L Acc. Where-Used, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/100-calc-g-l-acc-where-used/points/

12 procedures and triggers with a step in src/Layers/W1/BaseApp/Finance/GeneralLedger/Account/CalcGLAccWhereUsed.Codeunit.al, in source order, read from the text, not from a run.

## ShowSetupForm

[Line 56](https://jonas-paprotka.de/ref/codeunit/100-calc-g-l-acc-where-used/source/#L56).

- [83](https://jonas-paprotka.de/ref/codeunit/100-calc-g-l-acc-where-used/source/#L83) runs [Page 101 General Journal Templates](https://jonas-paprotka.de/ref/page/101-general-journal-templates/)
- [116](https://jonas-paprotka.de/ref/codeunit/100-calc-g-l-acc-where-used/source/#L116) runs [Page 284 Allocations](https://jonas-paprotka.de/ref/page/284-allocations/)
- [142](https://jonas-paprotka.de/ref/codeunit/100-calc-g-l-acc-where-used/source/#L142) runs [Page 5612 FA Posting Group Card](https://jonas-paprotka.de/ref/page/5612-fa-posting-group-card/)
- [151](https://jonas-paprotka.de/ref/codeunit/100-calc-g-l-acc-where-used/source/#L151) raises `OnShowSetupFormOnBeforeFAAllocationRunPage`
- [159](https://jonas-paprotka.de/ref/codeunit/100-calc-g-l-acc-where-used/source/#L159) runs [Page 5826 Inventory Posting Setup](https://jonas-paprotka.de/ref/page/5826-inventory-posting-setup/)
- [172](https://jonas-paprotka.de/ref/codeunit/100-calc-g-l-acc-where-used/source/#L172) runs [Page 459 Sales & Receivables Setup](https://jonas-paprotka.de/ref/page/459-sales-receivables-setup/)
- [174](https://jonas-paprotka.de/ref/codeunit/100-calc-g-l-acc-where-used/source/#L174) runs [Page 460 Purchases & Payables Setup](https://jonas-paprotka.de/ref/page/460-purchases-payables-setup/)
- [176](https://jonas-paprotka.de/ref/codeunit/100-calc-g-l-acc-where-used/source/#L176) raises `OnShowExtensionPage`

## DeleteGLNo

[Line 186](https://jonas-paprotka.de/ref/codeunit/100-calc-g-l-acc-where-used/source/#L186).

- [194](https://jonas-paprotka.de/ref/codeunit/100-calc-g-l-acc-where-used/source/#L194) calls `CheckPostingGroups`
- [195](https://jonas-paprotka.de/ref/codeunit/100-calc-g-l-acc-where-used/source/#L195) raises `OnDeleteGLNoOnBeforeTempGLAccWhereUsedFindFirst`
- [198](https://jonas-paprotka.de/ref/codeunit/100-calc-g-l-acc-where-used/source/#L198) calls [Codeunit 27 Confirm Management](https://jonas-paprotka.de/ref/codeunit/27-confirm-management/) `GetResponse`
- [199](https://jonas-paprotka.de/ref/codeunit/100-calc-g-l-acc-where-used/source/#L199) calls `ShowGLAccWhereUsed`

## CheckGLAcc

[Line 211](https://jonas-paprotka.de/ref/codeunit/100-calc-g-l-acc-where-used/source/#L211).

- [213](https://jonas-paprotka.de/ref/codeunit/100-calc-g-l-acc-where-used/source/#L213) calls `CheckPostingGroups`
- [214](https://jonas-paprotka.de/ref/codeunit/100-calc-g-l-acc-where-used/source/#L214) calls `ShowGLAccWhereUsed`

## ShowGLAccWhereUsed

[Line 217](https://jonas-paprotka.de/ref/codeunit/100-calc-g-l-acc-where-used/source/#L217), local.

- [219](https://jonas-paprotka.de/ref/codeunit/100-calc-g-l-acc-where-used/source/#L219) raises `OnBeforeShowGLAccWhereUsed`

## InsertGroupForRecord

[Line 236](https://jonas-paprotka.de/ref/codeunit/100-calc-g-l-acc-where-used/source/#L236).

- [241](https://jonas-paprotka.de/ref/codeunit/100-calc-g-l-acc-where-used/source/#L241) calls `InsertGroup`

## InsertGroup

[Line 244](https://jonas-paprotka.de/ref/codeunit/100-calc-g-l-acc-where-used/source/#L244), local.

- [248](https://jonas-paprotka.de/ref/codeunit/100-calc-g-l-acc-where-used/source/#L248) calls [Table 180 G/L Account Where-Used](https://jonas-paprotka.de/ref/table/180-g-l-account-where-used/) `GetLastEntryNo`
- [267](https://jonas-paprotka.de/ref/codeunit/100-calc-g-l-acc-where-used/source/#L267) writes [Table 180 G/L Account Where-Used](https://jonas-paprotka.de/ref/table/180-g-l-account-where-used/) Insert

## InsertGroupFromRecRef

[Line 271](https://jonas-paprotka.de/ref/codeunit/100-calc-g-l-acc-where-used/source/#L271), local.

- [279](https://jonas-paprotka.de/ref/codeunit/100-calc-g-l-acc-where-used/source/#L279) calls [Table 180 G/L Account Where-Used](https://jonas-paprotka.de/ref/table/180-g-l-account-where-used/) `GetLastEntryNo`
- [306](https://jonas-paprotka.de/ref/codeunit/100-calc-g-l-acc-where-used/source/#L306) writes [Table 180 G/L Account Where-Used](https://jonas-paprotka.de/ref/table/180-g-l-account-where-used/) Insert

## CheckPostingGroups

[Line 314](https://jonas-paprotka.de/ref/codeunit/100-calc-g-l-acc-where-used/source/#L314).

- [321](https://jonas-paprotka.de/ref/codeunit/100-calc-g-l-acc-where-used/source/#L321) writes [Table 180 G/L Account Where-Used](https://jonas-paprotka.de/ref/table/180-g-l-account-where-used/) DeleteAll
- [326](https://jonas-paprotka.de/ref/codeunit/100-calc-g-l-acc-where-used/source/#L326) calls `FillTableBuffer`
- [328](https://jonas-paprotka.de/ref/codeunit/100-calc-g-l-acc-where-used/source/#L328) calls `CheckTable`
- [331](https://jonas-paprotka.de/ref/codeunit/100-calc-g-l-acc-where-used/source/#L331) raises `OnAfterCheckPostingGroups`

## FillTableBuffer

[Line 334](https://jonas-paprotka.de/ref/codeunit/100-calc-g-l-acc-where-used/source/#L334), local.

- [336](https://jonas-paprotka.de/ref/codeunit/100-calc-g-l-acc-where-used/source/#L336) calls `AddTable`
- [337](https://jonas-paprotka.de/ref/codeunit/100-calc-g-l-acc-where-used/source/#L337) calls `AddTable`
- [338](https://jonas-paprotka.de/ref/codeunit/100-calc-g-l-acc-where-used/source/#L338) calls `AddTable`
- [339](https://jonas-paprotka.de/ref/codeunit/100-calc-g-l-acc-where-used/source/#L339) calls `AddTable`
- [340](https://jonas-paprotka.de/ref/codeunit/100-calc-g-l-acc-where-used/source/#L340) calls `AddTable`
- [341](https://jonas-paprotka.de/ref/codeunit/100-calc-g-l-acc-where-used/source/#L341) calls `AddTable`
- [342](https://jonas-paprotka.de/ref/codeunit/100-calc-g-l-acc-where-used/source/#L342) calls `AddTable`
- [343](https://jonas-paprotka.de/ref/codeunit/100-calc-g-l-acc-where-used/source/#L343) calls `AddTable`
- [344](https://jonas-paprotka.de/ref/codeunit/100-calc-g-l-acc-where-used/source/#L344) calls `AddTable`
- [345](https://jonas-paprotka.de/ref/codeunit/100-calc-g-l-acc-where-used/source/#L345) calls `AddTable`
- [346](https://jonas-paprotka.de/ref/codeunit/100-calc-g-l-acc-where-used/source/#L346) calls `AddTable`
- [347](https://jonas-paprotka.de/ref/codeunit/100-calc-g-l-acc-where-used/source/#L347) calls `AddTable`
- [348](https://jonas-paprotka.de/ref/codeunit/100-calc-g-l-acc-where-used/source/#L348) calls `AddTable`
- [349](https://jonas-paprotka.de/ref/codeunit/100-calc-g-l-acc-where-used/source/#L349) calls `AddTable`
- [350](https://jonas-paprotka.de/ref/codeunit/100-calc-g-l-acc-where-used/source/#L350) calls `AddTable`
- [351](https://jonas-paprotka.de/ref/codeunit/100-calc-g-l-acc-where-used/source/#L351) calls `AddTable`
- [352](https://jonas-paprotka.de/ref/codeunit/100-calc-g-l-acc-where-used/source/#L352) calls `AddTable`
- [353](https://jonas-paprotka.de/ref/codeunit/100-calc-g-l-acc-where-used/source/#L353) calls `AddTable`
- [354](https://jonas-paprotka.de/ref/codeunit/100-calc-g-l-acc-where-used/source/#L354) calls `AddTable`
- [355](https://jonas-paprotka.de/ref/codeunit/100-calc-g-l-acc-where-used/source/#L355) calls `AddTable`
- [357](https://jonas-paprotka.de/ref/codeunit/100-calc-g-l-acc-where-used/source/#L357) calls `AddCountryTables`
- [359](https://jonas-paprotka.de/ref/codeunit/100-calc-g-l-acc-where-used/source/#L359) raises `OnAfterFillTableBuffer`

## AddTable

[Line 370](https://jonas-paprotka.de/ref/codeunit/100-calc-g-l-acc-where-used/source/#L370).

- [374](https://jonas-paprotka.de/ref/codeunit/100-calc-g-l-acc-where-used/source/#L374) writes [Table 2000000026 Integer](https://jonas-paprotka.de/ref/table/2000000026-integer/) Insert

## CheckTable

[Line 383](https://jonas-paprotka.de/ref/codeunit/100-calc-g-l-acc-where-used/source/#L383), local.

- [400](https://jonas-paprotka.de/ref/codeunit/100-calc-g-l-acc-where-used/source/#L400) calls `CheckField`

## CheckField

[Line 404](https://jonas-paprotka.de/ref/codeunit/100-calc-g-l-acc-where-used/source/#L404), local.

- [411](https://jonas-paprotka.de/ref/codeunit/100-calc-g-l-acc-where-used/source/#L411) calls `SetConditionFilter`
- [414](https://jonas-paprotka.de/ref/codeunit/100-calc-g-l-acc-where-used/source/#L414) calls `InsertGroupFromRecRef`

## Source

AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
