Page 3901 "Retention Policy Setup Card"
System Application · System.DataAdministration
Across versions
- BC23-30present
Neighbourhood 8 connected objects and pages
System Application · System.DataAdministration · captioned “Retention Policy” · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Caption | Retention Policy |
| SourceTable | Retention Policy Setup |
| PageType | Document |
Fields on this page
Layout controls in source order, grouped by the container they sit in. Shows: the table field a control is bound to (or its expression as written); ToolTip: the control’s own, else the bound field’s (marked).
| Group | Control | Shows | ToolTip |
|---|---|---|---|
| General | TableID | Table Id | Specifies the ID of the table to which the retention policy applies. |
| TableName | Table Name | Specifies the name of the table to which the retention policy applies. | |
| TableCaption | Table Caption | Specifies the caption of the table to which the retention policy applies. The caption is the translated, if applicable, name of the table. | |
| Retention Policy | Retention Period | Retention Period | Specifies an identifier for the retention period. |
| Manual | Manual | Specifies whether the retention policy can only be run manually. | |
| Enabled | Enabled | Specifies whether the retention policy is enabled. | |
| Apply to all records | Apply to all records | Specifies whether the retention policy applies to all records in the table. If you want to specify criteria for the records to delete, this toggle must be turned off. | |
| Expired Records | ExpiredRecordCount |
Specifies the number of expired records. | |
| Records to delete | ExpiredRecordCount |
Specifies the number of expired records the retention policy will delete the next time it runs. | |
| Expired Records Expiration Date | ExpiredRecordExpirationDate |
Specifies the earliest expiration date for which there are more expired records than the maximum to be deleted in a single run. | |
| Date Field No. | Date Field No. | Specifies the number of the date or datetime field on the table used to determine the age of a record. | |
| Date Field Name | Date Field Name | Specifies the name of the date or datetime field on the table used to determine the age of a record. | |
| Date Field Caption | Date Field Caption | Specifies the caption of the date or datetime field on the table used to determine the age of a record. The caption is the translated name of the field. | |
| Content | Record Retention Policy | part Page 3902 “Retention Policy Setup Lines” | — |
Actions
| Group | Action | ToolTip | Runs |
|---|---|---|---|
| Navigation | Retention Periods | Set up retention periods. | Page 3900 “Retention Periods” |
| Retention Policy Log | View activity related to retention policies. | Page 3904 “Retention Policy Log Entries” | |
| Processing | Apply Manually | Apply the retention policy and delete all expired records in the table. | |
| Refresh Allowed Tables | Refreshes the list of tables that can be selected. | ||
| Truncate All | Truncate all records in the selected table. This action is restricted to specific tables only. |
Procedures
3 local procedures, no public ones.
Triggers
OnOpenPage, OnAfterGetCurrRecord, OnPageBackgroundTaskCompleted, OnPageBackgroundTaskError, OnQueryClosePage
Relations
- source table Table 3901 “Retention Policy Setup”
Pages and codeunits on this table
- Page 3903 “Retention Policy Setup List” (card page)
- Page 3905 “Reten. Policy Setup ListPart” (card page)
Extended by
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 3903 “Retention Policy Setup Impl.” (2 calls:
OnAfterGetCurrRecord → NotifyOnMissingReadPermission,OnAfterGetCurrRecord → TableExists) - Codeunit 8703 “Feature Telemetry” (1 call:
OnOpenPage → LogUptake)
Called by
- Codeunit 1932 “Scheduled Perf. Profiler Impl.” (1 call:
CreateRetentionPolicySetup → (object))
Documented on Microsoft Learn
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: "page", object_name: "Retention Policy Setup Card"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.