---
id: object/table/3900
type: object
title: Table 3900 "Retention Period"
summary: Table 3900 "Retention Period" in System Application (System.DataAdministration). 4 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: 6958a7bfcc5de6b3c2000ecb44dc28f6555976f6eccb3965b6c93584c97f9ed5
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/System%20Application/App/Retention%20Policy/src/Retention%20Period/RetentionPeriod.Table.al
    title: src/System Application/App/Retention Policy/src/Retention Period/RetentionPeriod.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: 3900
name: Retention Period
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: 4
  procedures: 0
  events: 0
  subscribers: 0
relations:
  out: 1
  referenced_by: 2
  pages: 1
  extended_by: 0
  event_subscribers: 2
  calls: 0
  called_by: 0
  implements: 0
---

# Table 3900 "Retention Period"

> Table 3900 "Retention Period" in System Application (System.DataAdministration). 4 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%20Period/RetentionPeriod.Table.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Extensible | false |
| LookupPageId | Retention Periods |

## 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 | Code | Code[20] | Specifies the identifier of the retention period. <small>via [Page 3900 "Retention Periods"](../page/3900.md)</small> | NotBlank; DataClassification CustomerContent |
| 2 | Description | Text[100] | Specifies a short description of the retention period. <small>via [Page 3900 "Retention Periods"](../page/3900.md)</small> | DataClassification CustomerContent |
| 3 | Retention Period | Enum "Retention Period Enum" | Specifies a default or custom value for a retention period. <small>via [Page 3900 "Retention Periods"](../page/3900.md)</small> | enum [Enum 3900 "Retention Period Enum"](../enum/3900.md); DataClassification SystemMetadata |
| 4 | Ret. Period Calculation | DateFormula | Specifies the date formula used to calculate the expiration date for the retention period. <small>via [Page 3900 "Retention Periods"](../page/3900.md)</small> | DataClassification CustomerContent |

## Keys

- PrimaryKey: Code (clustered)

## Trigger event subscribers

- OnBeforeDeleteEvent: [Codeunit 3902 "Retention Policy Setup"](../codeunit/3902.md) VerifyRetentionPolicySetupOnbeforeDeleteRetentionPeriod
- OnBeforeModifyEvent: [Codeunit 3902 "Retention Policy Setup"](../codeunit/3902.md) VerifyRetentionPolicySetupOnbeforeModifyRetentionPeriod

## Relations

- lookup page [Page 3900 "Retention Periods"](../page/3900.md)

## Referenced by

2 fields in 2 objects relate to this table (TableRelation or CalcFormula).

- [Table 3901 "Retention Policy Setup"](../table/3901.md): Retention Period
- [Table 3902 "Retention Policy Setup Line"](../table/3902.md): Retention Period

## Pages and codeunits on this table

- [Page 3900 "Retention Periods"](../page/3900.md) (source table)

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