---
id: object/codeunit/20455
type: object
title: Codeunit 20455 "Qlty. Job Queue Management"
summary: Codeunit 20455 "Qlty. Job Queue Management" in Quality Management (Microsoft.QualityManagement.Configuration.GenerationRule.JobQueue). 5 public procedures. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - codeunit
  - quality management
versions:
  introduced: "29"
  last_changed: null
  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: 99262929821d19e08ee75ead6dce363e985a88d00cee4b38f9567ecc4264ff86
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/Quality%20Management/app/src/Configuration/GenerationRule/JobQueue/QltyJobQueueManagement.Codeunit.al
    title: src/Apps/W1/Quality Management/app/src/Configuration/GenerationRule/JobQueue/QltyJobQueueManagement.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/10270
object_type: codeunit
object_id: 20455
name: Qlty. Job Queue Management
namespace: Microsoft.QualityManagement.Configuration.GenerationRule.JobQueue
app: Quality Management
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 9
  events: 0
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 2
  called_by: 1
  implements: 0
---

# Codeunit 20455 "Qlty. Job Queue Management"

> Codeunit 20455 "Qlty. Job Queue Management" in Quality Management (Microsoft.QualityManagement.Configuration.GenerationRule.JobQueue). 5 public procedures. Introduced in BC29, still in BC30.

Quality Management · Microsoft.QualityManagement.Configuration.GenerationRule.JobQueue · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/Quality%20Management/app/src/Configuration/GenerationRule/JobQueue/QltyJobQueueManagement.Codeunit.al) · facts from BC29

## Procedures

- `PromptCreateJobQueueEntryIfMissing(ScheduleGroup: Code[20]): Boolean` (internal): Ensures a job queue entry exists for the specified schedule group, creating one if missing. Behavior varies based on execution context: - If job queue already exists → exits silently without action - If interactive session (GUI) → prompts user before creating, then offers to view the entry - If non-...
- `PromptCreateJobQueueEntry(ScheduleGroup: Code[20])` (internal): Creates an additional job queue entry for a schedule group, with user confirmation in interactive sessions. Unlike PromptCreateJobQueueEntryIfMissing, this always creates a new entry even if one already exists, allowing multiple job queue entries with different scheduling characteristics for the sam...
- `DeleteJobQueueIfNothingElseIsUsingThisGroup(ToExcludeQltyInspectionGenRule: Record "Qlty. Inspection Gen. Rule"; ScheduleGroupToConsiderRemoving: Code[20])` (internal): Deletes job queue entries for a schedule group if no other inspection generation rules are using them. Performs safety checks to prevent orphaned job queue entries while protecting entries still in use. Logic flow: 1. Check if other inspection generation rules use this schedule group (excluding ToEx...
- `RunPageLookupJobQueueEntriesForScheduleGroup(ScheduleGroup: Code[20])` (internal): Opens the Job Queue Entries page filtered to show only entries related to a specific schedule group. Useful for users to view, modify, or troubleshoot scheduled inspection generation for a particular group. The page will display all job queue entries configured to run the "Qlty. Schedule Inspection"...
- `CheckIfGenerationRuleCanBeScheduled(var ThisQltyInspectionGenRule: Record "Qlty. Inspection Gen. Rule")` (internal): Validates that an inspection generation rule has required filters before allowing scheduled execution. Throws an error if the rule lacks mandatory filters to prevent inadvertent over-generation of inspections. Validation logic: At least one of these filters must be specified: - Condition Filter - It...

Plus 4 local procedures.

## 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 20403 "Qlty. Filter Helpers"](../codeunit/20403.md) (1 call: `FindJobQueueEntriesForScheduleGroup → CleanUpWhereClause`)
- [Page 672 "Job Queue Entries"](../page/672.md) (1 call: `RunPageLookupJobQueueEntriesForScheduleGroup → (object)`)

## Called by

- [Report 20412 "Qlty. Schedule Inspection"](../report/20412.md) (1 call: `CreateInspectionsThatMatchRule → CheckIfGenerationRuleCanBeScheduled`)

## Recent changes

- 2026-08-20 [#10270 [Quality Management] Repair and improve XML documentation of procedures](../../changes/bcapps/10270.md) (main, BC30, refactor)

## Across versions

- Present in: BC29-30
- Changed (declaration) in: none

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: "codeunit", object_name: "Qlty. Job Queue Management")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
