Codeunit 3908 "Retention Policy Log"
System Application · System.DataAdministration
Across versions
- BC23-30present
Neighbourhood 18 connected objects and pages
System Application · System.DataAdministration · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Access | Public |
Procedures
LogError(Category: Enum "Retention Policy Log Category"; Message: Text[2048]): LogError will create an entry in the Retention Policy Log Entry table with Message Type set to Error. An error message will be displayed to the user and any changes in the current transaction will be reverted.LogError(Category: Enum "Retention Policy Log Category"; Message: Text[2048]; DisplayError: Boolean): LogError will create an entry in the Retention Policy Log Entry table with Message Type set to Error. If DisplayError is true, an error message will be displayed to the user and any changes in the current transaction will be rolled back. If DisplayError is false, no error is displayed, the code cont…LogWarning(Category: Enum "Retention Policy Log Category"; Message: Text[2048]): LogWarning will create an entry in the Retention Policy Log Entry table with Message Type set to Warning. No message is displayed to the user.LogInfo(Category: Enum "Retention Policy Log Category"; Message: Text[2048]): LogInfo will create an entry in the Retention Policy Log Entry table with Message Type set to Info. No message is displayed to the user.
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 3909 “Retention Policy Log Impl.” (3 calls:
LogError → LogError,LogInfo → LogInfo,LogWarning → LogWarning)
Called by
- Codeunit 3904 “Apply Retention Policy Impl.” (15 calls:
ApplyRetentionPolicy → LogInfo,CanApplyRetentionPolicy → LogError,ConfirmApplyRetentionPolicies → LogError, …) - Codeunit 3903 “Retention Policy Setup Impl.” (7 calls:
CheckRecordLockedOnRetentionPolicySetupLine → LogError,CheckRecordLockedOnRetentionPolicySetupLine → LogInfo,InsertDefaultTableFiltersOnAfterInsertRetenPolSetup → LogWarning, …) - Codeunit 3906 “Reten. Pol. Allowed Tbl. Impl.” (7 calls:
AllowAddtoAllowedList → LogInfo,AllowModifyAllowedList → LogInfo,GetDefaultDateFieldNo → LogWarning, …) - Codeunit 3915 “Reten. Pol. Filtering Impl.” (4 calls:
ApplyRetentionPolicyAllRecordFilters → LogInfo,ApplyRetentionPolicyAllRecordFilters → LogWarning,ApplyRetentionPolicySubSetFilters → LogInfo, …) - Codeunit 3997 “Retention Policy JQ” (3 calls:
OnRun → LogInfo,ScheduleJobQueueEntryOnApplyRetentionPolicyRecordLimitExceeded → LogInfo,ScheduleJobQueueEntryOnApplyRetentionPolicyRecordLimitExceeded → LogWarning) - Codeunit 3900 “Retention Period Impl.” (2 calls:
RetentionPeriodDateFormula → LogError,ValidateRetentionPeriodDateFormula → LogError) - Codeunit 3902 “Retention Policy Setup” (2 calls:
ErrorOnBeforeRenameRetentionPolicySetup → LogError,ErrorOnBeforeRenameRetentionPolicySetupLine → LogError) - Codeunit 3916 “Reten. Pol. Delete. Impl.” (2 calls:
DeleteRecords → LogWarning,LimitRecordsToBeDeleted → LogInfo) - Codeunit 3994 “Reten. Pol. Doc. Arch. Fltrng.” (2 calls:
ApplyRetentionPolicySubSetFilters → LogInfo,ValidateExpirationDate → LogError) - Codeunit 3998 “Retention Policy Scheduler” (2 calls:
ScheduleRecurringRetentionPolicy → LogInfo,UnScheduleRecurringRetentionPolicy → LogInfo) - Codeunit 1598 “Email Logs Delete” (1 call:
DeleteRecordsWithIndirectPermissionsOnApplyRetentionPolicyIndirectPermissionRequired → LogError) - Codeunit 1930 “Performance Profiler Delete” (1 call:
DeleteRecordsWithIndirectPermissionsOnApplyRetentionPolicyIndirectPermissionRequired → LogError) - Codeunit 3901 “Retention Period Custom Impl.” (1 call:
RetentionPeriodDateFormula → LogError) - Codeunit 3905 “Reten. Pol. Allowed Tables” (1 call:
ErrorOnBeforeRenameAllowedTable → LogError) - Codeunit 3913 “Retention Policy Logs Delete” (1 call:
DeleteRecordsWithIndirectPermissionsOnApplyRetentionPolicyIndirectPermissionRequired → LogError) - Codeunit 3995 “Base Application Logs Delete” (1 call:
DeleteRecordsWithIndirectPermissionsOnApplyRetentionPolicyIndirectPermissionRequired → LogError) - Codeunit 6450 “Serv. Integration Mgt.” (1 call:
DeleteRecordsWithIndirectPermissionsOnApplyRetentionPolicyIndirectPermissionRequired → LogError)
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: "Retention Policy Log"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.