---
title: "Codeunit 6259 Sust. ESG Reporting Management, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/6259-sust-esg-reporting-management/points/
object: https://jonas-paprotka.de/ref/codeunit/6259-sust-esg-reporting-management/
app: "Sustainability"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/6259-sust-esg-reporting-management/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 6259 Sust. ESG Reporting Management, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/6259-sust-esg-reporting-management/points/

6 procedures and triggers with a step in src/Apps/W1/Sustainability/app/src/ESGReporting/SustESGReportingManagement.Codeunit.al, in source order, read from the text, not from a run.

## TemplateSelection

[Line 19](https://jonas-paprotka.de/ref/codeunit/6259-sust-esg-reporting-management/source/#L19), internal.

- [31](https://jonas-paprotka.de/ref/codeunit/6259-sust-esg-reporting-management/source/#L31) calls `InsertDefaultESGReportingTemplate`

## OpenESGReporting

[Line 70](https://jonas-paprotka.de/ref/codeunit/6259-sust-esg-reporting-management/source/#L70), internal.

- [72](https://jonas-paprotka.de/ref/codeunit/6259-sust-esg-reporting-management/source/#L72) calls `CheckTemplateName`

## OpenESGReportingBatch

[Line 78](https://jonas-paprotka.de/ref/codeunit/6259-sust-esg-reporting-management/source/#L78), internal.

- [96](https://jonas-paprotka.de/ref/codeunit/6259-sust-esg-reporting-management/source/#L96) calls `TemplateSelection`
- [98](https://jonas-paprotka.de/ref/codeunit/6259-sust-esg-reporting-management/source/#L98) calls `CheckTemplateName`

## CheckTemplateName

[Line 167](https://jonas-paprotka.de/ref/codeunit/6259-sust-esg-reporting-management/source/#L167), local.

- [177](https://jonas-paprotka.de/ref/codeunit/6259-sust-esg-reporting-management/source/#L177) calls `InsertDefaultESGReportingName`

## InsertDefaultESGReportingTemplate

[Line 184](https://jonas-paprotka.de/ref/codeunit/6259-sust-esg-reporting-management/source/#L184), internal.

- [189](https://jonas-paprotka.de/ref/codeunit/6259-sust-esg-reporting-management/source/#L189) validates [Table 6228 Sust. ESG Reporting Template](https://jonas-paprotka.de/ref/table/6228-sust-esg-reporting-template/) `Page ID`
- [190](https://jonas-paprotka.de/ref/codeunit/6259-sust-esg-reporting-management/source/#L190) writes [Table 6228 Sust. ESG Reporting Template](https://jonas-paprotka.de/ref/table/6228-sust-esg-reporting-template/) Insert

## InsertDefaultESGReportingName

[Line 193](https://jonas-paprotka.de/ref/codeunit/6259-sust-esg-reporting-management/source/#L193), local.

- [199](https://jonas-paprotka.de/ref/codeunit/6259-sust-esg-reporting-management/source/#L199) writes [Table 6229 Sust. ESG Reporting Name](https://jonas-paprotka.de/ref/table/6229-sust-esg-reporting-name/) Insert

## Source

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

JOP-AL, 2026-11-20.
