---
title: "Codeunit 570 G/L Account Category Mgt."
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/570-g-l-account-category-mgt/
type: codeunit
id: 570
name: "G/L Account Category Mgt."
app: "Base Application"
namespace: Microsoft.Finance.GeneralLedger.Account
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/570-g-l-account-category-mgt/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Codeunit 570 G/L Account Category Mgt.

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/570-g-l-account-category-mgt/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Finance.GeneralLedger.Account |
| Versions | 17-28 |
| Source file | Finance/GeneralLedger/Account/GLAccountCategoryMgt.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| InitializeAccountCategories | () | - | public | 17-28 | - | - |
| AddCategory | (Integer, Integer, Option, Text[80], Boolean, Option) | Integer | public | 17-28 | - | - |
| ForceInitializeStandardAccountSchedules | () | - | public | 17-28 | - | - |
| InitializeStandardAccountSchedules | () | - | public | 17-28 | - | - |
| GetGLSetup | (var Record General Ledger Setup) | - | public | 17-28 | - | - |
| RunAccountScheduleReport | (Code[10]) | - | public | 17-28 | - | - |
| ConfirmAndRunGenerateAccountSchedules | () | - | public | 17-28 | - | - |
| GLSetupAllAccScheduleNamesNotDefined | () | Boolean | public | 17-28 | - | - |
| GetCurrentAssets | () | Text | public | 17-28 | - | - |
| GetAR | () | Text | public | 17-28 | - | - |
| GetCash | () | Text | public | 17-28 | - | - |
| GetPrepaidExpenses | () | Text | public | 17-28 | - | - |
| GetInventory | () | Text | public | 17-28 | - | - |
| GetFixedAssets | () | Text | public | 17-28 | - | - |
| GetEquipment | () | Text | public | 17-28 | - | - |
| GetAccumDeprec | () | Text | public | 17-28 | - | - |
| GetCurrentLiabilities | () | Text | public | 17-28 | - | - |
| GetPayrollLiabilities | () | Text | public | 17-28 | - | - |
| GetLongTermLiabilities | () | Text | public | 17-28 | - | - |
| GetCommonStock | () | Text | public | 17-28 | - | - |
| GetRetEarnings | () | Text | public | 17-28 | - | - |
| GetDistrToShareholders | () | Text | public | 17-28 | - | - |
| GetIncomeService | () | Text | public | 17-28 | - | - |
| GetIncomeProdSales | () | Text | public | 17-28 | - | - |
| GetIncomeSalesDiscounts | () | Text | public | 17-28 | - | - |
| GetIncomeSalesReturns | () | Text | public | 17-28 | - | - |
| GetIncomeInterest | () | Text | public | 17-28 | - | - |
| GetCOGSLabor | () | Text | public | 17-28 | - | - |
| GetCOGSMaterials | () | Text | public | 17-28 | - | - |
| GetCOGSDiscountsGranted | () | Text | public | 17-28 | - | - |
| GetRentExpense | () | Text | public | 17-28 | - | - |
| GetAdvertisingExpense | () | Text | public | 17-28 | - | - |
| GetInterestExpense | () | Text | public | 17-28 | - | - |
| GetFeesExpense | () | Text | public | 17-28 | - | - |
| GetInsuranceExpense | () | Text | public | 17-28 | - | - |
| GetPayrollExpense | () | Text | public | 17-28 | - | - |
| GetBenefitsExpense | () | Text | public | 17-28 | - | - |
| GetRepairsExpense | () | Text | public | 17-28 | - | - |
| GetUtilitiesExpense | () | Text | public | 17-28 | - | - |
| GetOtherIncomeExpense | () | Text | public | 17-28 | - | - |
| GetTaxExpense | () | Text | public | 17-28 | - | - |
| GetTravelExpense | () | Text | public | 17-28 | - | - |
| GetVehicleExpenses | () | Text | public | 17-28 | - | - |
| GetBadDebtExpense | () | Text | public | 17-28 | - | - |
| GetSalariesExpense | () | Text | public | 17-28 | - | - |
| GetJobsCost | () | Text | public | 17-28 | - | - |
| GetIncomeJobs | () | Text | public | 17-28 | - | - |
| GetJobSalesContra | () | Text | public | 17-28 | - | - |
| GetAccountCategory | (var Record G/L Account Category, Option) | Boolean | public | 17-28 | - | - |
| GetAccountSubcategory | (var Record G/L Account Category, Option, Text) | Boolean | public | 17-28 | - | - |
| GetSubcategoryEntryNo | (Option, Text) | Integer | public | 17-28 | - | - |
| CheckGLAccount | (Code[20], Boolean, Boolean, Option, Text) | - | public | 17-28 | - | - |
| CheckGLAccountWithoutCategory | (Code[20], Boolean, Boolean) | - | public | 17-28 | - | - |
| LookupGLAccount | (var Code[20], Option, Text) | - | public | 17-28 | - | - |
| LookupGLAccountWithoutCategory | (var Code[20]) | - | public | 17-28 | - | - |
| CheckGLAccount | (Integer, Integer, Code[20], Boolean, Boolean, Option, Text) | - | public | 19-28 | - | - |
| LookupGLAccount | (Integer, Integer, var Code[20], Option, Text) | - | public | 19-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnAfterInitializeCompany | () | 17-28 | - | - |
| Integration event | OnBeforeInitializeCompany | () | 17-28 | - | - |
| Integration event | OnBeforeOnRunAccountScheduleReport | (Code[10], var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeInitializeAccountCategories | (var Boolean) | 18-28 | - | - |
| Integration event | OnAfterInitializeAccountCategories | () | 18-28 | - | - |
| Integration event | OnBeforeCheckGLAccount | (Integer, Integer, Code[20], Boolean, Boolean, var Option, var Text, var Boolean) | 19-28 | - | - |
| Integration event | OnBeforeLookupGLAccount | (Integer, Integer, var Code[20], var Option, var Text, var Boolean) | 19-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.
