---
id: object/table/405
type: object
title: Table 405 "Change Log Entry"
summary: Table 405 "Change Log Entry" in Base Application (System.Diagnostics). 27 fields, 3 public procedures, 1 events. Present since at least BC23, still in BC30, changed in BC24, BC26.
tier: official
language: en
tags:
  - table
  - base application
versions:
  introduced: null
  last_changed: "26"
  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: 3bc7b3a10cb2a782062efa76dfc96174537123bfa29931e486222812be1a13c6
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/System/ChangeLog/ChangeLogEntry.Table.al
    title: src/Layers/W1/BaseApp/System/ChangeLog/ChangeLogEntry.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn:
    - https://learn.microsoft.com/dynamics365/business-central/across-log-changes
    - https://learn.microsoft.com/dynamics365/business-central/admin-data-retention-policies
  objects: []
  features: []
  topics:
    - topic/business-central/development-and-administration/administration-tasks-in-business-central/control-your-data
    - topic/dev-itpro/security-privacy-and-compliance/auditing
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/10675
    - change/bcapps/10009
object_type: table
object_id: 405
name: Change Log Entry
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:
  - "24"
  - "26"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 27
  procedures: 6
  events: 1
  subscribers: 0
relations:
  out: 2
  referenced_by: 0
  pages: 3
  extended_by: 0
  event_subscribers: 0
  calls: 1
  called_by: 0
  implements: 0
---

# Table 405 "Change Log Entry"

> Table 405 "Change Log Entry" in Base Application (System.Diagnostics). 27 fields, 3 public procedures, 1 events. Present since at least BC23, still in BC30, changed in BC24, BC26.

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

Learn documents this table through its pages: [Page 595 "Change Log Entries"](../page/595.md) (2 Learn pages), [Page 1367 "Monitored Field Log Entries"](../page/1367.md) (2).

## Properties

| Property | Value |
|---|---|
| Caption | Change 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. | BigInteger | Specifies the number of the entry, as assigned from the specified number series when the entry was created. <small>via [Page 595 "Change Log Entries"](../page/595.md)</small> | AutoIncrement |
| 2 | Date and Time | DateTime | Specifies the date and time when this change log entry was created. <small>via [Page 595 "Change Log Entries"](../page/595.md)</small> |  |
| 3 | Time | Time | — |  |
| 4 | User ID | Code[50] | Specifies the ID of the user who posted the entry, to be used, for example, in the change log. <small>via [Page 595 "Change Log Entries"](../page/595.md)</small> | TableRelation User."User Name"; DataClassification EndUserIdentifiableInformation |
| 5 | Table No. | Integer | Specifies the number of the table containing the changed field. <small>via [Page 595 "Change Log Entries"](../page/595.md)</small> | TableRelation AllObjWithCaption."Object ID" where("Object Type" = const(Table)) |
| 6 | Table Caption | Text[250] | Specifies the name of the table containing the changed field. <small>via [Page 595 "Change Log Entries"](../page/595.md)</small> | FlowField: lookup(AllObjWithCaption."Object Caption" where("Object Type" = const(Table), "Object ID" = field("Table No."))) |
| 7 | Field No. | Integer | Specifies the field number of the changed field. <small>via [Page 595 "Change Log Entries"](../page/595.md)</small> | TableRelation Field."No." where(TableNo = field("Table No.")) |
| 8 | Field Caption | Text[80] | Specifies the field caption of the changed field. | FlowField: lookup(Field."Field Caption" where(TableNo = field("Table No."), "No." = field("Field No."))) |
| 9 | Type of Change | Enum "Change Log Entry Type" | Specifies the type of change made to the field. <small>via [Page 595 "Change Log Entries"](../page/595.md)</small> | enum [Enum 405 "Change Log Entry Type"](../enum/405.md) |
| 10 | Old Value | Text[2048] | Specifies the value that the field had before a user made changes to the field. |  |
| 11 | New Value | Text[2048] | Specifies the value that the field had after a user made changes to the field. |  |
| 12 | Primary Key | Text[250] | Specifies the primary key or keys of the changed field. <small>via [Page 595 "Change Log Entries"](../page/595.md)</small> |  |
| 13 | Primary Key Field 1 No. | Integer | Specifies the field number of the first primary key for the changed field. <small>via [Page 595 "Change Log Entries"](../page/595.md)</small> | TableRelation Field."No." where(TableNo = field("Table No.")) |
| 14 | Primary Key Field 1 Caption | Text[80] | Specifies the field name of the first primary key for the changed field. <small>via [Page 595 "Change Log Entries"](../page/595.md)</small> | FlowField: lookup(Field."Field Caption" where(TableNo = field("Table No."), "No." = field("Primary Key Field 1 No."))) |
| 15 | Primary Key Field 1 Value | Text[50] | Specifies the value of the first primary key for the changed field. <small>via [Page 595 "Change Log Entries"](../page/595.md)</small> |  |
| 16 | Primary Key Field 2 No. | Integer | Specifies the field number of the second primary key for the changed field. <small>via [Page 595 "Change Log Entries"](../page/595.md)</small> | TableRelation Field."No." where(TableNo = field("Table No.")) |
| 17 | Primary Key Field 2 Caption | Text[80] | Specifies the field name of the second primary key for the changed field. <small>via [Page 595 "Change Log Entries"](../page/595.md)</small> | FlowField: lookup(Field."Field Caption" where(TableNo = field("Table No."), "No." = field("Primary Key Field 2 No."))) |
| 18 | Primary Key Field 2 Value | Text[50] | Specifies the value of the second primary key for the changed field. <small>via [Page 595 "Change Log Entries"](../page/595.md)</small> |  |
| 19 | Primary Key Field 3 No. | Integer | Specifies the field number of the third primary key for the changed field. <small>via [Page 595 "Change Log Entries"](../page/595.md)</small> | TableRelation Field."No." where(TableNo = field("Table No.")) |
| 20 | Primary Key Field 3 Caption | Text[80] | Specifies the field name of the third primary key for the changed field. <small>via [Page 595 "Change Log Entries"](../page/595.md)</small> | FlowField: lookup(Field."Field Caption" where(TableNo = field("Table No."), "No." = field("Primary Key Field 3 No."))) |
| 21 | Primary Key Field 3 Value | Text[50] | Specifies the value of the third primary key for the changed field. <small>via [Page 595 "Change Log Entries"](../page/595.md)</small> |  |
| 22 | Record ID | RecordID | — |  |
| 25 | Protected | Boolean | — | DataClassification SystemMetadata |
| 26 | Changed Record SystemId | Guid | — | DataClassification SystemMetadata |
| 27 | Notification Status | Enum "Monitor Field Notification" | Specifies whether notification was sent, failed or was turned off <small>via [Page 1367 "Monitored Field Log Entries"](../page/1367.md)</small> | enum [Enum 1366 "Monitor Field Notification"](../enum/1366.md); DataClassification SystemMetadata |
| 28 | Field Log Entry Feature | Enum "Field Log Entry Feature" | — | enum [Enum 1367 "Field Log Entry Feature"](../enum/1367.md); DataClassification SystemMetadata |
| 29 | Notification Message Id | Guid | — | DataClassification SystemMetadata |

## Keys

- Key1: Entry No. (clustered)
- Key2: Table No., Primary Key Field 1 Value, Primary Key Field 2 Value
- Key3: Table No., Date and Time
- Key4: Notification Message Id
- key5: Field Log Entry Feature
- key6: SystemCreatedAt, Protected, Field Log Entry Feature
- Key7: Primary Key Field 2 Value, Table No., Primary Key Field 1 Value

## Events published

- `OnAfterIsProtected(var ChangeLogEntry: Record "Change Log Entry"; var ProtectedRecord: Boolean)` (integration)

## Procedures

- `GetFullPrimaryKeyFriendlyName(): Text`
- `GetLocalOldValue(): Text`
- `GetLocalNewValue(): Text`

Plus 2 local procedures.

## Triggers

OnInsert

## Relations

- drill-down page [Page 595 "Change Log Entries"](../page/595.md)
- lookup page [Page 595 "Change Log Entries"](../page/595.md)

## Pages and codeunits on this table

- [Page 1367 "Monitored Field Log Entries"](../page/1367.md) (source table)
- [Page 205 "Confirm Alt. Cust. VAT Reg."](../page/205.md) (source table)
- [Page 595 "Change Log Entries"](../page/595.md) (source table)
- [Codeunit 510 "Change Log Entry - Delete"](../codeunit/510.md) (codeunit runs on it)

## 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 423 "Change Log Management"](../codeunit/423.md) (1 call: `GetLocalValue → EvaluateTextToFieldRef`)

## Recent changes

- 2026-08-27 [#10675 Temporarily suppress AS0072 (ObsoleteTag 29.0) on 10 Base App elements for v30 prep](../../changes/bcapps/10675.md) (main, BC30, fix)
- 2026-08-07 [#10009 Disable low-usage Change Log Entry index](../../changes/bcapps/10009.md) (main, BC30, performance)

## Across versions

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

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: "Change Log Entry")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
