---
title: "Table 6211 Sustain. Account Category, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/table/6211-sustain-account-category/points/
object: https://jonas-paprotka.de/ref/table/6211-sustain-account-category/
app: "Sustainability"
major: 29
source: https://jonas-paprotka.de/ref/table/6211-sustain-account-category/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/"
---

# Table 6211 Sustain. Account Category, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/table/6211-sustain-account-category/points/

17 procedures and triggers with a step in src/Apps/W1/Sustainability/app/src/Account/SustainAccountCategory.Table.al, in source order, read from the text, not from a run.

## Emission Scope.OnValidate

[Line 31](https://jonas-paprotka.de/ref/table/6211-sustain-account-category/source/#L31), trigger.

- [33](https://jonas-paprotka.de/ref/table/6211-sustain-account-category/source/#L33) calls `CheckSustAccountCategoryByField`
- [34](https://jonas-paprotka.de/ref/table/6211-sustain-account-category/source/#L34) calls `CheckIfChangeIsAllowedForCategory`

## CO2.OnValidate

[Line 42](https://jonas-paprotka.de/ref/table/6211-sustain-account-category/source/#L42), trigger.

- [45](https://jonas-paprotka.de/ref/table/6211-sustain-account-category/source/#L45) calls `CheckSustAccountCategoryByField`
- [47](https://jonas-paprotka.de/ref/table/6211-sustain-account-category/source/#L47) calls `CheckSustAccountSubcategoryFactorByField`
- [49](https://jonas-paprotka.de/ref/table/6211-sustain-account-category/source/#L49) calls `CheckIfChangeIsAllowedForCategory`

## CH4.OnValidate

[Line 57](https://jonas-paprotka.de/ref/table/6211-sustain-account-category/source/#L57), trigger.

- [60](https://jonas-paprotka.de/ref/table/6211-sustain-account-category/source/#L60) calls `CheckSustAccountCategoryByField`
- [62](https://jonas-paprotka.de/ref/table/6211-sustain-account-category/source/#L62) calls `CheckSustAccountSubcategoryFactorByField`
- [64](https://jonas-paprotka.de/ref/table/6211-sustain-account-category/source/#L64) calls `CheckIfChangeIsAllowedForCategory`

## N2O.OnValidate

[Line 72](https://jonas-paprotka.de/ref/table/6211-sustain-account-category/source/#L72), trigger.

- [75](https://jonas-paprotka.de/ref/table/6211-sustain-account-category/source/#L75) calls `CheckSustAccountCategoryByField`
- [77](https://jonas-paprotka.de/ref/table/6211-sustain-account-category/source/#L77) calls `CheckSustAccountSubcategoryFactorByField`
- [79](https://jonas-paprotka.de/ref/table/6211-sustain-account-category/source/#L79) calls `CheckIfChangeIsAllowedForCategory`

## Calculation Foundation.OnValidate

[Line 86](https://jonas-paprotka.de/ref/table/6211-sustain-account-category/source/#L86), trigger.

- [88](https://jonas-paprotka.de/ref/table/6211-sustain-account-category/source/#L88) calls `CheckIfChangeIsAllowedForCategory`
- [91](https://jonas-paprotka.de/ref/table/6211-sustain-account-category/source/#L91) validates [Table 6211 Sustain. Account Category](https://jonas-paprotka.de/ref/table/6211-sustain-account-category/) `Custom Value`
- [92](https://jonas-paprotka.de/ref/table/6211-sustain-account-category/source/#L92) validates [Table 6211 Sustain. Account Category](https://jonas-paprotka.de/ref/table/6211-sustain-account-category/) `Calculate from General Ledger`

## Calculate from General Ledger.OnValidate

[Line 108](https://jonas-paprotka.de/ref/table/6211-sustain-account-category/source/#L108), trigger.

- [113](https://jonas-paprotka.de/ref/table/6211-sustain-account-category/source/#L113) validates [Table 6211 Sustain. Account Category](https://jonas-paprotka.de/ref/table/6211-sustain-account-category/) `G/L Account Filter`
- [114](https://jonas-paprotka.de/ref/table/6211-sustain-account-category/source/#L114) validates [Table 6211 Sustain. Account Category](https://jonas-paprotka.de/ref/table/6211-sustain-account-category/) `Global Dimension 1 Filter`
- [115](https://jonas-paprotka.de/ref/table/6211-sustain-account-category/source/#L115) validates [Table 6211 Sustain. Account Category](https://jonas-paprotka.de/ref/table/6211-sustain-account-category/) `Global Dimension 2 Filter`

## G/L Account Filter.OnLookup

[Line 128](https://jonas-paprotka.de/ref/table/6211-sustain-account-category/source/#L128), trigger.

- [134](https://jonas-paprotka.de/ref/table/6211-sustain-account-category/source/#L134) validates [Table 6211 Sustain. Account Category](https://jonas-paprotka.de/ref/table/6211-sustain-account-category/) `G/L Account Filter`
- [134](https://jonas-paprotka.de/ref/table/6211-sustain-account-category/source/#L134) calls [Page 18 G/L Account List](https://jonas-paprotka.de/ref/page/18-g-l-account-list/) `GetSelectionFilter`

## Global Dimension 1 Filter.OnLookup

[Line 146](https://jonas-paprotka.de/ref/table/6211-sustain-account-category/source/#L146), trigger.

- [158](https://jonas-paprotka.de/ref/table/6211-sustain-account-category/source/#L158) validates [Table 6211 Sustain. Account Category](https://jonas-paprotka.de/ref/table/6211-sustain-account-category/) `Global Dimension 1 Filter`
- [158](https://jonas-paprotka.de/ref/table/6211-sustain-account-category/source/#L158) calls [Page 560 Dimension Value List](https://jonas-paprotka.de/ref/page/560-dimension-value-list/) `GetSelectionFilter`

## Global Dimension 2 Filter.OnLookup

[Line 170](https://jonas-paprotka.de/ref/table/6211-sustain-account-category/source/#L170), trigger.

- [182](https://jonas-paprotka.de/ref/table/6211-sustain-account-category/source/#L182) validates [Table 6211 Sustain. Account Category](https://jonas-paprotka.de/ref/table/6211-sustain-account-category/) `Global Dimension 2 Filter`
- [182](https://jonas-paprotka.de/ref/table/6211-sustain-account-category/source/#L182) calls [Page 560 Dimension Value List](https://jonas-paprotka.de/ref/page/560-dimension-value-list/) `GetSelectionFilter`

## Water Intensity.OnValidate

[Line 189](https://jonas-paprotka.de/ref/table/6211-sustain-account-category/source/#L189), trigger.

- [192](https://jonas-paprotka.de/ref/table/6211-sustain-account-category/source/#L192) calls `CheckSustAccountCategoryByField`
- [194](https://jonas-paprotka.de/ref/table/6211-sustain-account-category/source/#L194) calls `CheckSustAccountSubcategoryFactorByField`
- [196](https://jonas-paprotka.de/ref/table/6211-sustain-account-category/source/#L196) calls `CheckIfChangeIsAllowedForCategory`

## Discharged Into Water.OnValidate

[Line 203](https://jonas-paprotka.de/ref/table/6211-sustain-account-category/source/#L203), trigger.

- [206](https://jonas-paprotka.de/ref/table/6211-sustain-account-category/source/#L206) calls `CheckSustAccountCategoryByField`
- [208](https://jonas-paprotka.de/ref/table/6211-sustain-account-category/source/#L208) calls `CheckSustAccountSubcategoryFactorByField`
- [210](https://jonas-paprotka.de/ref/table/6211-sustain-account-category/source/#L210) calls `CheckIfChangeIsAllowedForCategory`

## Waste Intensity.OnValidate

[Line 217](https://jonas-paprotka.de/ref/table/6211-sustain-account-category/source/#L217), trigger.

- [220](https://jonas-paprotka.de/ref/table/6211-sustain-account-category/source/#L220) calls `CheckSustAccountCategoryByField`
- [222](https://jonas-paprotka.de/ref/table/6211-sustain-account-category/source/#L222) calls `CheckSustAccountSubcategoryFactorByField`
- [224](https://jonas-paprotka.de/ref/table/6211-sustain-account-category/source/#L224) calls `CheckIfChangeIsAllowedForCategory`

## OnDelete

[Line 237](https://jonas-paprotka.de/ref/table/6211-sustain-account-category/source/#L237), trigger.

- [239](https://jonas-paprotka.de/ref/table/6211-sustain-account-category/source/#L239) calls `DeleteSubcategories`
- [240](https://jonas-paprotka.de/ref/table/6211-sustain-account-category/source/#L240) calls `UpdateSustainabilityAccounts`
- [241](https://jonas-paprotka.de/ref/table/6211-sustain-account-category/source/#L241) calls `UpdateSustainabilityEntries`

## DeleteSubcategories

[Line 260](https://jonas-paprotka.de/ref/table/6211-sustain-account-category/source/#L260), local.

- [267](https://jonas-paprotka.de/ref/table/6211-sustain-account-category/source/#L267) writes [Table 6212 Sustain. Account Subcategory](https://jonas-paprotka.de/ref/table/6212-sustain-account-subcategory/) DeleteAll(true)

## UpdateSustainabilityAccounts

[Line 272](https://jonas-paprotka.de/ref/table/6211-sustain-account-category/source/#L272), local.

- [278](https://jonas-paprotka.de/ref/table/6211-sustain-account-category/source/#L278) writes [Table 6210 Sustainability Account](https://jonas-paprotka.de/ref/table/6210-sustainability-account/) ModifyAll

## UpdateSustainabilityEntries

[Line 281](https://jonas-paprotka.de/ref/table/6211-sustain-account-category/source/#L281), local.

- [287](https://jonas-paprotka.de/ref/table/6211-sustain-account-category/source/#L287) writes [Table 6216 Sustainability Ledger Entry](https://jonas-paprotka.de/ref/table/6216-sustainability-ledger-entry/) ModifyAll

## CheckIfChangeIsAllowedForCategory

[Line 290](https://jonas-paprotka.de/ref/table/6211-sustain-account-category/source/#L290), local.

- [294](https://jonas-paprotka.de/ref/table/6211-sustain-account-category/source/#L294) calls [Codeunit 6210 Sustainability Account Mgt.](https://jonas-paprotka.de/ref/codeunit/6210-sustainability-account-mgt/) `CheckIfChangeAllowedForCategory`
- [295](https://jonas-paprotka.de/ref/table/6211-sustain-account-category/source/#L295) calls [Codeunit 6210 Sustainability Account Mgt.](https://jonas-paprotka.de/ref/codeunit/6210-sustainability-account-mgt/) `ReCalculateJournalLinesForCategory`

## Source

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

JOP-AL, 2026-11-20.
