---
title: "Page 6221 Sustainability Setup, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/page/6221-sustainability-setup/points/
object: https://jonas-paprotka.de/ref/page/6221-sustainability-setup/
app: "Sustainability"
major: 29
source: https://jonas-paprotka.de/ref/page/6221-sustainability-setup/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 6221 Sustainability Setup, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/page/6221-sustainability-setup/points/

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

## ResetConfiguration.OnAction

[Line 209](https://jonas-paprotka.de/ref/page/6221-sustainability-setup/source/#L209), trigger.

- [215](https://jonas-paprotka.de/ref/page/6221-sustainability-setup/source/#L215) calls [Codeunit 27 Confirm Management](https://jonas-paprotka.de/ref/codeunit/27-confirm-management/) `GetResponseOrDefault`
- [215](https://jonas-paprotka.de/ref/page/6221-sustainability-setup/source/#L215) calls [Codeunit 5344 CRM Product Name](https://jonas-paprotka.de/ref/codeunit/5344-crm-product-name/) `CDSServiceName`
- [218](https://jonas-paprotka.de/ref/page/6221-sustainability-setup/source/#L218) calls [Codeunit 6277 Sust. Setup Defaults](https://jonas-paprotka.de/ref/codeunit/6277-sust-setup-defaults/) `ResetConfiguration`
- [219](https://jonas-paprotka.de/ref/page/6221-sustainability-setup/source/#L219) calls [Codeunit 5344 CRM Product Name](https://jonas-paprotka.de/ref/codeunit/5344-crm-product-name/) `CDSServiceName`

## OnOpenPage

[Line 262](https://jonas-paprotka.de/ref/page/6221-sustainability-setup/source/#L262), trigger.

- [267](https://jonas-paprotka.de/ref/page/6221-sustainability-setup/source/#L267) calls [Codeunit 8703 Feature Telemetry](https://jonas-paprotka.de/ref/codeunit/8703-feature-telemetry/) `LogUptake`
- [268](https://jonas-paprotka.de/ref/page/6221-sustainability-setup/source/#L268) calls [Table 6217 Sustainability Setup](https://jonas-paprotka.de/ref/table/6217-sustainability-setup/) `InitRecord`

## Disclaimer.OnAfterGetRecord

[Line 273](https://jonas-paprotka.de/ref/page/6221-sustainability-setup/source/#L273), trigger.

- [275](https://jonas-paprotka.de/ref/page/6221-sustainability-setup/source/#L275) calls `SetControlAppearance`

## OnAfterGetCurrRecord

[Line 278](https://jonas-paprotka.de/ref/page/6221-sustainability-setup/source/#L278), trigger.

- [280](https://jonas-paprotka.de/ref/page/6221-sustainability-setup/source/#L280) calls `SetControlAppearance`

## OnClosePage

[Line 283](https://jonas-paprotka.de/ref/page/6221-sustainability-setup/source/#L283), trigger.

- [287](https://jonas-paprotka.de/ref/page/6221-sustainability-setup/source/#L287) calls `IsUnitOfMeasureModified`

## SetControlAppearance

[Line 305](https://jonas-paprotka.de/ref/page/6221-sustainability-setup/source/#L305), local.

- [307](https://jonas-paprotka.de/ref/page/6221-sustainability-setup/source/#L307) calls [Table 6217 Sustainability Setup](https://jonas-paprotka.de/ref/table/6217-sustainability-setup/) `ExistSustainabilityLedgerEntryWithUnitOfMeasure`

## Source

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

JOP-AL, 2026-11-20.
