---
id: object/table/3905
type: object
title: Table 3905 "Retention Policy Log Entry"
summary: Table 3905 "Retention Policy Log Entry" in System Application (System.DataAdministration). 6 fields. Present since at least BC23, still in BC30.
tier: official
language: en
tags:
  - table
  - system 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: a895c51d0677663518134070134149ba98dfefca7efc5e11b626e2555b88b011
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/System%20Application/App/Retention%20Policy/src/Retention%20Policy%20Log/RetentionPolicyLogEntry.Table.al
    title: src/System Application/App/Retention Policy/src/Retention Policy Log/RetentionPolicyLogEntry.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 3905
name: Retention Policy Log Entry
namespace: System.DataAdministration
app: System 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: 6
  procedures: 0
  events: 0
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 1
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Table 3905 "Retention Policy Log Entry"

> Table 3905 "Retention Policy Log Entry" in System Application (System.DataAdministration). 6 fields. Present since at least BC23, still in BC30.

System Application · System.DataAdministration · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/System%20Application/App/Retention%20Policy/src/Retention%20Policy%20Log/RetentionPolicyLogEntry.Table.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Access | Internal |
| Extensible | false |

## 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 entry number that is assigned to the entry. <small>via [Page 3904 "Retention Policy Log Entries"](../page/3904.md)</small> | AutoIncrement; DataClassification SystemMetadata |
| 3 | Session Id | Integer | Specifies the ID of the session in which the entry was created. <small>via [Page 3904 "Retention Policy Log Entries"](../page/3904.md)</small> | DataClassification SystemMetadata |
| 4 | User Id | Code[50] | Specifies the ID of the user who ran the process that created the log entry. <small>via [Page 3904 "Retention Policy Log Entries"](../page/3904.md)</small> | FlowField: lookup(User."User Name" where("User Security Id" = field(SystemCreatedBy))); not editable |
| 5 | Category | Enum "Retention Policy Log Category" | Specifies the aspect of the retention policy that created the log entry. This indicates where a user was working in Business Central, or what they were doing, when the entry was created. For example, this can be setup, retention period, and when the policy was applied. <small>via [Page 3904 "Retention Policy Log Entries"](../page/3904.md)</small> | enum [Enum 3901 "Retention Policy Log Category"](../enum/3901.md); DataClassification SystemMetadata |
| 6 | Message Type | Enum "Retention Policy Log Message Type" | Specifies whether the message is informational, a warning, or an error. <small>via [Page 3904 "Retention Policy Log Entries"](../page/3904.md)</small> | enum [Enum 3902 "Retention Policy Log Message Type"](../enum/3902.md); DataClassification SystemMetadata |
| 7 | Message | Text[2048] | Specifies the content of the message in the log entry. <small>via [Page 3904 "Retention Policy Log Entries"](../page/3904.md)</small> | DataClassification SystemMetadata |

## Keys

- PK: Entry No. (clustered)
- Key2: Message Type

## Pages and codeunits on this table

- [Page 3904 "Retention Policy Log Entries"](../page/3904.md) (source table)
- [Codeunit 3909 "Retention Policy Log Impl."](../codeunit/3909.md) (codeunit runs on it)

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