---
title: "Codeunit 9079 Background Error Handling Mgt., extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/points/
object: https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/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 9079 Background Error Handling Mgt., extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/points/

32 procedures and triggers with a step in src/Layers/W1/BaseApp/Utilities/BackgroundErrorHandlingMgt.Codeunit.al, in source order, read from the text, not from a run.

## CleanTempErrorMessages

[Line 48](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L48).

- [50](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L50) calls `CheckCleanDeletedGenJnlLinesErrors`
- [54](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L54) writes [Table 700 Error Message](https://jonas-paprotka.de/ref/table/700-error-message/) DeleteAll
- [57](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L57) calls `CleanDocumentRelatedErrors`
- [60](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L60) calls `CleanDocumentRelatedErrors`

## CheckCleanDeletedGenJnlLinesErrors

[Line 66](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L66), local.

- [70](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L70) calls [Codeunit 9080 Journal Errors Mgt.](https://jonas-paprotka.de/ref/codeunit/9080-journal-errors-mgt/) `GetDeletedGenJnlLine`
- [75](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L75) writes [Table 700 Error Message](https://jonas-paprotka.de/ref/table/700-error-message/) DeleteAll
- [77](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L77) calls `CleanDocumentRelatedErrors`

## CleanItemJnlTempErrorMessages

[Line 84](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L84).

- [88](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L88) calls `CheckCleanDeletedItemJnlLinesErrors`
- [92](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L92) writes [Table 700 Error Message](https://jonas-paprotka.de/ref/table/700-error-message/) DeleteAll
- [95](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L95) calls `CleanItemJnlLineRelatedError`
- [97](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L97) calls `CleanItemJnlLineRelatedError`

## CleanItemJnlLineRelatedError

[Line 101](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L101), local.

- [105](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L105) writes [Table 700 Error Message](https://jonas-paprotka.de/ref/table/700-error-message/) DeleteAll

## CheckCleanDeletedItemJnlLinesErrors

[Line 108](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L108), local.

- [112](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L112) calls [Codeunit 9077 Item Journal Errors Mgt.](https://jonas-paprotka.de/ref/codeunit/9077-item-journal-errors-mgt/) `GetDeletedItemJnlLine`
- [116](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L116) calls `CleanItemJnlLineRelatedError`

## CleanDocumentRelatedErrors

[Line 121](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L121), local.

- [133](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L133) writes [Table 700 Error Message](https://jonas-paprotka.de/ref/table/700-error-message/) DeleteAll

## CollectGenJnlCheckParameters

[Line 137](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L137).

- [144](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L144) calls [Codeunit 9080 Journal Errors Mgt.](https://jonas-paprotka.de/ref/codeunit/9080-journal-errors-mgt/) `GetFullBatchCheck`
- [145](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L145) calls [Codeunit 9080 Journal Errors Mgt.](https://jonas-paprotka.de/ref/codeunit/9080-journal-errors-mgt/) `GetRecXRecOnModify`

## CollectItemJnlCheckParameters

[Line 152](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L152).

- [157](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L157) calls [Codeunit 9077 Item Journal Errors Mgt.](https://jonas-paprotka.de/ref/codeunit/9077-item-journal-errors-mgt/) `GetFullBatchCheck`
- [158](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L158) calls [Codeunit 9077 Item Journal Errors Mgt.](https://jonas-paprotka.de/ref/codeunit/9077-item-journal-errors-mgt/) `GetItemJnlLinePreviousLineNo`

## CollectSalesDocCheckParameters

[Line 161](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L161).

- [165](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L165) calls [Codeunit 9070 Document Errors Mgt.](https://jonas-paprotka.de/ref/codeunit/9070-document-errors-mgt/) `GetFullDocumentCheck`
- [166](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L166) calls [Codeunit 9070 Document Errors Mgt.](https://jonas-paprotka.de/ref/codeunit/9070-document-errors-mgt/) `GetModifiedSalesLineNo`

## CollectPurchaseDocCheckParameters

[Line 169](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L169).

- [173](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L173) calls [Codeunit 9070 Document Errors Mgt.](https://jonas-paprotka.de/ref/codeunit/9070-document-errors-mgt/) `GetFullDocumentCheck`
- [174](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L174) calls [Codeunit 9070 Document Errors Mgt.](https://jonas-paprotka.de/ref/codeunit/9070-document-errors-mgt/) `GetModifiedPurchaseLineNo`

## GetErrorsFromItemJnlCheckResultValues

[Line 178](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L178).

- [182](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L182) calls `CleanItemJnlTempErrorMessages`
- [183](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L183) calls [Codeunit 28 Error Message Management](https://jonas-paprotka.de/ref/codeunit/28-error-message-management/) `GetErrorsFromResultValues`
- [184](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L184) calls [Codeunit 9077 Item Journal Errors Mgt.](https://jonas-paprotka.de/ref/codeunit/9077-item-journal-errors-mgt/) `SetErrorMessages`
- [187](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L187) calls [Codeunit 9077 Item Journal Errors Mgt.](https://jonas-paprotka.de/ref/codeunit/9077-item-journal-errors-mgt/) `SetFullBatchCheck`

## GetErrorsFromResJnlCheckResultValues

[Line 190](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L190).

- [194](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L194) calls `CleanResJnlTempErrorMessages`
- [195](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L195) calls [Codeunit 28 Error Message Management](https://jonas-paprotka.de/ref/codeunit/28-error-message-management/) `GetErrorsFromResultValues`
- [196](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L196) calls [Codeunit 9076 Res. Journal Errors Mgt.](https://jonas-paprotka.de/ref/codeunit/9076-res-journal-errors-mgt/) `SetErrorMessages`
- [199](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L199) calls [Codeunit 9076 Res. Journal Errors Mgt.](https://jonas-paprotka.de/ref/codeunit/9076-res-journal-errors-mgt/) `SetFullBatchCheck`

## GetErrorsFromDocumentCheckResultValues

[Line 202](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L202).

- [206](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L206) calls `CleanSalesTempErrorMessages`
- [207](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L207) calls [Codeunit 28 Error Message Management](https://jonas-paprotka.de/ref/codeunit/28-error-message-management/) `GetErrorsFromResultValues`
- [208](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L208) calls [Codeunit 9070 Document Errors Mgt.](https://jonas-paprotka.de/ref/codeunit/9070-document-errors-mgt/) `SetErrorMessages`
- [211](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L211) calls [Codeunit 9070 Document Errors Mgt.](https://jonas-paprotka.de/ref/codeunit/9070-document-errors-mgt/) `SetFullDocumentCheck`

## CleanSalesTempErrorMessages

[Line 214](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L214).

- [220](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L220) writes [Table 700 Error Message](https://jonas-paprotka.de/ref/table/700-error-message/) DeleteAll
- [228](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L228) writes [Table 700 Error Message](https://jonas-paprotka.de/ref/table/700-error-message/) DeleteAll

## CleanResJnlTempErrorMessages

[Line 232](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L232).

- [236](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L236) calls `CheckCleanDeletedResJnlLinesErrors`
- [240](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L240) writes [Table 700 Error Message](https://jonas-paprotka.de/ref/table/700-error-message/) DeleteAll
- [243](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L243) calls `CleanResJnlLineRelatedError`
- [245](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L245) calls `CleanResJnlLineRelatedError`

## CleanResJnlLineRelatedError

[Line 249](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L249), local.

- [253](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L253) writes [Table 700 Error Message](https://jonas-paprotka.de/ref/table/700-error-message/) DeleteAll

## CheckCleanDeletedResJnlLinesErrors

[Line 256](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L256), local.

- [260](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L260) calls [Codeunit 9076 Res. Journal Errors Mgt.](https://jonas-paprotka.de/ref/codeunit/9076-res-journal-errors-mgt/) `GetDeletedResJnlLine`
- [264](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L264) calls `CleanResJnlLineRelatedError`

## GetErrorsFromGenJnlCheckResultValues

[Line 269](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L269).

- [273](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L273) calls `CleanTempErrorMessages`
- [274](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L274) calls [Codeunit 28 Error Message Management](https://jonas-paprotka.de/ref/codeunit/28-error-message-management/) `GetErrorsFromResultValues`
- [275](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L275) calls [Codeunit 9080 Journal Errors Mgt.](https://jonas-paprotka.de/ref/codeunit/9080-journal-errors-mgt/) `SetErrorMessages`
- [278](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L278) calls [Codeunit 9080 Journal Errors Mgt.](https://jonas-paprotka.de/ref/codeunit/9080-journal-errors-mgt/) `SetFullBatchCheck`

## GetErrorsFromJobJnlCheckResultValues

[Line 281](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L281).

- [285](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L285) calls `CleanJobJnlTempErrorMessages`
- [286](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L286) calls [Codeunit 28 Error Message Management](https://jonas-paprotka.de/ref/codeunit/28-error-message-management/) `GetErrorsFromResultValues`
- [287](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L287) calls [Codeunit 9074 Job Journal Errors Mgt.](https://jonas-paprotka.de/ref/codeunit/9074-job-journal-errors-mgt/) `SetErrorMessages`
- [290](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L290) calls [Codeunit 9074 Job Journal Errors Mgt.](https://jonas-paprotka.de/ref/codeunit/9074-job-journal-errors-mgt/) `SetFullBatchCheck`

## CleanJobJnlTempErrorMessages

[Line 293](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L293).

- [297](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L297) calls `CheckCleanDeletedJobJnlLinesErrors`
- [301](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L301) writes [Table 700 Error Message](https://jonas-paprotka.de/ref/table/700-error-message/) DeleteAll
- [304](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L304) calls `CleanJobJnlLineRelatedError`
- [306](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L306) calls `CleanJobJnlLineRelatedError`

## CleanJobJnlLineRelatedError

[Line 310](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L310), local.

- [314](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L314) writes [Table 700 Error Message](https://jonas-paprotka.de/ref/table/700-error-message/) DeleteAll

## CheckCleanDeletedJobJnlLinesErrors

[Line 317](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L317), local.

- [321](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L321) calls [Codeunit 9074 Job Journal Errors Mgt.](https://jonas-paprotka.de/ref/codeunit/9074-job-journal-errors-mgt/) `GetDeletedJobJnlLine`
- [325](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L325) calls `CleanJobJnlLineRelatedError`

## PackDeletedDocumentsToArgs

[Line 330](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L330).

- [334](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L334) calls [Codeunit 9080 Journal Errors Mgt.](https://jonas-paprotka.de/ref/codeunit/9080-journal-errors-mgt/) `GetDeletedGenJnlLine`
- [337](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L337) calls `DeletedDocumentToJson`

## ParseDeletedDocument

[Line 351](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L351), local.

- [360](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L360) calls `GetJsonKeyValue`
- [362](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L362) calls `GetJsonKeyValue`

## GetDeletedDocumentsFromArgs

[Line 384](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L384).

- [389](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L389) calls `ParseDeletedDocument`
- [391](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L391) writes [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) Insert

## FeatureTelemetryLogUptakeUsed

[Line 395](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L395).

- [397](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L397) calls [Codeunit 8703 Feature Telemetry](https://jonas-paprotka.de/ref/codeunit/8703-feature-telemetry/) `LogUptake`

## FeatureTelemetryLogUsage

[Line 400](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L400).

- [404](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L404) calls [Codeunit 53 Translation Helper](https://jonas-paprotka.de/ref/codeunit/53-translation-helper/) `SetGlobalLanguageToDefault`
- [407](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L407) calls [Codeunit 8703 Feature Telemetry](https://jonas-paprotka.de/ref/codeunit/8703-feature-telemetry/) `LogUsage`
- [408](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L408) calls [Codeunit 53 Translation Helper](https://jonas-paprotka.de/ref/codeunit/53-translation-helper/) `RestoreGlobalLanguage`

## FeatureTelemetryLogUsageSales

[Line 411](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L411).

- [413](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L413) calls [Codeunit 53 Translation Helper](https://jonas-paprotka.de/ref/codeunit/53-translation-helper/) `SetGlobalLanguageToDefault`
- [414](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L414) calls `FeatureTelemetryLogUsageDocument`
- [415](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L415) calls [Codeunit 53 Translation Helper](https://jonas-paprotka.de/ref/codeunit/53-translation-helper/) `RestoreGlobalLanguage`

## FeatureTelemetryLogUsagePurchase

[Line 419](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L419).

- [421](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L421) calls [Codeunit 53 Translation Helper](https://jonas-paprotka.de/ref/codeunit/53-translation-helper/) `SetGlobalLanguageToDefault`
- [422](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L422) calls `FeatureTelemetryLogUsageDocument`
- [423](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L423) calls [Codeunit 53 Translation Helper](https://jonas-paprotka.de/ref/codeunit/53-translation-helper/) `RestoreGlobalLanguage`

## FeatureTelemetryLogUsageDocument

[Line 426](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L426), local.

- [433](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L433) calls [Codeunit 8703 Feature Telemetry](https://jonas-paprotka.de/ref/codeunit/8703-feature-telemetry/) `LogUsage`

## AfterValidateGLSetupEnableDataCheck

[Line 437](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L437), local.

- [440](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L440) calls [Codeunit 8703 Feature Telemetry](https://jonas-paprotka.de/ref/codeunit/8703-feature-telemetry/) `LogUptake`
- [442](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L442) calls [Codeunit 8703 Feature Telemetry](https://jonas-paprotka.de/ref/codeunit/8703-feature-telemetry/) `LogUptake`

## AfterValidateMyNotificationsDataCheck

[Line 446](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L446), local.

- [448](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L448) calls [Codeunit 9070 Document Errors Mgt.](https://jonas-paprotka.de/ref/codeunit/9070-document-errors-mgt/) `GetShowDocumentCheckFactboxNotificationID`
- [450](https://jonas-paprotka.de/ref/codeunit/9079-background-error-handling-mgt/source/#L450) calls [Codeunit 8703 Feature Telemetry](https://jonas-paprotka.de/ref/codeunit/8703-feature-telemetry/) `LogUptake`

## Source

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

JOP-AL, 2026-11-20.
