{"title":"Codeunit 450 Job Queue Error Handler, events","url":"https://jonas-paprotka.de/ref/codeunit/450-job-queue-error-handler/events/","author":"JOP-AL","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/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-11-19","object":{"type":"codeunit","id":450,"name":"Job Queue Error Handler","app":"Base Application","versions":"17-29","url":"https://jonas-paprotka.de/ref/codeunit/450-job-queue-error-handler/","json":"https://jonas-paprotka.de/ref/codeunit/450-job-queue-error-handler.json"},"aspect":"events","total":5,"rows":[{"name":"OnAfterLogError","sig":"(var Record Job Queue Entry)","named":"(var JobQueueEntry: Record \"Job Queue Entry\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-24","first":17,"last":24,"obsoleteSince":null,"spans":[{"from":17,"to":24,"named":"(var JobQueueEntry: Record \"Job Queue Entry\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforeLogError","sig":"(var Record Job Queue Log Entry, var Record Job Queue Entry)","named":"(var JobQueueLogEntry: Record \"Job Queue Log Entry\"; var JobQueueEntry: Record \"Job Queue Entry\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(var JobQueueLogEntry: Record \"Job Queue Log Entry\"; var JobQueueEntry: Record \"Job Queue Entry\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnLogErrorOnAfterJobQueueLogEntryModify","sig":"(var Record Job Queue Entry)","named":"(var JobQueueEntry: Record \"Job Queue Entry\")","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Event no longer relevant, it does the exact same as OnAfterLogError() and OnLogErrorOnAfterJobQueueLogEntryFinalizeLogEntry() is obsoleted.","tag":"24.0"},"range":"18-26","first":18,"last":26,"obsoleteSince":24,"spans":[{"from":18,"to":23,"named":"(var JobQueueEntry: Record \"Job Queue Entry\")","returns":"","kind":"integrationevent","access":"local","obsolete":null},{"from":24,"to":26,"named":"(var JobQueueEntry: Record \"Job Queue Entry\")","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Event no longer relevant, it does the exact same as OnAfterLogError() and OnLogErrorOnAfterJobQueueLogEntryFinalizeLogEntry() is obsoleted.","tag":"24.0"}}]},{"name":"OnLogErrorOnAfterJobQueueLogEntryFinalizeLogEntry","sig":"(var Record Job Queue Entry)","named":"(var JobQueueEntry: Record \"Job Queue Entry\")","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Event no longer relevant. Log entries should not be inserted if the job queue dispatcher did not manage to run the job.","tag":"24.0"},"range":"18-26","first":18,"last":26,"obsoleteSince":24,"spans":[{"from":18,"to":23,"named":"(var JobQueueEntry: Record \"Job Queue Entry\")","returns":"","kind":"integrationevent","access":"local","obsolete":null},{"from":24,"to":26,"named":"(var JobQueueEntry: Record \"Job Queue Entry\")","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Event no longer relevant. Log entries should not be inserted if the job queue dispatcher did not manage to run the job.","tag":"24.0"}}]},{"name":"OnAfterLogError","sig":"(var Record Job Queue Entry, var Record Job Queue Log Entry)","named":"(var JobQueueEntry: Record \"Job Queue Entry\"; var JobQueueLogEntry: Record \"Job Queue Log Entry\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"25-29","first":25,"last":29,"obsoleteSince":null,"spans":[{"from":25,"to":29,"named":"(var JobQueueEntry: Record \"Job Queue Entry\"; var JobQueueLogEntry: Record \"Job Queue Log Entry\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]}]}