---
title: "Page extension 6218 Sust. Purch. Statistics, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/pageextension/6218-sust-purch-statistics/points/
object: https://jonas-paprotka.de/ref/pageextension/6218-sust-purch-statistics/
app: "Sustainability"
major: 29
source: https://jonas-paprotka.de/ref/pageextension/6218-sust-purch-statistics/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 extension 6218 Sust. Purch. Statistics, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/pageextension/6218-sust-purch-statistics/points/

3 procedures and triggers with a step in src/Apps/W1/Sustainability/app/src/Purchase/SustPurchStatistics.PageExt.al, in source order, read from the text, not from a run.

## OnOpenPage

[Line 77](https://jonas-paprotka.de/ref/pageextension/6218-sust-purch-statistics/source/#L77), trigger.

- [79](https://jonas-paprotka.de/ref/pageextension/6218-sust-purch-statistics/source/#L79) calls `EnableSustainabilityControl`

## OnAfterGetCurrRecord

[Line 82](https://jonas-paprotka.de/ref/pageextension/6218-sust-purch-statistics/source/#L82), trigger.

- [84](https://jonas-paprotka.de/ref/pageextension/6218-sust-purch-statistics/source/#L84) calls `EnableSustainabilityControl`

## Posted Total Emission Cost.OnAfterGetRecord

[Line 87](https://jonas-paprotka.de/ref/pageextension/6218-sust-purch-statistics/source/#L87), trigger.

- [89](https://jonas-paprotka.de/ref/pageextension/6218-sust-purch-statistics/source/#L89) calls `EnableSustainabilityControl`

## Source

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

JOP-AL, 2026-11-20.
