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

JOP-AL, https://jonas-paprotka.de/ref/codeunit/3916-reten-pol-delete-impl/points/

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

## DeleteRecords

[Line 22](https://jonas-paprotka.de/ref/codeunit/3916-reten-pol-delete-impl/source/#L22).

- [29](https://jonas-paprotka.de/ref/codeunit/3916-reten-pol-delete-impl/source/#L29) calls [Codeunit 3908 Retention Policy Log](https://jonas-paprotka.de/ref/codeunit/3908-retention-policy-log/) `LogWarning`
- [29](https://jonas-paprotka.de/ref/codeunit/3916-reten-pol-delete-impl/source/#L29) calls `LogCategory`
- [33](https://jonas-paprotka.de/ref/codeunit/3916-reten-pol-delete-impl/source/#L33) calls [Codeunit 3917 Record Reference](https://jonas-paprotka.de/ref/codeunit/3917-record-reference/) `Initialize`
- [36](https://jonas-paprotka.de/ref/codeunit/3916-reten-pol-delete-impl/source/#L36) calls [Codeunit 3908 Retention Policy Log](https://jonas-paprotka.de/ref/codeunit/3908-retention-policy-log/) `LogWarning`
- [36](https://jonas-paprotka.de/ref/codeunit/3916-reten-pol-delete-impl/source/#L36) calls `LogCategory`
- [39](https://jonas-paprotka.de/ref/codeunit/3916-reten-pol-delete-impl/source/#L39) calls `NumberOfRecordsToDeleteBuffer`
- [40](https://jonas-paprotka.de/ref/codeunit/3916-reten-pol-delete-impl/source/#L40) calls [Codeunit 3908 Retention Policy Log](https://jonas-paprotka.de/ref/codeunit/3908-retention-policy-log/) `LogWarning`
- [40](https://jonas-paprotka.de/ref/codeunit/3916-reten-pol-delete-impl/source/#L40) calls `LogCategory`
- [41](https://jonas-paprotka.de/ref/codeunit/3916-reten-pol-delete-impl/source/#L41) calls `LimitRecordsToBeDeleted`

## LimitRecordsToBeDeleted

[Line 50](https://jonas-paprotka.de/ref/codeunit/3916-reten-pol-delete-impl/source/#L50), local.

- [54](https://jonas-paprotka.de/ref/codeunit/3916-reten-pol-delete-impl/source/#L54) calls [Codeunit 3908 Retention Policy Log](https://jonas-paprotka.de/ref/codeunit/3908-retention-policy-log/) `LogInfo`
- [54](https://jonas-paprotka.de/ref/codeunit/3916-reten-pol-delete-impl/source/#L54) calls `LogCategory`
- [55](https://jonas-paprotka.de/ref/codeunit/3916-reten-pol-delete-impl/source/#L55) calls `FilterRecordsToLimit`

## NumberOfRecordsToDeleteBuffer

[Line 77](https://jonas-paprotka.de/ref/codeunit/3916-reten-pol-delete-impl/source/#L77), local.

- [81](https://jonas-paprotka.de/ref/codeunit/3916-reten-pol-delete-impl/source/#L81) calls [Codeunit 3904 Apply Retention Policy Impl.](https://jonas-paprotka.de/ref/codeunit/3904-apply-retention-policy-impl/) `NumberOfRecordsToDeleteBuffer`

## Source

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

JOP-AL, 2026-11-20.
