---
title: "Codeunit 3905 Reten. Pol. Allowed Tables, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/3905-reten-pol-allowed-tables/points/
object: https://jonas-paprotka.de/ref/codeunit/3905-reten-pol-allowed-tables/
app: "System Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/3905-reten-pol-allowed-tables/source/
checked: 2026-11-20
changed: 2026-10-05
subject: "Microsoft Dynamics 365 Business Central"
license: "Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/"
---

# Codeunit 3905 Reten. Pol. Allowed Tables, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/3905-reten-pol-allowed-tables/points/

22 procedures and triggers with a step in src/System Application/App/Retention Policy/src/Retention Policy Allowed Tables/RetenPolAllowedTables.Codeunit.al, in source order, read from the text, not from a run.

## AddAllowedTable

[Line 28](https://jonas-paprotka.de/ref/codeunit/3905-reten-pol-allowed-tables/source/#L28).

- [36](https://jonas-paprotka.de/ref/codeunit/3905-reten-pol-allowed-tables/source/#L36) calls [Codeunit 3906 Reten. Pol. Allowed Tbl. Impl.](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/) `AddToAllowedTables`

## AddAllowedTable

[Line 45](https://jonas-paprotka.de/ref/codeunit/3905-reten-pol-allowed-tables/source/#L45).

- [52](https://jonas-paprotka.de/ref/codeunit/3905-reten-pol-allowed-tables/source/#L52) calls [Codeunit 3906 Reten. Pol. Allowed Tbl. Impl.](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/) `AddToAllowedTables`

## AddAllowedTable

[Line 62](https://jonas-paprotka.de/ref/codeunit/3905-reten-pol-allowed-tables/source/#L62).

- [69](https://jonas-paprotka.de/ref/codeunit/3905-reten-pol-allowed-tables/source/#L69) calls [Codeunit 3906 Reten. Pol. Allowed Tbl. Impl.](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/) `AddToAllowedTables`

## AddAllowedTable

[Line 79](https://jonas-paprotka.de/ref/codeunit/3905-reten-pol-allowed-tables/source/#L79).

- [85](https://jonas-paprotka.de/ref/codeunit/3905-reten-pol-allowed-tables/source/#L85) calls [Codeunit 3906 Reten. Pol. Allowed Tbl. Impl.](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/) `AddToAllowedTables`

## AddAllowedTable

[Line 94](https://jonas-paprotka.de/ref/codeunit/3905-reten-pol-allowed-tables/source/#L94).

- [101](https://jonas-paprotka.de/ref/codeunit/3905-reten-pol-allowed-tables/source/#L101) calls [Codeunit 3906 Reten. Pol. Allowed Tbl. Impl.](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/) `AddToAllowedTables`

## AddAllowedTable

[Line 114](https://jonas-paprotka.de/ref/codeunit/3905-reten-pol-allowed-tables/source/#L114).

- [120](https://jonas-paprotka.de/ref/codeunit/3905-reten-pol-allowed-tables/source/#L120) calls [Codeunit 3906 Reten. Pol. Allowed Tbl. Impl.](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/) `AddToAllowedTables`

## AddTableFilterToJsonArray

[Line 133](https://jonas-paprotka.de/ref/codeunit/3905-reten-pol-allowed-tables/source/#L133).

- [137](https://jonas-paprotka.de/ref/codeunit/3905-reten-pol-allowed-tables/source/#L137) calls [Codeunit 3906 Reten. Pol. Allowed Tbl. Impl.](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/) `AddTableFilterToJsonArray`

## AddTableFilterToJsonArray

[Line 150](https://jonas-paprotka.de/ref/codeunit/3905-reten-pol-allowed-tables/source/#L150).

- [154](https://jonas-paprotka.de/ref/codeunit/3905-reten-pol-allowed-tables/source/#L154) calls [Codeunit 3906 Reten. Pol. Allowed Tbl. Impl.](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/) `AddTableFilterToJsonArray`

## RemoveAllowedTable

[Line 162](https://jonas-paprotka.de/ref/codeunit/3905-reten-pol-allowed-tables/source/#L162).

- [166](https://jonas-paprotka.de/ref/codeunit/3905-reten-pol-allowed-tables/source/#L166) calls [Codeunit 3906 Reten. Pol. Allowed Tbl. Impl.](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/) `RemoveFromAllowedTables`

## IsAllowedTable

[Line 174](https://jonas-paprotka.de/ref/codeunit/3905-reten-pol-allowed-tables/source/#L174).

- [178](https://jonas-paprotka.de/ref/codeunit/3905-reten-pol-allowed-tables/source/#L178) calls [Codeunit 3906 Reten. Pol. Allowed Tbl. Impl.](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/) `IsAllowedTable`

## GetAllowedTables

[Line 185](https://jonas-paprotka.de/ref/codeunit/3905-reten-pol-allowed-tables/source/#L185).

- [189](https://jonas-paprotka.de/ref/codeunit/3905-reten-pol-allowed-tables/source/#L189) calls [Codeunit 3906 Reten. Pol. Allowed Tbl. Impl.](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/) `GetAllowedTables`

## GetAllowedTables

[Line 196](https://jonas-paprotka.de/ref/codeunit/3905-reten-pol-allowed-tables/source/#L196).

- [200](https://jonas-paprotka.de/ref/codeunit/3905-reten-pol-allowed-tables/source/#L200) calls [Codeunit 3906 Reten. Pol. Allowed Tbl. Impl.](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/) `GetAllowedTables`

## GetRetenPolFiltering

[Line 208](https://jonas-paprotka.de/ref/codeunit/3905-reten-pol-allowed-tables/source/#L208).

- [212](https://jonas-paprotka.de/ref/codeunit/3905-reten-pol-allowed-tables/source/#L212) calls [Codeunit 3906 Reten. Pol. Allowed Tbl. Impl.](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/) `GetRetenPolFiltering`

## GetRetenPolDeleting

[Line 220](https://jonas-paprotka.de/ref/codeunit/3905-reten-pol-allowed-tables/source/#L220).

- [224](https://jonas-paprotka.de/ref/codeunit/3905-reten-pol-allowed-tables/source/#L224) calls [Codeunit 3906 Reten. Pol. Allowed Tbl. Impl.](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/) `GetRetenPolDeleting`

## GetDefaultDateFieldNo

[Line 232](https://jonas-paprotka.de/ref/codeunit/3905-reten-pol-allowed-tables/source/#L232).

- [236](https://jonas-paprotka.de/ref/codeunit/3905-reten-pol-allowed-tables/source/#L236) calls [Codeunit 3906 Reten. Pol. Allowed Tbl. Impl.](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/) `GetDefaultDateFieldNo`

## GetMandatoryMinimumRetentionDays

[Line 244](https://jonas-paprotka.de/ref/codeunit/3905-reten-pol-allowed-tables/source/#L244).

- [248](https://jonas-paprotka.de/ref/codeunit/3905-reten-pol-allowed-tables/source/#L248) calls [Codeunit 3906 Reten. Pol. Allowed Tbl. Impl.](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/) `GetMandatoryMinimumRetentionDays`

## CalcMinimumExpirationDate

[Line 256](https://jonas-paprotka.de/ref/codeunit/3905-reten-pol-allowed-tables/source/#L256).

- [260](https://jonas-paprotka.de/ref/codeunit/3905-reten-pol-allowed-tables/source/#L260) calls [Codeunit 3906 Reten. Pol. Allowed Tbl. Impl.](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/) `CalcMinimumExpirationDate`

## SetTruncateAllowed

[Line 268](https://jonas-paprotka.de/ref/codeunit/3905-reten-pol-allowed-tables/source/#L268).

- [274](https://jonas-paprotka.de/ref/codeunit/3905-reten-pol-allowed-tables/source/#L274) calls [Codeunit 3906 Reten. Pol. Allowed Tbl. Impl.](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/) `SetTruncateAllowed`

## IsTruncateAllowed

[Line 282](https://jonas-paprotka.de/ref/codeunit/3905-reten-pol-allowed-tables/source/#L282).

- [286](https://jonas-paprotka.de/ref/codeunit/3905-reten-pol-allowed-tables/source/#L286) calls [Codeunit 3906 Reten. Pol. Allowed Tbl. Impl.](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/) `IsTruncateAllowed`

## VerifyInsertAllowed

[Line 298](https://jonas-paprotka.de/ref/codeunit/3905-reten-pol-allowed-tables/source/#L298), local.

- [305](https://jonas-paprotka.de/ref/codeunit/3905-reten-pol-allowed-tables/source/#L305) calls [Codeunit 3906 Reten. Pol. Allowed Tbl. Impl.](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/) `VerifyInsertAllowed`

## ErrorOnBeforeRenameAllowedTable

[Line 309](https://jonas-paprotka.de/ref/codeunit/3905-reten-pol-allowed-tables/source/#L309), local.

- [317](https://jonas-paprotka.de/ref/codeunit/3905-reten-pol-allowed-tables/source/#L317) calls [Codeunit 3908 Retention Policy Log](https://jonas-paprotka.de/ref/codeunit/3908-retention-policy-log/) `LogError`

## VerifyModifyAllowed

[Line 321](https://jonas-paprotka.de/ref/codeunit/3905-reten-pol-allowed-tables/source/#L321), local.

- [328](https://jonas-paprotka.de/ref/codeunit/3905-reten-pol-allowed-tables/source/#L328) calls [Codeunit 3906 Reten. Pol. Allowed Tbl. Impl.](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/) `VerifyModifyAllowed`

## Source

AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
