Codeunit 3999 "Reten. Pol. Install - BaseApp"
Base Application · System.DataAdministration
Across versions
- BC23-24present
- BC252 procedures added, 1 events added
- BC26unchanged
- BC276 procedures added
- BC283 procedures added
- BC292 procedures added
- BC303 procedures added, 1 procedures changed
Neighbourhood 4 connected objects and pages
Base Application · System.DataAdministration · BC23-30 · source at 4e6a307c · facts from BC29
Properties
| Property | Value |
|---|---|
| Access | Internal |
| Subtype | Install |
| Permissions | tabledata “Retention Period” = ri, tabledata “Retention Policy Setup” = ri |
Events published
OnAfterAddDocumentArchiveTablesToAllowedTables()+ BC25 (integration)- subscribers: Codeunit 6450 “Serv. Integration Mgt.” InstallRetentionPolicies_OnAfterAddDocumentArchiveTablesToAllowedTables
Event subscriptions
- RegisterPerCompanyUpgradeTags subscribes to Codeunit “Upgrade Tag” OnGetPerCompanyUpgradeTags
- AddAllowedTablesOnRefreshAllowedTables subscribes to Codeunit “Reten. Pol. Allowed Tables” OnRefreshAllowedTables
- AddAllowedTablesOnBeforeCompanyInit subscribes to Codeunit “Company-Initialize” OnBeforeOnRun
Procedures
AddAllowedTables()AddAllowedTables(ForceUpdate: Boolean)
Plus 29 local procedures.
Triggers
OnInstallAppPerCompany
Calls
From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.
- Codeunit 3905 “Reten. Pol. Allowed Tables” (19 calls:
AddChangeLogEntryToAllowedTables → AddAllowedTable,AddChangeLogEntryToAllowedTables → AddTableFilterToJsonArray,AddCRMIntegrationSynch → AddAllowedTable, …) - Codeunit 3902 “Retention Policy Setup” (1 call:
FindOrCreateRetentionPeriod → FindOrCreateRetentionPeriod)
Called by
- Codeunit 3996 “Reten. Pol. Upgrade - BaseApp” (1 call:
OnUpgradePerCompany → AddAllowedTables)
Recent changes
- 2026-11-19 #13201 [main] Bug 592028 Retention policy fails: Bin Mandatory must be equal to ‘No’ in Location. Current value is ‘Yes’. (main, BC30, fix)
- 2026-10-08 #12429 Skip enabling incomplete existing retention policies on install/upgrade (main, BC30, fix)
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Upgrading Microsoft System and Base Application to Version 25 — possibly related: Reten. Pol. Install - BaseApp is part of base application installation during version 25 upgrade. (model-linked)
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). The call sections above are our own, per object, from the BC29 call graph. 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: "codeunit", object_name: "Reten. Pol. Install - BaseApp"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.