---
id: object/table/474
type: object
title: Table 474 "Job Queue Log Entry"
summary: Table 474 "Job Queue Log Entry" in Base Application (System.Threading). 19 fields, 7 public procedures, 3 events. Present since at least BC23, still in BC30, changed in BC24, BC26-27.
tier: official
language: en
tags:
  - table
  - base application
versions:
  introduced: null
  last_changed: "27"
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 48754db691b0ac1cef8d345f5a1886d342d3d6b4cf6e389b20cc24946da3238a
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Modules/System/JobQueue/JobQueueLogEntry.Table.al
    title: src/Layers/W1/BaseApp/Modules/System/JobQueue/JobQueueLogEntry.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn:
    - https://learn.microsoft.com/dynamics365/business-central/dev-itpro/api-reference/v2.0/api/dynamics_jobqueuelogentry_get
    - https://learn.microsoft.com/dynamics365/business-central/dev-itpro/api-reference/v2.0/resources/dynamics_jobqueuelogentry
    - https://learn.microsoft.com/dynamics365/business-central/admin-job-queues-schedule-tasks
  objects: []
  features: []
  topics:
    - topic/business-central/business-functionality/general-business-functionality
    - topic/business-central/development-and-administration/administration-tasks-in-business-central
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 474
name: Job Queue Log Entry
namespace: System.Threading
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "24"
  - "26"
  - "27"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 19
  procedures: 11
  events: 3
  subscribers: 0
relations:
  out: 2
  referenced_by: 1
  pages: 2
  extended_by: 0
  event_subscribers: 1
  calls: 1
  called_by: 0
  implements: 0
---

# Table 474 "Job Queue Log Entry"

> Table 474 "Job Queue Log Entry" in Base Application (System.Threading). 19 fields, 7 public procedures, 3 events. Present since at least BC23, still in BC30, changed in BC24, BC26-27.

Base Application · System.Threading · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Modules/System/JobQueue/JobQueueLogEntry.Table.al) · facts from BC29

Learn documents this table through its pages: [Page 30090 "APIV2 - Job Queue Log Entries"](../page/30090.md) (2 Learn pages), [Page 674 "Job Queue Log Entries"](../page/674.md) (1).

## Properties

| Property | Value |
|---|---|
| Caption | Job Queue Log Entry |
| DataClassification | CustomerContent |

## Fields

Explanation: the field's ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.

| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 1 | Entry No. | Integer | — | AutoIncrement |
| 2 | ID | Guid | Specifies the ID of the job queue entry in the log. <small>via [Page 674 "Job Queue Log Entries"](../page/674.md)</small> |  |
| 3 | User ID | Text[65] | Specifies the ID of the user who posted the entry, to be used, for example, in the change log. <small>via [Page 674 "Job Queue Log Entries"](../page/674.md)</small> | TableRelation User."User Name"; DataClassification EndUserIdentifiableInformation |
| 4 | Start Date/Time | DateTime | Specifies the date and time when the job was started. <small>via [Page 674 "Job Queue Log Entries"](../page/674.md)</small> |  |
| 5 | End Date/Time | DateTime | Specifies the date and time when the job ended. <small>via [Page 674 "Job Queue Log Entries"](../page/674.md)</small> |  |
| 6 | Object Type to Run | Option | Specifies the type of the object that is to be run for the job. <small>via [Page 674 "Job Queue Log Entries"](../page/674.md)</small> | OptionCaption: ,,,Report,,Codeunit |
| 7 | Object ID to Run | Integer | Specifies the ID of the object that is to be run for the job. <small>via [Page 674 "Job Queue Log Entries"](../page/674.md)</small> |  |
| 8 | Object Caption to Run | Text[250] | Specifies the name or caption of the object that was run for the job. <small>via [Page 674 "Job Queue Log Entries"](../page/674.md)</small> | FlowField: lookup(AllObjWithCaption."Object Caption" where("Object Type" = field("Object Type to Run"), "Object ID" = field("Object ID to Run"))) |
| 9 | Status | Option | Specifies the status of the running of the job queue entry in a log. <small>via [Page 674 "Job Queue Log Entries"](../page/674.md)</small> | OptionCaption: Success,In Process,Error |
| 10 | Description | Text[250] | Specifies a description of the job queue entry in the log. <small>via [Page 674 "Job Queue Log Entries"](../page/674.md)</small> |  |
| 11 | Error Message | Text[2048] | Specifies an error that occurred in the job queue. <small>via [Page 674 "Job Queue Log Entries"](../page/674.md)</small> |  |
| 17 | Job Queue Category Code | Code[10] | Specifies the category code for the entry in the job queue log. <small>via [Page 674 "Job Queue Log Entries"](../page/674.md)</small> | TableRelation [Table 471 "Job Queue Category"](../table/471.md) (Job Queue Category) |
| 18 | Error Call Stack | BLOB | — | DataClassification SystemMetadata |
| 19 | Parameter String | Text[250] | Specifies the parameter string of the corresponding job. <small>via [Page 674 "Job Queue Log Entries"](../page/674.md)</small> |  |
| 20 | Error Message Register Id | Guid | — | TableRelation [Table 701 "Error Message Register"](../table/701.md) ("Error Message Register".ID); DataClassification SystemMetadata |
| 21 | XML | Blob | — |  |
| 22 | System Task Id | Guid | — | DataClassification SystemMetadata |
| 32 | User Session ID | Integer | — | DataClassification EndUserPseudonymousIdentifiers |
| 40 | User Service Instance ID | Integer | — | DataClassification EndUserPseudonymousIdentifiers |

## Keys

- Key1: Entry No. (clustered)
- Key2: ID, Status
- Key3: Start Date/Time, ID
- Key4: Status
- Key5: Object Type to Run, Object ID to Run, Status

## Events published

- `OnBeforeDeleteEntries(var JobQueueLogEntry: Record "Job Queue Log Entry"; var SkipConfirm: Boolean)` (integration)
- `OnBeforeMarkAsError(var JobQueueLogEntry: Record "Job Queue Log Entry"; var JobQueueEntry: Record "Job Queue Entry"; var ErrorMessage: Text)` (integration)
- `OnDeleteEntriesOnBeforeDeleteAll(var JobQueueLogEntry: Record "Job Queue Log Entry")` (integration)

## Trigger event subscribers

- OnBeforeDeleteEvent: [Codeunit 456 "Job Queue Management"](../codeunit/456.md) OnBeforeDeleteJobQueueLogEntry

## Procedures

- `DeleteEntries(DaysOld: Integer)`
- `ShowErrorMessage()`
- `ShowErrorCallStack()`
- `MarkAsError()`
- `Duration(): Duration`
- `SetErrorCallStack(NewCallStack: Text)`
- `GetErrorCallStack(): Text`

Plus 1 local procedures.

## Relations

- Job Queue Category Code: TableRelation [Table 471 "Job Queue Category"](../table/471.md)
- Error Message Register Id: TableRelation [Table 701 "Error Message Register"](../table/701.md)

## Referenced by

1 fields in 1 objects relate to this table (TableRelation or CalcFormula).

- [Table 30100 "Shpfy Cue"](../table/30100.md): Synchronization Errors

## Pages and codeunits on this table

- [Page 30090 "APIV2 - Job Queue Log Entries"](../page/30090.md) (source table)
- [Page 674 "Job Queue Log Entries"](../page/674.md) (source table)

## Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an `Object::"Name"` argument. Interface dispatch and calls through events are not counted, so the list is not complete.

- [Codeunit 4100 "Temp Blob"](../codeunit/4100.md) (2 calls: `GetErrorCallStack → CreateInStream`, `GetErrorCallStack → FromRecord`)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC24, BC26-27

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "table", object_name: "Job Queue Log Entry")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
