---
title: "Page 6226 Sustain. Jnl. Errors Factbox, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/page/6226-sustain-jnl-errors-factbox/points/
object: https://jonas-paprotka.de/ref/page/6226-sustain-jnl-errors-factbox/
app: "Sustainability"
major: 29
source: https://jonas-paprotka.de/ref/page/6226-sustain-jnl-errors-factbox/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 6226 Sustain. Jnl. Errors Factbox, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/page/6226-sustain-jnl-errors-factbox/points/

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

## NumberOfBatchErrors.OnDrillDown

[Line 41](https://jonas-paprotka.de/ref/page/6226-sustain-jnl-errors-factbox/source/#L41), trigger.

- [45](https://jonas-paprotka.de/ref/page/6226-sustain-jnl-errors-factbox/source/#L45) runs [Page 700 Error Messages](https://jonas-paprotka.de/ref/page/700-error-messages/)

## Refresh.OnDrillDown

[Line 53](https://jonas-paprotka.de/ref/page/6226-sustain-jnl-errors-factbox/source/#L53), trigger.

- [55](https://jonas-paprotka.de/ref/page/6226-sustain-jnl-errors-factbox/source/#L55) calls [Codeunit 6220 Sustain. Jnl. Errors Mgt.](https://jonas-paprotka.de/ref/codeunit/6220-sustain-jnl-errors-mgt/) `BackgroundCheckEnabled`
- [56](https://jonas-paprotka.de/ref/page/6226-sustain-jnl-errors-factbox/source/#L56) calls [Codeunit 6220 Sustain. Jnl. Errors Mgt.](https://jonas-paprotka.de/ref/codeunit/6220-sustain-jnl-errors-mgt/) `SetFullBatchCheck`
- [57](https://jonas-paprotka.de/ref/page/6226-sustain-jnl-errors-factbox/source/#L57) calls `CheckErrorsInBackground`

## OnOpenPage

[Line 80](https://jonas-paprotka.de/ref/page/6226-sustain-jnl-errors-factbox/source/#L80), trigger.

- [82](https://jonas-paprotka.de/ref/page/6226-sustain-jnl-errors-factbox/source/#L82) calls [Codeunit 6220 Sustain. Jnl. Errors Mgt.](https://jonas-paprotka.de/ref/codeunit/6220-sustain-jnl-errors-mgt/) `BackgroundCheckEnabled`
- [83](https://jonas-paprotka.de/ref/page/6226-sustain-jnl-errors-factbox/source/#L83) calls [Codeunit 6220 Sustain. Jnl. Errors Mgt.](https://jonas-paprotka.de/ref/codeunit/6220-sustain-jnl-errors-mgt/) `SetFullBatchCheck`
- [84](https://jonas-paprotka.de/ref/page/6226-sustain-jnl-errors-factbox/source/#L84) calls `CheckErrorsInBackground`

## OnAfterGetCurrRecord

[Line 88](https://jonas-paprotka.de/ref/page/6226-sustain-jnl-errors-factbox/source/#L88), trigger.

- [90](https://jonas-paprotka.de/ref/page/6226-sustain-jnl-errors-factbox/source/#L90) calls [Codeunit 6220 Sustain. Jnl. Errors Mgt.](https://jonas-paprotka.de/ref/codeunit/6220-sustain-jnl-errors-mgt/) `BackgroundCheckEnabled`
- [91](https://jonas-paprotka.de/ref/page/6226-sustain-jnl-errors-factbox/source/#L91) calls `CheckErrorsInBackground`

## OnPageBackgroundTaskCompleted

[Line 94](https://jonas-paprotka.de/ref/page/6226-sustain-jnl-errors-factbox/source/#L94), trigger.

- [97](https://jonas-paprotka.de/ref/page/6226-sustain-jnl-errors-factbox/source/#L97) calls [Codeunit 6220 Sustain. Jnl. Errors Mgt.](https://jonas-paprotka.de/ref/codeunit/6220-sustain-jnl-errors-mgt/) `GetErrorsFromSustJnlCheckResultValues`
- [98](https://jonas-paprotka.de/ref/page/6226-sustain-jnl-errors-factbox/source/#L98) calls `CalcErrors`
- [99](https://jonas-paprotka.de/ref/page/6226-sustain-jnl-errors-factbox/source/#L99) calls `GetNumberOfLines`

## CheckErrorsInBackground

[Line 145](https://jonas-paprotka.de/ref/page/6226-sustain-jnl-errors-factbox/source/#L145), local.

- [153](https://jonas-paprotka.de/ref/page/6226-sustain-jnl-errors-factbox/source/#L153) calls [Codeunit 6220 Sustain. Jnl. Errors Mgt.](https://jonas-paprotka.de/ref/codeunit/6220-sustain-jnl-errors-mgt/) `CollectSustJnlCheckParameters`
- [154](https://jonas-paprotka.de/ref/page/6226-sustain-jnl-errors-factbox/source/#L154) calls [Table 9080 Error Handling Parameters](https://jonas-paprotka.de/ref/table/9080-error-handling-parameters/) `ToArgs`
- [156](https://jonas-paprotka.de/ref/page/6226-sustain-jnl-errors-factbox/source/#L156) calls [Codeunit 6220 Sustain. Jnl. Errors Mgt.](https://jonas-paprotka.de/ref/codeunit/6220-sustain-jnl-errors-mgt/) `GetDeletedSustJnlLine`
- [159](https://jonas-paprotka.de/ref/page/6226-sustain-jnl-errors-factbox/source/#L159) calls `DeletedDocumentToJson`

## CalcErrors

[Line 166](https://jonas-paprotka.de/ref/page/6226-sustain-jnl-errors-factbox/source/#L166), local.

- [190](https://jonas-paprotka.de/ref/page/6226-sustain-jnl-errors-factbox/source/#L190) calls `GetTotalErrorsStyle`
- [191](https://jonas-paprotka.de/ref/page/6226-sustain-jnl-errors-factbox/source/#L191) calls `GetCurrentLineStyle`
- [192](https://jonas-paprotka.de/ref/page/6226-sustain-jnl-errors-factbox/source/#L192) calls `GetNumberOfLinesWithErrors`

## GetNumberOfLinesWithErrors

[Line 195](https://jonas-paprotka.de/ref/page/6226-sustain-jnl-errors-factbox/source/#L195), local.

- [205](https://jonas-paprotka.de/ref/page/6226-sustain-jnl-errors-factbox/source/#L205) writes [Table 700 Error Message](https://jonas-paprotka.de/ref/table/700-error-message/) Insert

## Source

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

JOP-AL, 2026-11-20.
