---
title: "Codeunit 3906 Reten. Pol. Allowed Tbl. Impl., extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/points/
object: https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/
app: "System Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/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 3906 Reten. Pol. Allowed Tbl. Impl., extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/points/

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

## AddToAllowedTables

[Line 51](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/source/#L51).

- [62](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/source/#L62) calls `ModuleOwnsTable`
- [82](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/source/#L82) writes [Table 3903 Retention Policy Allowed Table](https://jonas-paprotka.de/ref/table/3903-retention-policy-allowed-table/) Modify(true)
- [86](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/source/#L86) calls [Codeunit 3908 Retention Policy Log](https://jonas-paprotka.de/ref/codeunit/3908-retention-policy-log/) `LogInfo`
- [86](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/source/#L86) calls `LogCategory`
- [88](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/source/#L88) calls [Codeunit 3908 Retention Policy Log](https://jonas-paprotka.de/ref/codeunit/3908-retention-policy-log/) `LogError`
- [88](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/source/#L88) calls `LogCategory`
- [94](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/source/#L94) writes [Table 3903 Retention Policy Allowed Table](https://jonas-paprotka.de/ref/table/3903-retention-policy-allowed-table/) Insert
- [98](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/source/#L98) calls [Codeunit 3908 Retention Policy Log](https://jonas-paprotka.de/ref/codeunit/3908-retention-policy-log/) `LogInfo`
- [98](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/source/#L98) calls `LogCategory`
- [100](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/source/#L100) calls [Codeunit 3908 Retention Policy Log](https://jonas-paprotka.de/ref/codeunit/3908-retention-policy-log/) `LogError`
- [100](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/source/#L100) calls `LogCategory`

## ModuleOwnsTable

[Line 105](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/source/#L105), local.

- [113](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/source/#L113) calls [Codeunit 3908 Retention Policy Log](https://jonas-paprotka.de/ref/codeunit/3908-retention-policy-log/) `LogWarning`
- [113](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/source/#L113) calls `LogCategory`
- [122](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/source/#L122) calls [Codeunit 417 Tenant Information](https://jonas-paprotka.de/ref/codeunit/417-tenant-information/) `GetTenantId`
- [124](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/source/#L124) calls [Codeunit 3908 Retention Policy Log](https://jonas-paprotka.de/ref/codeunit/3908-retention-policy-log/) `LogWarning`
- [124](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/source/#L124) calls `LogCategory`
- [128](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/source/#L128) calls `IsAppAllowListed`
- [132](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/source/#L132) calls [Codeunit 3908 Retention Policy Log](https://jonas-paprotka.de/ref/codeunit/3908-retention-policy-log/) `LogWarning`
- [132](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/source/#L132) calls `LogCategory`

## RemoveFromAllowedTables

[Line 139](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/source/#L139).

- [145](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/source/#L145) calls [Codeunit 3908 Retention Policy Log](https://jonas-paprotka.de/ref/codeunit/3908-retention-policy-log/) `LogInfo`
- [145](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/source/#L145) calls `LogCategory`
- [148](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/source/#L148) calls [Codeunit 3908 Retention Policy Log](https://jonas-paprotka.de/ref/codeunit/3908-retention-policy-log/) `LogInfo`
- [148](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/source/#L148) calls `LogCategory`
- [149](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/source/#L149) writes [Table 3903 Retention Policy Allowed Table](https://jonas-paprotka.de/ref/table/3903-retention-policy-allowed-table/) Delete

## GetDefaultDateFieldNo

[Line 190](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/source/#L190).

- [196](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/source/#L196) calls `IsAllowedTable`
- [201](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/source/#L201) calls [Codeunit 3908 Retention Policy Log](https://jonas-paprotka.de/ref/codeunit/3908-retention-policy-log/) `LogWarning`
- [201](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/source/#L201) calls `LogCategory`

## GetMandatoryMinimumRetentionDays

[Line 207](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/source/#L207).

- [211](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/source/#L211) calls `IsAllowedTable`

## CalcMinimumExpirationDate

[Line 217](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/source/#L217).

- [222](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/source/#L222) calls `GetMandatoryMinimumRetentionDays`
- [224](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/source/#L224) calls `GetMandatoryMinimumRetentionDays`

## GetTableFilters

[Line 281](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/source/#L281).

- [286](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/source/#L286) calls `IsAllowedTable`

## ParseTableFilter

[Line 297](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/source/#L297).

- [299](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/source/#L299) calls `GetTableId`
- [300](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/source/#L300) calls `GetRetentionPeriodEnum`
- [301](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/source/#L301) calls `GetRetPeriodCalc`
- [302](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/source/#L302) calls `GetDateFieldNo`
- [303](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/source/#L303) calls `GetEnabled`
- [304](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/source/#L304) calls `GetLocked`
- [305](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/source/#L305) calls `GetTableFilter`

## AllowAddtoAllowedList

[Line 382](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/source/#L382), local.

- [386](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/source/#L386) calls [Codeunit 3908 Retention Policy Log](https://jonas-paprotka.de/ref/codeunit/3908-retention-policy-log/) `LogInfo`
- [386](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/source/#L386) calls `LogCategory`

## VerifyInsertAllowed

[Line 390](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/source/#L390).

- [395](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/source/#L395) raises `OnVerifyAddtoAllowedList`
- [397](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/source/#L397) calls [Codeunit 3908 Retention Policy Log](https://jonas-paprotka.de/ref/codeunit/3908-retention-policy-log/) `LogError`
- [397](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/source/#L397) calls `LogCategory`

## AllowModifyAllowedList

[Line 411](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/source/#L411), local.

- [415](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/source/#L415) calls [Codeunit 3908 Retention Policy Log](https://jonas-paprotka.de/ref/codeunit/3908-retention-policy-log/) `LogInfo`
- [415](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/source/#L415) calls `LogCategory`

## VerifyModifyAllowed

[Line 419](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/source/#L419).

- [424](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/source/#L424) raises `OnVerifyModifyAllowedList`
- [426](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/source/#L426) calls [Codeunit 3908 Retention Policy Log](https://jonas-paprotka.de/ref/codeunit/3908-retention-policy-log/) `LogError`
- [426](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/source/#L426) calls `LogCategory`

## SetTruncateAllowed

[Line 443](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/source/#L443).

- [448](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/source/#L448) calls `ModuleOwnsTable`
- [456](https://jonas-paprotka.de/ref/codeunit/3906-reten-pol-allowed-tbl-impl/source/#L456) writes [Table 3903 Retention Policy Allowed Table](https://jonas-paprotka.de/ref/table/3903-retention-policy-allowed-table/) Modify(true)

## Source

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

JOP-AL, 2026-11-20.
