---
id: object/codeunit/1392
type: object
title: Codeunit 1392 "Monitor Sensitive Field"
summary: Codeunit 1392 "Monitor Sensitive Field" in Base Application (System.Diagnostics). 28 public procedures, 12 event subscribers. Present since at least BC23, still in BC30.
tier: official
language: en
tags:
  - codeunit
  - base application
versions:
  introduced: null
  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: d786ff18f84682c80bc2e96f59531c7f6938889571f3c3ffceff7dcfbe9e97f3
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/System/ChangeLog/MonitorSensitiveField.codeunit.al
    title: src/Layers/W1/BaseApp/System/ChangeLog/MonitorSensitiveField.codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: codeunit
object_id: 1392
name: Monitor Sensitive Field
namespace: System.Diagnostics
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 54
  events: 0
  subscribers: 12
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 7
  called_by: 10
  implements: 0
---

# Codeunit 1392 "Monitor Sensitive Field"

> Codeunit 1392 "Monitor Sensitive Field" in Base Application (System.Diagnostics). 28 public procedures, 12 event subscribers. Present since at least BC23, still in BC30.

Base Application · System.Diagnostics · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/System/ChangeLog/MonitorSensitiveField.codeunit.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Permissions | tabledata "Field Monitoring Setup" = im |

## Event subscriptions

- AddMonitorFieldSetupWizard subscribes to Codeunit "Guided Experience" OnRegisterAssistedSetup
- OnModifyChangeLogSetup subscribes to Table "Change Log Setup" OnAfterModifyEvent
- OnInsertChangeLogSetup subscribes to Table "Change Log Setup" OnAfterInsertEvent
- OnDeleteChangeLogSetup subscribes to Table "Change Log Setup" OnAfterDeleteEvent
- OnModifyFieldMonitoringSetup subscribes to Table "Field Monitoring Setup" OnAfterModifyEvent
- OnInsertFieldMonitoringSetup subscribes to Table "Field Monitoring Setup" OnAfterInsertEvent
- OnDeleteFieldMonitoringSetup subscribes to Table "Field Monitoring Setup" OnAfterDeleteEvent
- OnRenameAccessControl subscribes to Table "Access Control" OnAfterRenameEvent
- OnModifyAccessControl subscribes to Table "Access Control" OnAfterModifyEvent
- OnInsertAccessControl subscribes to Table "Access Control" OnAfterInsertEvent
- OnDeleteAccessControl subscribes to Table "Access Control" OnAfterDeleteEvent
- SendTelemetryOnActivityTelemetry subscribes to Codeunit "Telemetry Management" OnSendDailyTelemetry

## Procedures

- `ValidateTableNo(TableNo: Integer)`
- `ValidateTableAndFieldNo(TableNo: Integer; FieldNo: Integer)`
- `InsertChangeLogSetupTable(TableNo: Integer)`
- `DeleteChangeLogSetupTable(TableNo: integer; FieldNo: Integer)`
- `GetTableCaption(TableNo: Integer): Text`
- `GetNotificationCount(): integer`
- `OpenDataSensitivityFilterPage()`
- `AddAllowedFieldFilters(var FieldTable: Record Field)`
- `AddValidTablesFilter(var AllObjWithCaption: Record AllObjWithCaption)`
- `EnableMonitor(ShowConfirmMessage: Boolean)`
- `DisableMonitor()`
- `CheckUserHasValidContactEmail(MonitorUserId: Code[50])`
- `ExcludeMonitorTablesFromChangeLog(var AllObjectWithCaption: Record AllObjWithCaption)`
- `GetSetupTable(var FieldMonitoringSetup: Record "Field Monitoring Setup")`
- `AddMonitoredField(TableNo: Integer; FieldNo: Integer; Notify: Boolean)`
- `ImportFieldsBySensitivity(Sensitive: Boolean; Personal: Boolean; CompanyConfidential: Boolean)`
- `SetSetupTable(MonitorUserId: text[50]; EmailAccountId: Guid; EmailAccountName: Text[250]; EmailConnector: Enum "Email Connector")`
- `ShowPromoteMonitorSensitiveFieldNotification()`
- `ShowPromotionNotification()` (internal)
- `OpenFieldMonitoringSetupWizard(notification: Notification)`
- `OpenFieldMonitoringWorksheet(notification: Notification)`
- `OpenFieldMonitoringSetup(notification: Notification)`
- `DisableNotification(Notification: notification)`
- `IsValidTable(TableNo: Integer): Boolean`
- `ValidateUserPermissions(MonitorUserId: Code[50]; var DoesUserHavePermission: Boolean)`
- `OpenUserCard(MonitorUserId: code[250])`
- `GetPromoteMonitorFeatureNotificationId(): Guid`
- `GetChangeLogHiddenTablesNotificationId(): Guid`

Plus 14 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 1990 "Guided Experience"](../codeunit/1990.md) (2 calls: `AddMonitorFieldSetupWizard → AddTranslationForSetupObjectTitle`, `AddMonitorFieldSetupWizard → InsertAssistedSetup`)
- [Page 9807 "User Card"](../page/9807.md) (2 calls: `OpenUserCard → (object)`, `ShowUserCardIfMissingContactEmail → (object)`)
- [Codeunit 43 "Language"](../codeunit/43.md) (1 call: `AddMonitorFieldSetupWizard → GetDefaultApplicationLanguageId`)
- [Codeunit 9852 "Effective Permissions Mgt."](../codeunit/9852.md) (1 call: `CheckPermission → PopulatePermissionRecordWithEffectivePermissionsForObject`)
- [Page 1366 "Field Monitoring Setup"](../page/1366.md) (1 call: `OpenFieldMonitoringSetup → (object)`)
- [Page 1368 "Monitor Field Setup Wizard"](../page/1368.md) (1 call: `OpenFieldMonitoringSetupWizard → (object)`)
- [Page 1369 "Monitored Fields Worksheet"](../page/1369.md) (1 call: `OpenFieldMonitoringWorksheet → (object)`)

## Called by

- [Page 1368 "Monitor Field Setup Wizard"](../page/1368.md) (5 calls: `OnOpenPage → GetSetupTable`, `OnOpenPage → ValidateUserPermissions`, `ValidateAndFinishSetup → EnableMonitor`, …)
- [Table 404 "Change Log Setup (Field)"](../table/404.md) (3 calls: `OnDelete → DeleteChangeLogSetupTable`, `OnRename → DeleteChangeLogSetupTable`, `OnRename → InsertChangeLogSetupTable`)
- [Page 1369 "Monitored Fields Worksheet"](../page/1369.md) (2 calls: `OnInsertRecord → InsertChangeLogSetupTable`, `OnInsertRecord → ValidateTableAndFieldNo`)
- [Page 9062 "User Security Activities"](../page/9062.md) (2 calls: `OnOpenPage → GetNotificationCount`, `OnOpenPage → ShowPromoteMonitorSensitiveFieldNotification`)
- [Codeunit 1367 "Monitor Sensitive Field Data"](../codeunit/1367.md) (1 call: `IsMonitoredField → IsValidTable`)
- [Page 1 "Company Information"](../page/1.md) (1 call: `OnOpenPage → ShowPromoteMonitorSensitiveFieldNotification`)
- [Page 1366 "Field Monitoring Setup"](../page/1366.md) (1 call: `OnOpenPage → GetSetupTable`)
- [Page 371 "Bank Account List"](../page/371.md) (1 call: `OnOpenPage → ShowPromoteMonitorSensitiveFieldNotification`)
- [Page 426 "Vendor Bank Account List"](../page/426.md) (1 call: `OnOpenPage → ShowPromoteMonitorSensitiveFieldNotification`)
- [Page 593 "Change Log Setup (Table) List"](../page/593.md) (1 call: `OnOpenPage → ExcludeMonitorTablesFromChangeLog`)

## Across versions

- Present in: BC23-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: "Monitor Sensitive Field")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
