---
id: object/table/6212
type: object
title: Table 6212 "Sustain. Account Subcategory"
summary: Table 6212 "Sustain. Account Subcategory" in Sustainability (Microsoft.Sustainability.Account). 15 fields. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - table
  - sustainability
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: 5edf78a5fd2532f2ff0a0fc847d88bd1928f6cf5e9a1e60a90f7a3bd569b8058
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/Sustainability/app/src/Account/SustainAccountSubcategory.Table.al
    title: src/Apps/W1/Sustainability/app/src/Account/SustainAccountSubcategory.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn:
    - https://learn.microsoft.com/dynamics365/business-central/finance-sustainability-accounts-ledger
  objects: []
  features: []
  topics:
    - topic/business-central/business-functionality/sustainability-management
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 6212
name: Sustain. Account Subcategory
caption: Sustainability Account Subcategory
namespace: Microsoft.Sustainability.Account
app: Sustainability
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: 15
  procedures: 2
  events: 0
  subscribers: 0
relations:
  out: 4
  referenced_by: 40
  pages: 3
  extended_by: 1
  event_subscribers: 1
  calls: 1
  called_by: 0
  implements: 0
---

# Table 6212 "Sustain. Account Subcategory"

> Table 6212 "Sustain. Account Subcategory" in Sustainability (Microsoft.Sustainability.Account). 15 fields. Introduced in BC29, still in BC30.

Sustainability · Microsoft.Sustainability.Account · captioned "Sustainability Account Subcategory" · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/Sustainability/app/src/Account/SustainAccountSubcategory.Table.al) · facts from BC29

Learn documents this table through its pages: [Page 6214 "Sustain. Account Subcategories"](../page/6214.md) (1 Learn page).

## Properties

| Property | Value |
|---|---|
| Caption | Sustainability Account Subcategory |
| DataClassification | CustomerContent |
| DrillDownPageId | Sustain. Account Subcategories |

## 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 | Code | Code[20] | Specifies the subcategory code. <small>via [Page 6214 "Sustain. Account Subcategories"](../page/6214.md)</small> | NotBlank |
| 2 | Description | Text[100] | Specifies the description of the record. <small>via [Page 6214 "Sustain. Account Subcategories"](../page/6214.md)</small> |  |
| 3 | Category Code | Code[20] | Specifies the parent category code. <small>via [Page 6214 "Sustain. Account Subcategories"](../page/6214.md)</small> | TableRelation [Table 6211 "Sustain. Account Category"](../table/6211.md) (Sustain. Account Category); NotBlank |
| 4 | Emission Factor CO2 | Decimal | Specifies the emission factor for CO2 emission. <small>via [Page 6214 "Sustain. Account Subcategories"](../page/6214.md)</small> |  |
| 5 | Emission Factor CH4 | Decimal | Specifies the emission factor for CH4 emission. <small>via [Page 6214 "Sustain. Account Subcategories"](../page/6214.md)</small> |  |
| 6 | Emission Factor N2O | Decimal | Specifies the emission factor for N2O emission. <small>via [Page 6214 "Sustain. Account Subcategories"](../page/6214.md)</small> |  |
| 7 | Import Data | Boolean | Specifies if the data is imported from external source. <small>via [Page 6214 "Sustain. Account Subcategories"](../page/6214.md)</small> |  |
| 8 | Import From | Text[250] | Specifies the source of the imported data. <small>via [Page 6214 "Sustain. Account Subcategories"](../page/6214.md)</small> |  |
| 9 | Renewable Energy | Boolean | Specifies if the subcategory is a part of renewable energy. <small>via [Page 6214 "Sustain. Account Subcategories"](../page/6214.md)</small> |  |
| 10 | Water Intensity Factor | Decimal | Specifies the intensity factor for Water. <small>via [Page 6214 "Sustain. Account Subcategories"](../page/6214.md)</small> |  |
| 11 | Discharged Into Water Factor | Decimal | Specifies the intensity factor for Discharged Into Water. <small>via [Page 6214 "Sustain. Account Subcategories"](../page/6214.md)</small> |  |
| 12 | Waste Intensity Factor | Decimal | Specifies the intensity factor for Waste. <small>via [Page 6214 "Sustain. Account Subcategories"](../page/6214.md)</small> |  |
| 13 | Energy Source Code | Code[20] | Specifies the code assigned to the energy source you want to add. | TableRelation [Table 6233 "Sustainability Energy Source"](../table/6233.md) (Sustainability Energy Source) |
| 14 | Energy Value Required | Boolean | Specifies the value of the Energy Value Required field. <small>via [Page 6214 "Sustain. Account Subcategories"](../page/6214.md)</small> |  |
| 15 | Energy Onsite | Boolean | Specifies the energy source used for generation is onsite or not. |  |

## Keys

- Key1: Category Code, Code (clustered)

## Trigger event subscribers

- OnAfterValidateEvent(Emission Factor CO2): [Codeunit 6296 "Sust. Emission Subscribers"](../codeunit/6296.md) OnAfterValidateEmissionFactorCO2

## Procedures

2 local procedures, no public ones.

## Triggers

OnDelete, OnInsert

## Relations

- drill-down page [Page 6214 "Sustain. Account Subcategories"](../page/6214.md)
- lookup page [Page 6214 "Sustain. Account Subcategories"](../page/6214.md)
- Category Code: TableRelation [Table 6211 "Sustain. Account Category"](../table/6211.md)
- Energy Source Code: TableRelation [Table 6233 "Sustainability Energy Source"](../table/6233.md)

## Referenced by

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

- [Table 6210 "Sustainability Account"](../table/6210.md): Subcategory
- [Table 6214 "Sustainability Jnl. Line"](../table/6214.md): Account Subcategory
- [Table 6216 "Sustainability Ledger Entry"](../table/6216.md): Account Subcategory
- [Table 6227 "Sustainability Value Entry"](../table/6227.md): Account Subcategory
- [Table 6240 "Sust. Excise Jnl. Line"](../table/6240.md): Account Subcategory
- [Table 6241 "Sust. Excise Taxes Trans. Log"](../table/6241.md): Account Subcategory
- [Table 6290 "Sustain. Emission Suggestion"](../table/6290.md): Account Subcategory
- [Table extension 6211 "Sustainability Purch. Line"](../tableextension/6211.md): Sust. Account Subcategory
- [Table extension 6213 "Sust. Purch. Cr. Memo Line"](../tableextension/6213.md): Sust. Account Subcategory
- [Table extension 6214 "Sust. Purch. Inv. Line"](../tableextension/6214.md): Sust. Account Subcategory
- [Table extension 6215 "Sust. Purch. Ret. Shpt. Line"](../tableextension/6215.md): Sust. Account Subcategory
- [Table extension 6216 "Sust. Purch. Rcpt. Line"](../tableextension/6216.md): Sust. Account Subcategory
- [Table extension 6224 "Sust. Gen. Journal Line"](../tableextension/6224.md): Sust. Account Subcategory
- [Table extension 6225 "Sust. Posted Gen. Journal Line"](../tableextension/6225.md): Sust. Account Subcategory
- [Table extension 6233 "Sust. Item Journal Line"](../tableextension/6233.md): Sust. Account Subcategory
- [Table extension 6235 "Sustainability Sales Line"](../tableextension/6235.md): Sust. Account Subcategory
- [Table extension 6237 "Sust. Sales Cr. Memo Line"](../tableextension/6237.md): Sust. Account Subcategory
- [Table extension 6239 "Sust. Sales Invoice Line"](../tableextension/6239.md): Sust. Account Subcategory
- [Table extension 6240 "Sust. Sales Ret. Rcpt. Line"](../tableextension/6240.md): Sust. Account Subcategory
- [Table extension 6241 "Sust. Sales Shipment Line"](../tableextension/6241.md): Sust. Account Subcategory
- [Table extension 6246 "Sust. Prod. Order Component"](../tableextension/6246.md): Sust. Account Subcategory
- [Table extension 6247 "Sust. Prod. Order Routing Line"](../tableextension/6247.md): Sust. Account Subcategory
- [Table extension 6248 "Sust. Prod. Order Line"](../tableextension/6248.md): Sust. Account Subcategory
- [Table extension 6250 "Sust. Transfer Line"](../tableextension/6250.md): Sust. Account Subcategory
- [Table extension 6251 "Sustainability Assembly Header"](../tableextension/6251.md): Sust. Account Subcategory
- [Table extension 6252 "Sust. Assembly Line"](../tableextension/6252.md): Sust. Account Subcategory
- [Table extension 6253 "Sust. Posted Assembly Header"](../tableextension/6253.md): Sust. Account Subcategory
- [Table extension 6254 "Sust. Posted Assembly Line"](../tableextension/6254.md): Sust. Account Subcategory
- [Table extension 6256 "Sust. Transfer Shipment Line"](../tableextension/6256.md): Sust. Account Subcategory
- [Table extension 6258 "Sust. Job Journal Line"](../tableextension/6258.md): Sust. Account Subcategory
- [Table extension 6259 "Sust. Capacity Ledger Entry"](../tableextension/6259.md): Sust. Account Subcategory
- [Table extension 6261 "Sust. Item Ledger Entry"](../tableextension/6261.md): Sust. Account Subcategory
- [Table extension 6263 "Sust. FA Ledger Entry"](../tableextension/6263.md): Sust. Account Subcategory
- [Table extension 6264 "Sust. FA Journal Line"](../tableextension/6264.md): Sust. Account Subcategory
- [Table extension 6271 "Sustainability Service Line"](../tableextension/6271.md): Sust. Account Subcategory
- [Table extension 6273 "Sust. Service Cr. Memo Line"](../tableextension/6273.md): Sust. Account Subcategory
- [Table extension 6275 "Sust. Service Invoice Line"](../tableextension/6275.md): Sust. Account Subcategory
- [Table extension 6276 "Sust. Service Shipment Line"](../tableextension/6276.md): Sust. Account Subcategory
- [Table extension 6279 "Sust. Resource Journal Line"](../tableextension/6279.md): Sust. Account Subcategory
- [Table extension 6281 "Sust. Invoice Posting Buffer"](../tableextension/6281.md): Sust. Account Subcategory

## Pages and codeunits on this table

- [Page 6214 "Sustain. Account Subcategories"](../page/6214.md) (source table)
- [Page 6223 "Sustain. Subcategory FactBox"](../page/6223.md) (source table)
- [Page 6229 "Sust. Acc. Subcategory"](../page/6229.md) (source table)

## Extended by

- [Table extension 6291 "Sustain. Account Subcategory"](../tableextension/6291.md)

## 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 6210 "Sustainability Account Mgt."](../codeunit/6210.md) (2 calls: `CheckIfChangeAllowedAndRecalculateJournalLines → CheckIfChangeAllowedForSubcategory`, `CheckIfChangeAllowedAndRecalculateJournalLines → ReCalculateJournalLinesForSubcategory`)

## 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: "Sustain. Account Subcategory")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
