---
title: "Codeunit 6219 Sustainability Chart Mgmt."
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/6219-sustainability-chart-mgmt/
type: codeunit
id: 6219
name: "Sustainability Chart Mgmt."
app: "Sustainability"
namespace: Microsoft.Sustainability.RoleCenters
versions: "25-29"
build: 29.0.54011.55644
countries: "W1, DE, US"
source: "https://jonas-paprotka.de/ref/codeunit/6219-sustainability-chart-mgmt/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 6219 Sustainability Chart Mgmt.

JOP-AL, https://jonas-paprotka.de/ref/codeunit/6219-sustainability-chart-mgmt/

| | |
| --- | --- |
| App | Sustainability |
| Namespace | Microsoft.Sustainability.RoleCenters |
| Versions | 25-29 |
| Minors | W1 25.0-29.0; DE 25.0-29.0; US 25.0-29.0, [every minor](https://jonas-paprotka.de/ref/codeunit/6219-sustainability-chart-mgmt/editions.json) |
| Source file | src/RoleCenters/SustainabilityChartMgmt.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| GenerateDate | (var BussChartBuffer: Record "Business Chart Buffer") | - | public | 25-29 | - | - |
| GenerateChartByEmissionGas | (var BussChartBuffer: Record "Business Chart Buffer"; EmissionGas: Text) | - | public | 25-29 | - | - |
| GetCO2e | () | Text | internal | 27-29 | - | - |
| GetCH4 | () | Text | internal | 27-29 | - | - |
| GetN2O | () | Text | internal | 27-29 | - | - |
| GetCO2 | () | Text | internal | 27-29 | - | - |
| GetWater | () | Text | internal | 27-29 | - | - |
| GetWaste | () | Text | internal | 27-29 | - | - |
| UpdateBarByEmissionGas | (var BusChartBuf: Record "Business Chart Buffer"; EmissionGas: Text; WaterType: Boolean) | - | public | 27-29 | - | - |

## Source

Symbols: Microsoft.Sustainability.symbols.b3780cd9-f8f8-4a83-a4d5-0c2ad87b28af, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-11-20.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
