---
title: "Page 6252 Sust. ESG Report. Aggregation, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/page/6252-sust-esg-report-aggregation/points/
object: https://jonas-paprotka.de/ref/page/6252-sust-esg-report-aggregation/
app: "Sustainability"
major: 29
source: https://jonas-paprotka.de/ref/page/6252-sust-esg-report-aggregation/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/"
---

# Page 6252 Sust. ESG Report. Aggregation, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/page/6252-sust-esg-report-aggregation/points/

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

## CurrentStmtName.OnLookup

[Line 31](https://jonas-paprotka.de/ref/page/6252-sust-esg-report-aggregation/source/#L31), trigger.

- [33](https://jonas-paprotka.de/ref/page/6252-sust-esg-report-aggregation/source/#L33) calls [Codeunit 6259 Sust. ESG Reporting Management](https://jonas-paprotka.de/ref/codeunit/6259-sust-esg-reporting-management/) `LookupName`

## CurrentStmtName.OnValidate

[Line 36](https://jonas-paprotka.de/ref/page/6252-sust-esg-report-aggregation/source/#L36), trigger.

- [38](https://jonas-paprotka.de/ref/page/6252-sust-esg-report-aggregation/source/#L38) calls [Codeunit 6259 Sust. ESG Reporting Management](https://jonas-paprotka.de/ref/codeunit/6259-sust-esg-reporting-management/) `CheckName`
- [39](https://jonas-paprotka.de/ref/page/6252-sust-esg-report-aggregation/source/#L39) calls `CurrentESGReportingNameOnAfterValidate`

## CRMGotoAssessmentRequirement.OnAction

[Line 205](https://jonas-paprotka.de/ref/page/6252-sust-esg-report-aggregation/source/#L205), trigger.

- [209](https://jonas-paprotka.de/ref/page/6252-sust-esg-report-aggregation/source/#L209) calls [Codeunit 5330 CRM Integration Management](https://jonas-paprotka.de/ref/codeunit/5330-crm-integration-management/) `ShowCRMEntityFromRecordID`

## CRMSynchronizeNow.OnAction

[Line 220](https://jonas-paprotka.de/ref/page/6252-sust-esg-report-aggregation/source/#L220), trigger.

- [230](https://jonas-paprotka.de/ref/page/6252-sust-esg-report-aggregation/source/#L230) calls [Codeunit 5330 CRM Integration Management](https://jonas-paprotka.de/ref/codeunit/5330-crm-integration-management/) `UpdateOneNow`
- [233](https://jonas-paprotka.de/ref/page/6252-sust-esg-report-aggregation/source/#L233) calls [Codeunit 5330 CRM Integration Management](https://jonas-paprotka.de/ref/codeunit/5330-crm-integration-management/) `UpdateMultipleNow`

## ManageCRMCoupling.OnAction

[Line 250](https://jonas-paprotka.de/ref/page/6252-sust-esg-report-aggregation/source/#L250), trigger.

- [254](https://jonas-paprotka.de/ref/page/6252-sust-esg-report-aggregation/source/#L254) calls [Codeunit 5330 CRM Integration Management](https://jonas-paprotka.de/ref/codeunit/5330-crm-integration-management/) `DefineCoupling`

## DeleteCRMCoupling.OnAction

[Line 266](https://jonas-paprotka.de/ref/page/6252-sust-esg-report-aggregation/source/#L266), trigger.

- [274](https://jonas-paprotka.de/ref/page/6252-sust-esg-report-aggregation/source/#L274) calls [Codeunit 5331 CRM Coupling Management](https://jonas-paprotka.de/ref/codeunit/5331-crm-coupling-management/) `RemoveCoupling`

## ShowLog.OnAction

[Line 285](https://jonas-paprotka.de/ref/page/6252-sust-esg-report-aggregation/source/#L285), trigger.

- [289](https://jonas-paprotka.de/ref/page/6252-sust-esg-report-aggregation/source/#L289) calls [Codeunit 5330 CRM Integration Management](https://jonas-paprotka.de/ref/codeunit/5330-crm-integration-management/) `ShowLog`

## Calc. and Post ESG Report.OnAction

[Line 307](https://jonas-paprotka.de/ref/page/6252-sust-esg-report-aggregation/source/#L307), trigger.

- [309](https://jonas-paprotka.de/ref/page/6252-sust-esg-report-aggregation/source/#L309) calls `PostDocument`

## OnOpenPage

[Line 354](https://jonas-paprotka.de/ref/page/6252-sust-esg-report-aggregation/source/#L354), trigger.

- [360](https://jonas-paprotka.de/ref/page/6252-sust-esg-report-aggregation/source/#L360) calls [Codeunit 5330 CRM Integration Management](https://jonas-paprotka.de/ref/codeunit/5330-crm-integration-management/) `IsCRMIntegrationEnabled`
- [361](https://jonas-paprotka.de/ref/page/6252-sust-esg-report-aggregation/source/#L361) calls [Codeunit 5330 CRM Integration Management](https://jonas-paprotka.de/ref/codeunit/5330-crm-integration-management/) `IsCDSIntegrationEnabled`
- [363](https://jonas-paprotka.de/ref/page/6252-sust-esg-report-aggregation/source/#L363) calls [Table 6217 Sustainability Setup](https://jonas-paprotka.de/ref/table/6217-sustainability-setup/) `IsDataverseIntegrationEnabled`
- [368](https://jonas-paprotka.de/ref/page/6252-sust-esg-report-aggregation/source/#L368) calls [Codeunit 6259 Sust. ESG Reporting Management](https://jonas-paprotka.de/ref/codeunit/6259-sust-esg-reporting-management/) `OpenESGReporting`
- [372](https://jonas-paprotka.de/ref/page/6252-sust-esg-report-aggregation/source/#L372) calls [Codeunit 6259 Sust. ESG Reporting Management](https://jonas-paprotka.de/ref/codeunit/6259-sust-esg-reporting-management/) `TemplateSelection`
- [376](https://jonas-paprotka.de/ref/page/6252-sust-esg-report-aggregation/source/#L376) calls [Codeunit 6259 Sust. ESG Reporting Management](https://jonas-paprotka.de/ref/codeunit/6259-sust-esg-reporting-management/) `OpenESGReporting`

## OnAfterGetCurrRecord

[Line 379](https://jonas-paprotka.de/ref/page/6252-sust-esg-report-aggregation/source/#L379), trigger.

- [384](https://jonas-paprotka.de/ref/page/6252-sust-esg-report-aggregation/source/#L384) calls [Codeunit 5331 CRM Coupling Management](https://jonas-paprotka.de/ref/codeunit/5331-crm-coupling-management/) `IsRecordCoupledToCRM`

## CurrentESGReportingNameOnAfterValidate

[Line 396](https://jonas-paprotka.de/ref/page/6252-sust-esg-report-aggregation/source/#L396), local.

- [399](https://jonas-paprotka.de/ref/page/6252-sust-esg-report-aggregation/source/#L399) calls [Codeunit 6259 Sust. ESG Reporting Management](https://jonas-paprotka.de/ref/codeunit/6259-sust-esg-reporting-management/) `SetName`

## PostDocument

[Line 403](https://jonas-paprotka.de/ref/page/6252-sust-esg-report-aggregation/source/#L403), local.

- [407](https://jonas-paprotka.de/ref/page/6252-sust-esg-report-aggregation/source/#L407) calls [Codeunit 6261 Sust. ESG Reporting Post. Mgt](https://jonas-paprotka.de/ref/codeunit/6261-sust-esg-reporting-post-mgt/) `PostESGReport`

## Source

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

JOP-AL, 2026-11-20.
