---
id: object/table/6217
type: object
title: Table 6217 "Sustainability Setup"
summary: Table 6217 "Sustainability Setup" in Sustainability (Microsoft.Sustainability.Setup). 35 fields, 8 public procedures. 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: 4b01c73624659adc3b4f2adabc2e398a5d973c008977519f5463075268bbf809
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/Sustainability/app/src/Setup/SustainabilitySetup.Table.al
    title: src/Apps/W1/Sustainability/app/src/Setup/SustainabilitySetup.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn:
    - https://learn.microsoft.com/dynamics365/business-central/finance-sustainability-setup
    - https://learn.microsoft.com/dynamics365/business-central/value-chain-howto-setup
  objects: []
  features: []
  topics:
    - topic/business-central/business-functionality/sustainability-management
    - topic/business-central/business-functionality/sustainability-management/sustainability-value-chain
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/9613
object_type: table
object_id: 6217
name: Sustainability Setup
namespace: Microsoft.Sustainability.Setup
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: 35
  procedures: 13
  events: 0
  subscribers: 0
relations:
  out: 7
  referenced_by: 0
  pages: 1
  extended_by: 0
  event_subscribers: 0
  calls: 1
  called_by: 0
  implements: 0
---

# Table 6217 "Sustainability Setup"

> Table 6217 "Sustainability Setup" in Sustainability (Microsoft.Sustainability.Setup). 35 fields, 8 public procedures. Introduced in BC29, still in BC30.

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

Learn documents this table through its pages: [Page 6221 "Sustainability Setup"](../page/6221.md) (2 Learn pages).

## Properties

| Property | Value |
|---|---|
| Caption | Sustainability Setup |
| 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 | Primary Key | Code[10] | — |  |
| 2 | Emission Unit of Measure Code | Code[10] | Specifies the unit of measure code that is used to register emission. <small>via [Page 6221 "Sustainability Setup"](../page/6221.md)</small> | TableRelation [Table 204 "Unit of Measure"](../table/204.md) (Unit of Measure) |
| 3 | Emission Reporting UOM Code | Code[10] | Specifies the unit of measure code that is used to report emission. <small>via [Page 6221 "Sustainability Setup"](../page/6221.md)</small> | TableRelation [Table 204 "Unit of Measure"](../table/204.md) (Unit of Measure) |
| 4 | Reporting UOM Factor | Decimal | Specifies the unit of measure factor that is used to register emission. <small>via [Page 6221 "Sustainability Setup"](../page/6221.md)</small> |  |
| 5 | Emission Decimal Places | Text[5] | Specifies the number of decimal places that are shown for emission amounts. The default setting, 2:5, specifies that all amounts are shown with a minimum of 2 decimal places and a maximum of 5 decimal places. You can also enter a fixed number, such as 2, which also means that amounts are shown with ... <small>via [Page 6221 "Sustainability Setup"](../page/6221.md)</small> |  |
| 6 | Emission Rounding Precision | Decimal | Specifies the size of the interval to be used when rounding emission amounts. <small>via [Page 6221 "Sustainability Setup"](../page/6221.md)</small> | NotBlank |
| 7 | Emission Rounding Type | Enum "Rounding Type" | Specifies how the program will round emission amount. <small>via [Page 6221 "Sustainability Setup"](../page/6221.md)</small> | enum [Enum 9198 "Rounding Type"](../enum/9198.md) |
| 8 | Fuel/El. Decimal Places | Text[5] | Specifies the number of decimal places that are shown for fuel/electricity amounts. The default setting, 2:5, specifies that all amounts are shown with a minimum of 2 decimal places and a maximum of 5 decimal places. You can also enter a fixed number, such as 2, which also means that amounts are sho... <small>via [Page 6221 "Sustainability Setup"](../page/6221.md)</small> |  |
| 9 | Distance Decimal Places | Text[5] | Specifies the number of decimal places that are shown for distance measurements. The default setting, 2:5, specifies that all amounts are shown with a minimum of 2 decimal places and a maximum of 5 decimal places. You can also enter a fixed number, such as 2, which also means that amounts are shown ... <small>via [Page 6221 "Sustainability Setup"](../page/6221.md)</small> |  |
| 10 | Custom Amt. Decimal Places | Text[5] | Specifies the number of decimal places that are shown for custom amounts. The default setting, 2:5, specifies that all amounts are shown with a minimum of 2 decimal places and a maximum of 5 decimal places. You can also enter a fixed number, such as 2, which also means that amounts are shown with tw... <small>via [Page 6221 "Sustainability Setup"](../page/6221.md)</small> |  |
| 11 | CSRD Reporting Link | Text[250] | Specifies the Corporate Sustainability Reporting Directive link to report emission. <small>via [Page 6221 "Sustainability Setup"](../page/6221.md)</small> |  |
| 12 | Country/Region Mandatory | Boolean | Specifies if country/region is mandatory. <small>via [Page 6221 "Sustainability Setup"](../page/6221.md)</small> |  |
| 13 | Resp. Center Mandatory | Boolean | Specifies if responsibility center is mandatory. <small>via [Page 6221 "Sustainability Setup"](../page/6221.md)</small> |  |
| 14 | Block Change If Entry Exists | Boolean | Specifies if the change of critical setup change is blocked when sustainability entry exists. <small>via [Page 6221 "Sustainability Setup"](../page/6221.md)</small> |  |
| 15 | Enable Background Error Check | Boolean | Specifies if the background error check of sustainability journal lines is enabled. <small>via [Page 6221 "Sustainability Setup"](../page/6221.md)</small> |  |
| 16 | Use Emissions In Purch. Doc. | Boolean | Specifies that you want to enable sustainability features in purchase documents. Until this field is selected, sustainability fields will not be displayed in the purchase lines. Select this field only if you intend to post your GHG emissions using purchase documents or to post purchasing carbon cred... <small>via [Page 6221 "Sustainability Setup"](../page/6221.md)</small> |  |
| 17 | Waste Unit of Measure Code | Code[10] | Specifies the value of the Waste Unit of Measure Code field. <small>via [Page 6221 "Sustainability Setup"](../page/6221.md)</small> | TableRelation [Table 204 "Unit of Measure"](../table/204.md) (Unit of Measure) |
| 18 | Water Unit of Measure Code | Code[10] | Specifies the value of the Water Unit of Measure Code field. <small>via [Page 6221 "Sustainability Setup"](../page/6221.md)</small> | TableRelation [Table 204 "Unit of Measure"](../table/204.md) (Unit of Measure) |
| 19 | Disch. Into Water Unit of Meas | Code[10] | Specifies the value of the Discharged Into Water Unit of Measure Code field. <small>via [Page 6221 "Sustainability Setup"](../page/6221.md)</small> | TableRelation [Table 204 "Unit of Measure"](../table/204.md) (Unit of Measure) |
| 20 | G/L Account Emissions | Boolean | Specifies the enablement of default Sustainability Account on the G/L Account card. <small>via [Page 6221 "Sustainability Setup"](../page/6221.md)</small> |  |
| 21 | Item Emissions | Boolean | Specifies the enablement of default Sustainability Account emissions on the Item card. <small>via [Page 6221 "Sustainability Setup"](../page/6221.md)</small> |  |
| 22 | Item Charge Emissions | Boolean | Specifies the enablement of default Sustainability Account emissions on the Item Charge. <small>via [Page 6221 "Sustainability Setup"](../page/6221.md)</small> |  |
| 23 | Resource Emissions | Boolean | Specifies the enablement of default Sustainability Account emissions on the Resource card. <small>via [Page 6221 "Sustainability Setup"](../page/6221.md)</small> |  |
| 24 | Work/Machine Center Emissions | Boolean | Specifies the enablement of default Sustainability Account emissions on the Work Center and Machine Center cards. <small>via [Page 6221 "Sustainability Setup"](../page/6221.md)</small> |  |
| 25 | Enable Value Chain Tracking | Boolean | Specifies whether to generate sustainability value entries from procurement operations for Scope 3 upstream tracking. Enabling this automatically turns on: Use Emissions in Purchase Documents, Item Emissions, Resource Emissions, Fixed Asset Emissions, Item Charge and Work/Machine Center Emissions. E... <small>via [Page 6221 "Sustainability Setup"](../page/6221.md)</small> |  |
| 26 | Energy Unit of Measure Code | Code[10] | Specifies the value of the Energy Unit of Measure Code field. <small>via [Page 6221 "Sustainability Setup"](../page/6221.md)</small> | TableRelation [Table 204 "Unit of Measure"](../table/204.md) (Unit of Measure) |
| 27 | Energy Reporting UOM Code | Code[10] | Specifies the unit of measure code that is used to report Energy. <small>via [Page 6221 "Sustainability Setup"](../page/6221.md)</small> | TableRelation [Table 204 "Unit of Measure"](../table/204.md) (Unit of Measure) |
| 28 | Energy Reporting UOM Factor | Decimal | Specifies the unit of measure factor that is used to register Energy. <small>via [Page 6221 "Sustainability Setup"](../page/6221.md)</small> |  |
| 29 | Use All Gases As CO2e | Boolean | Specifies that you want to enable recording all gases as CO2 equivalent values. When this field is selected, the captions for gases will change from their names to their CO2e equivalents. The values you are expected to enter will correspond to their carbon equivalent values, not the original gas val... |  |
| 30 | Posted ESG Reporting Nos. | Code[20] | Specifies the code for the number series that will be used to assign numbers to posted ESG Reporting nos. | TableRelation No. Series |
| 31 | Item Material Composition Nos. | Code[20] | Specifies the code for the number series that will be used to assign numbers to Item Material Composition Nos. | TableRelation No. Series |
| 32 | ESG Standard Reporting Nos. | Code[20] | Specifies the code for the number series that will be used to assign numbers for standard records created by dataverse to ESG Standard Reporting. | TableRelation No. Series |
| 40 | Is Dataverse Int. Enabled | Boolean | Specifies if the connection to Dynamics 365 Dataverse is enabled. <small>via [Page 6221 "Sustainability Setup"](../page/6221.md)</small> | DataClassification SystemMetadata |
| 41 | Use Formulas In Purch. Docs | Boolean | Specifies if the formula-based calculations are enabled for purchase documents. <small>via [Page 6221 "Sustainability Setup"](../page/6221.md)</small> |  |
| 50 | Fixed Asset Emissions | Boolean | Specifies the enablement of default Sustainability Account emissions on the Fixed Asset card. <small>via [Page 6221 "Sustainability Setup"](../page/6221.md)</small> |  |

## Keys

- Key1: Primary Key (clustered)

## Procedures

- `GetRecordOnce()`
- `IsValueChainTrackingEnabled(): Boolean`
- `GetFormat(FieldNo: Integer): Text` (internal)
- `GetReportingParameters(var UOMCode: Code[10]; var UseUOMReportingFactor: Boolean; var UOMFactor: Decimal; var Direction: Text; var Precision: Decimal)` (internal)
- `IsDataverseIntegrationEnabled(): Boolean` (internal)
- `ExistSustainabilityLedgerEntryWithUnitOfMeasure(UnitOfMeasure: Code[10]): Boolean` (internal)
- `GetIntegrationTableIDFilter(): Text` (internal)
- `InitRecord()` (internal)

Plus 5 local procedures.

## Relations

- Disch. Into Water Unit of Meas: TableRelation [Table 204 "Unit of Measure"](../table/204.md)
- Emission Reporting UOM Code: TableRelation [Table 204 "Unit of Measure"](../table/204.md)
- Emission Unit of Measure Code: TableRelation [Table 204 "Unit of Measure"](../table/204.md)
- Energy Reporting UOM Code: TableRelation [Table 204 "Unit of Measure"](../table/204.md)
- Energy Unit of Measure Code: TableRelation [Table 204 "Unit of Measure"](../table/204.md)
- Waste Unit of Measure Code: TableRelation [Table 204 "Unit of Measure"](../table/204.md)
- Water Unit of Measure Code: TableRelation [Table 204 "Unit of Measure"](../table/204.md)

## Pages and codeunits on this table

- [Page 6221 "Sustainability Setup"](../page/6221.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 8703 "Feature Telemetry"](../codeunit/8703.md) (2 calls: `InitRecord → LogUptake`, `InitRecord → LogUsage`)

## Recent changes

- 2026-07-29 [#9613 [Master] - Sustainability: Specific Carbon Tracking, Item Charge emissions & setup fixes (Bugs 641051, 641486, 641487, 641049, 641222, 641055, 641289, 641224, 641309)](../../changes/bcapps/9613.md) (main, BC30, fix)

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