---
title: "Codeunit 3900 Retention Period Impl., extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/3900-retention-period-impl/points/
object: https://jonas-paprotka.de/ref/codeunit/3900-retention-period-impl/
app: "System Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/3900-retention-period-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 3900 Retention Period Impl., extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/3900-retention-period-impl/points/

7 procedures and triggers with a step in src/System Application/App/Retention Policy/src/Retention Period/RetentionPeriodImpl.Codeunit.al, in source order, read from the text, not from a run.

## RetentionPeriodDateFormula

[Line 19](https://jonas-paprotka.de/ref/codeunit/3900-retention-period-impl/source/#L19), local.

- [44](https://jonas-paprotka.de/ref/codeunit/3900-retention-period-impl/source/#L44) calls [Codeunit 3908 Retention Policy Log](https://jonas-paprotka.de/ref/codeunit/3908-retention-policy-log/) `LogError`
- [44](https://jonas-paprotka.de/ref/codeunit/3900-retention-period-impl/source/#L44) calls `LogCategory`

## RetentionPeriodDateFormula

[Line 58](https://jonas-paprotka.de/ref/codeunit/3900-retention-period-impl/source/#L58).

- [64](https://jonas-paprotka.de/ref/codeunit/3900-retention-period-impl/source/#L64) calls [Codeunit 3908 Retention Policy Log](https://jonas-paprotka.de/ref/codeunit/3908-retention-policy-log/) `LogError`
- [64](https://jonas-paprotka.de/ref/codeunit/3900-retention-period-impl/source/#L64) calls `LogCategory`

## CalculateExpirationDate

[Line 67](https://jonas-paprotka.de/ref/codeunit/3900-retention-period-impl/source/#L67).

- [69](https://jonas-paprotka.de/ref/codeunit/3900-retention-period-impl/source/#L69) calls `RetentionPeriodDateFormula`

## CalculateExpirationDate

[Line 72](https://jonas-paprotka.de/ref/codeunit/3900-retention-period-impl/source/#L72).

- [74](https://jonas-paprotka.de/ref/codeunit/3900-retention-period-impl/source/#L74) calls `RetentionPeriodDateFormula`

## CalculateExpirationDate

[Line 77](https://jonas-paprotka.de/ref/codeunit/3900-retention-period-impl/source/#L77).

- [85](https://jonas-paprotka.de/ref/codeunit/3900-retention-period-impl/source/#L85) calls `RetentionPeriodDateFormula`

## ValidateRetentionPeriodDateFormula

[Line 88](https://jonas-paprotka.de/ref/codeunit/3900-retention-period-impl/source/#L88).

- [93](https://jonas-paprotka.de/ref/codeunit/3900-retention-period-impl/source/#L93) calls `IsFutureDateFormula`
- [94](https://jonas-paprotka.de/ref/codeunit/3900-retention-period-impl/source/#L94) calls [Codeunit 3908 Retention Policy Log](https://jonas-paprotka.de/ref/codeunit/3908-retention-policy-log/) `LogError`
- [94](https://jonas-paprotka.de/ref/codeunit/3900-retention-period-impl/source/#L94) calls `LogCategory`

## IsFutureDateFormula

[Line 97](https://jonas-paprotka.de/ref/codeunit/3900-retention-period-impl/source/#L97), local.

- [99](https://jonas-paprotka.de/ref/codeunit/3900-retention-period-impl/source/#L99) calls `Yesterday`

## Source

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

JOP-AL, 2026-11-20.
