Codeunit 3904 Apply Retention Policy Impl.
src/System Application/App/Retention Policy/src/Apply Retention Policy/ApplyRetentionPolicyImpl.Codeunit.al18 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT
ApplyRetentionPolicy line 85
- 91callsCodeunit 3908 Retention Policy Log LogInfo
- 91callsLogCategory
- 91callsAppendStartedByUserMessage
- 109callsSafeApplyRetentionPolicy
- 115callsCodeunit 3908 Retention Policy Log LogInfo
- 115callsLogCategory
- 115callsAppendStartedByUserMessage
- 118runsCodeunit 3904 Apply Retention Policy Impl.
ApplyRetentionPolicy line 121
- 132callsIsSystemEnabledPolicy
- 133callsCodeunit 8703 Feature Telemetry LogUptake
- 134callsCanApplyRetentionPolicy
- 143callsCodeunit 3908 Retention Policy Log LogInfo
- 143callsLogCategory
- 143callsAppendStartedByUserMessage
- 146callsGetExpiredRecords
- 147callsDeleteExpiredRecords
- 149callsCodeunit 3912 Reten. Policy Telemetry Impl. SendTelemetryOnRecordsDeleted
- 151callsCodeunit 3908 Retention Policy Log LogInfo
- 151callsLogCategory
- 151callsAppendStartedByUserMessage
- 156callsCheckAndContinueWithRerun
- 158callsIsSystemEnabledPolicy
- 159callsCodeunit 8703 Feature Telemetry LogUsage
GetExpiredRecordCount line 162
- 170callsCodeunit 3908 Retention Policy Log LogInfo
- 170callsLogCategory
- 172callsGetExpiredRecords
- 177callsCodeunit 3908 Retention Policy Log LogInfo
- 177callsLogCategory
- 178callsCodeunit 3908 Retention Policy Log LogInfo
- 178callsLogCategory
SafeApplyRetentionPolicy line 182, local
- 190runsCodeunit 3904 Apply Retention Policy Impl.
- 191callsCodeunit 3908 Retention Policy Log LogError
- 191callsLogCategory
CanApplyRetentionPolicy line 197, local
- 202callsConfirmApplyRetentionPolicies
- 208callsTableExists
- 209callsDisableRetentionPolicySetup
- 217callsCodeunit 3905 Reten. Pol. Allowed Tables IsAllowedTable
- 218callsCodeunit 3908 Retention Policy Log LogError
- 218callsLogCategory
DeleteExpiredRecords line 223, local
- 239callsFillTempRetenPolDeletingParamTable
- 242callsCodeunit 3905 Reten. Pol. Allowed Tables GetRetenPolDeleting
- 246callsCodeunit 3910 Apply Retention Policy OnApplyRetentionPolicyIndirectPermissionRequired
- 248callsCodeunit 3908 Retention Policy Log LogError
- 248callsLogCategory
- 252callsCount
- 256callsCodeunit 3908 Retention Policy Log LogInfo
- 256callsLogCategory
- 257callsCodeunit 3912 Reten. Policy Telemetry Impl. SendTelemetryOnRecordsDeleted
- 260callsRaiseRecordLimitExceededEvent
FillTempRetenPolDeletingParamTable line 274, local
- 277callsVerifyIndirectDeletePermission
- 279callsMaxNumberOfRecordsToDelete
- 281callsMaxNumberOfRecordsToDelete
RaiseRecordLimitExceededEvent line 285, local
- 292callsCodeunit 3908 Retention Policy Log LogWarning
- 292callsLogCategory
- 293callsCodeunit 3910 Apply Retention Policy OnApplyRetentionPolicyRecordLimitExceeded
- 296callsMaxNumberOfRecordsToDelete
DisableRetentionPolicySetup line 308, local
- 312validatesTable 3901 Retention Policy Setup Enabled
- 313writesTable 3901 Retention Policy Setup Modify(true)
- 314callsCodeunit 3908 Retention Policy Log LogInfo
- 314callsLogCategory
ConfirmApplyRetentionPolicies line 317, local
- 332callsCodeunit 3908 Retention Policy Log LogError
- 332callsLogCategory
GetExpiredRecords line 337, local
- 347callsCodeunit 3905 Reten. Pol. Allowed Tables GetRetenPolFiltering
- 352callsCodeunit 3908 Retention Policy Log LogWarning
- 352callsLogCategory
- 360callsCodeunit 3917 Record Reference Initialize
- 362callsCodeunit 3908 Retention Policy Log LogWarning
- 362callsLogCategory
VerifyIndirectDeletePermission line 369, local
- 374callsCodeunit 152 User Permissions GetEffectivePermission
SetWhereOlderExpirationDateFilter line 378
- 384callsCodeunit 3908 Retention Policy Log LogError
- 384callsLogCategory
SetWhereNewerExpirationDateFilter line 396
- 402callsCodeunit 3908 Retention Policy Log LogError
- 402callsLogCategory
SetSingleDateExpirationDateFilter line 414
- 420callsCodeunit 3908 Retention Policy Log LogError
- 420callsLogCategory
TruncateTableRecords line 477
- 488callsCodeunit 3906 Reten. Pol. Allowed Tbl. Impl. IsTruncateAllowed
- 492callsCodeunit 3908 Retention Policy Log LogInfo
- 492callsLogCategory
- 493callsCodeunit 8703 Feature Telemetry LogUsage
- 498callsCodeunit 3908 Retention Policy Log LogInfo
- 498callsLogCategory
- 499callsCodeunit 8703 Feature Telemetry LogUsage
- 505callsCodeunit 152 User Permissions GetEffectivePermission
- 507callsCodeunit 3910 Apply Retention Policy OnTruncateRecordsIndirectPermissionRequired
- 509callsCodeunit 3908 Retention Policy Log LogError
- 509callsLogCategory
- 515callsCodeunit 3908 Retention Policy Log LogInfo
- 515callsLogCategory
- 517callsCodeunit 8703 Feature Telemetry LogUsage