---
title: "Codeunit 450 Job Queue Error Handler, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/450-job-queue-error-handler/points/
object: https://jonas-paprotka.de/ref/codeunit/450-job-queue-error-handler/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/450-job-queue-error-handler/source/
checked: 2026-11-20
changed: 2026-11-19
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 450 Job Queue Error Handler, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/450-job-queue-error-handler/points/

2 procedures and triggers with a step in src/Layers/W1/BaseApp/Modules/System/JobQueue/JobQueueErrorHandler.Codeunit.al, in source order, read from the text, not from a run.

## OnRun

[Line 11](https://jonas-paprotka.de/ref/codeunit/450-job-queue-error-handler/source/#L11), trigger.

- [17](https://jonas-paprotka.de/ref/codeunit/450-job-queue-error-handler/source/#L17) calls `LogError`

## LogError

[Line 24](https://jonas-paprotka.de/ref/codeunit/450-job-queue-error-handler/source/#L24), local.

- [33](https://jonas-paprotka.de/ref/codeunit/450-job-queue-error-handler/source/#L33) calls [Table 474 Job Queue Log Entry](https://jonas-paprotka.de/ref/table/474-job-queue-log-entry/) `SetErrorCallStack`
- [34](https://jonas-paprotka.de/ref/codeunit/450-job-queue-error-handler/source/#L34) raises `OnBeforeLogError`
- [37](https://jonas-paprotka.de/ref/codeunit/450-job-queue-error-handler/source/#L37) calls [Codeunit 28 Error Message Management](https://jonas-paprotka.de/ref/codeunit/28-error-message-management/) `Activate`
- [38](https://jonas-paprotka.de/ref/codeunit/450-job-queue-error-handler/source/#L38) calls [Codeunit 28 Error Message Management](https://jonas-paprotka.de/ref/codeunit/28-error-message-management/) `PushContext`
- [39](https://jonas-paprotka.de/ref/codeunit/450-job-queue-error-handler/source/#L39) calls [Codeunit 29 Error Message Handler](https://jonas-paprotka.de/ref/codeunit/29-error-message-handler/) `RegisterErrorMessages`
- [40](https://jonas-paprotka.de/ref/codeunit/450-job-queue-error-handler/source/#L40) calls [Codeunit 28 Error Message Management](https://jonas-paprotka.de/ref/codeunit/28-error-message-management/) `PopContext`
- [47](https://jonas-paprotka.de/ref/codeunit/450-job-queue-error-handler/source/#L47) writes [Table 472 Job Queue Entry](https://jonas-paprotka.de/ref/table/472-job-queue-entry/) Modify
- [55](https://jonas-paprotka.de/ref/codeunit/450-job-queue-error-handler/source/#L55) calls [Table 474 Job Queue Log Entry](https://jonas-paprotka.de/ref/table/474-job-queue-log-entry/) `SetErrorCallStack`
- [59](https://jonas-paprotka.de/ref/codeunit/450-job-queue-error-handler/source/#L59) writes [Table 474 Job Queue Log Entry](https://jonas-paprotka.de/ref/table/474-job-queue-log-entry/) Modify
- [62](https://jonas-paprotka.de/ref/codeunit/450-job-queue-error-handler/source/#L62) raises `OnAfterLogError`
- [64](https://jonas-paprotka.de/ref/codeunit/450-job-queue-error-handler/source/#L64) calls [Table 472 Job Queue Entry](https://jonas-paprotka.de/ref/table/472-job-queue-entry/) `FinalizeRun`

## Source

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

JOP-AL, 2026-11-20.
