---
id: object/codeunit/20437
type: object
title: Codeunit 20437 "Qlty. Notification Mgmt."
summary: Codeunit 20437 "Qlty. Notification Mgmt." in Quality Management (Microsoft.QualityManagement.Utilities). 19 public procedures, 1 event subscribers. 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: 0251695500a280129d139d9903cbad1d57bcc89930262369cb3214ed9c6fa8df
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/Quality%20Management/app/src/Utilities/QltyNotificationMgmt.Codeunit.al
    title: src/Apps/W1/Quality Management/app/src/Utilities/QltyNotificationMgmt.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
    - change/bcapps/9168
    - change/bcapps/8556
object_type: codeunit
object_id: 20437
name: Qlty. Notification Mgmt.
namespace: Microsoft.QualityManagement.Utilities
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: 28
  events: 0
  subscribers: 1
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 4
  called_by: 12
  implements: 0
---

# Codeunit 20437 "Qlty. Notification Mgmt."

> Codeunit 20437 "Qlty. Notification Mgmt." in Quality Management (Microsoft.QualityManagement.Utilities). 19 public procedures, 1 event subscribers. Introduced in BC29, still in BC30.

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

## Properties

| Property | Value |
|---|---|
| Access | Internal |
| Permissions | tabledata "Qlty. Inspection Header" = r |

## Event subscriptions

- HandleOnInitializingNotificationWithDefaultState subscribes to Page "My Notifications" OnInitializingNotificationWithDefaultState

## Procedures

- `InitializeAllNotifications()` (internal): Ensures that configurable notifications are inserted.
- `NotifyInspectionCreated(QltyInspectionHeader: Record "Qlty. Inspection Header")` (internal): Creates a notification that an inspection has been created.
- `NotifyMultipleInspectionsCreated(var QltyInspectionHeader: Record "Qlty. Inspection Header")` (internal): Creates a notification that multiple inspections have been created.
- `NotifyMultipleInspectionsCreatedByCount(InspectionCount: Integer)` (internal): Creates a notification that many inspections have been created, without opening a filtered list. Used as a fallback when the number of inspections exceeds the safe filter length.
- `NotifyDoYouWantToAssignToYourself(QltyInspectionHeader: Record "Qlty. Inspection Header")`: Call this to create a notification if you want to assign to yourself.
- `NotifyDocumentCreated(QltyInspectionHeader: Record "Qlty. Inspection Header"; var TempInstructionQltyDispositionBuffer: Record "Qlty. Disposition Buffer" temporary; DocumentType: Text; DocumentNo: Text; RelatedDocumentVariant: Variant)` (internal): Creates a notification that a document has been created.
- `NotifyDocumentCreationFailed(var QltyInspectionHeader: Record "Qlty. Inspection Header"; var TempInstructionQltyDispositionBuffer: Record "Qlty. Disposition Buffer" temporary; DocumentType: Text)` (internal): Creates a notification that a document was not able to be created.
- `NotifyDocumentCreationFailed(var QltyInspectionHeader: Record "Qlty. Inspection Header"; var TempInstructionQltyDispositionBuffer: Record "Qlty. Disposition Buffer" temporary; DocumentType: Text; OptionalAdditionalMessageContext: Text; OptionalRelatedDocumentVariant: Variant)` (internal): Creates a notification that the document creation has failed.
- `NotifyItemTrackingChanged(QltyInspectionHeader: Record "Qlty. Inspection Header"; var TempInstructionQltyDispositionBuffer: Record "Qlty. Disposition Buffer" temporary; LineCreated: Boolean; Success: Boolean; ChangedBaseQuantity: Decimal; DocumentOrBatchName: Text; OptionalSourceExpirationDate: Date)` (internal): Creates a notification that an item tracking change occurred.
- `NotifyMovementOccurred(QltyInspectionHeader: Record "Qlty. Inspection Header"; var TempInstructionQltyDispositionBuffer: Record "Qlty. Disposition Buffer" temporary; DocumentOrBatchName: Text)` (internal): Creates a notification that a movement has occurred.
- `NotifyNegativeAdjustmentOccurred(QltyInspectionHeader: Record "Qlty. Inspection Header"; var TempInstructionQltyDispositionBuffer: Record "Qlty. Disposition Buffer" temporary; DocumentOrBatchName: Text)` (internal): Creates a notification that a negative adjustment occurred.
- `Notify(CurrentMessage: Text)` (internal): Creates a notification with no action with a local scope.
- `HandleOpenDocument(NotificationToShow: Notification)` (internal): procedure name *must* match HandleOpenDocumentTok This is the event handle for the 'open the document'
- `HandleOpenMultipleInspections(pNotification: Notification)` (internal): procedure name must match HandleOpenMultipleInspectionsTok.
- `HandleNotificationActionAssignToSelf(NotificationToShow: Notification)` (internal): procedure name *must* match tcHandleNotificationActionAssignToSelf
- `NotifyItemTrackingBlockStateChanged(QltyInspectionHeader: Record "Qlty. Inspection Header"; InformationType: RecordId; Type: Text; ItemTrackingDetail: Text; BlockedState: Boolean)` (internal): Creates a notification that the tracking state has changed.
- `GetSourceSummaryText(var QltyInspectionHeader: Record "Qlty. Inspection Header"): Text` (internal): Used to help build a consistent 'source' tracking details.
- `HandleDontShowInspectionCreated(DontShowNotification: Notification)` (internal): Disables the "Inspection Created" notification for the current user. Procedure name must match HandleDontShowInspectionCreatedTok.
- `HandleDontShowAssignToYourself(NotificationToShow: Notification)` (internal): Disables the "Assign to yourself" notification for the current user so the assign-to-yourself prompt no longer appears, matching the standard "Don't show again" opt-out pattern. Procedure name must match HandleDontShowAssignToYourselfTok.

Plus 8 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 20599 "Qlty. Misc Helpers"](../codeunit/20599.md) (1 call: `NotifyDocumentCreated → GetRecordRefFromVariant`)
- [Codeunit 700 "Page Management"](../codeunit/700.md) (1 call: `HandleOpenDocument → GetPageID`)
- [Codeunit 701 "Data Type Management"](../codeunit/701.md) (1 call: `HandleOpenDocument → GetRecordRef`)
- [Page 20408 "Qlty. Inspection List"](../page/20408.md) (1 call: `HandleOpenMultipleInspections → (object)`)

## Called by

- [Codeunit 20404 "Qlty. Inspection - Create"](../codeunit/20404.md) (3 calls: `DisplayInspectionsIfConfigured → NotifyInspectionCreated`, `DisplayInspectionsIfConfigured → NotifyMultipleInspectionsCreated`, `DisplayInspectionsIfConfigured → NotifyMultipleInspectionsCreatedByCount`)
- [Codeunit 20428 "Qlty. Item Tracking"](../codeunit/20428.md) (3 calls: `SetLotBlockState → NotifyItemTrackingBlockStateChanged`, `SetPackageBlockState → NotifyItemTrackingBlockStateChanged`, `SetSerialBlockState → NotifyItemTrackingBlockStateChanged`)
- [Table 20405 "Qlty. Inspection Header"](../table/20405.md) (3 calls: `FinishInspectionAndPrompt → GetSourceSummaryText`, `OnModify → NotifyDoYouWantToAssignToYourself`, `ReopenInspection → GetSourceSummaryText`)
- [Codeunit 20443 "Qlty. Disp. Change Tracking"](../codeunit/20443.md) (2 calls: `PerformDisposition → NotifyDocumentCreationFailed`, `PerformDisposition → NotifyItemTrackingChanged`)
- [Codeunit 20449 "Qlty. Disp. Move Whse.Reclass."](../codeunit/20449.md) (2 calls: `PerformDisposition → NotifyDocumentCreationFailed`, `PerformDisposition → NotifyMovementOccurred`)
- [Codeunit 20450 "Qlty. Disp. Internal Move"](../codeunit/20450.md) (2 calls: `PerformDisposition → NotifyDocumentCreated`, `PerformDisposition → NotifyDocumentCreationFailed`)
- [Codeunit 20451 "Qlty. Disp. Move Worksheet"](../codeunit/20451.md) (2 calls: `PerformDisposition → NotifyDocumentCreated`, `PerformDisposition → NotifyMovementOccurred`)
- [Codeunit 20452 "Qlty. Disp. Move Item Reclass."](../codeunit/20452.md) (2 calls: `PerformDisposition → NotifyDocumentCreationFailed`, `PerformDisposition → NotifyMovementOccurred`)
- [Codeunit 20454 "Qlty. Item Journal Management"](../codeunit/20454.md) (2 calls: `PostItemJournal → NotifyDocumentCreationFailed`, `PostWarehouseJournal → NotifyDocumentCreationFailed`)
- [Codeunit 20424 "Qlty. Workflow Response"](../codeunit/20424.md) (1 call: `HandleOnExecuteWorkflowResponse → NotifyDocumentCreationFailed`)
- [Codeunit 20442 "Qlty. Disp. Move Auto Choose"](../codeunit/20442.md) (1 call: `PerformDisposition → NotifyDocumentCreationFailed`)
- [Page 20438 "Qlty. Management Setup Guide"](../page/20438.md) (1 call: `DoneAction → InitializeAllNotifications`)

## Recent changes

- 2026-08-20 [#10270 [Quality Management] Repair and improve XML documentation of procedures](../../changes/bcapps/10270.md) (main, BC30, refactor)
- 2026-07-15 [#9168 [QM] Fix internal put-away from Quality Inspection sourcing wrong bin](../../changes/bcapps/9168.md) (main, BC30, fix)
- 2026-07-08 [#8556 [Quality Management] Enforce rules and restrictions with indirect and implicit permissions](../../changes/bcapps/8556.md) (main, BC30, feature)

## 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. Notification Mgmt.")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
