Codeunit 3903 Retention Policy Setup Impl.

System Application, System.DataAdministration

src/System Application/App/Retention Policy/src/Retention Policy Setup/RetentionPolicySetupImpl.Codeunit.al15 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

SetTableFilterView line 35

  1. 42callsGetTableFilterView
  2. 55callsConvertFilterViewToFilterText

GetTableFilterView line 66

  1. 72callsCalcTableFilterBlob

GetTableFilterText line 79

  1. 81callsConvertFilterViewToFilterText
  2. 81callsGetTableFilterView

TableIdLookup line 103

  1. 110callsCodeunit 3905 Reten. Pol. Allowed Tables GetAllowedTables
  2. 125callsGetUsedTablesFilter
  3. 127runsPage 358 Objects

TableExists line 150

  1. 158callsCodeunit 3908 Retention Policy Log LogWarning
  2. 158callsLogCategory

DateFieldNoLookup line 161

  1. 172callsCodeunit 9806 Field Selection Open

ValidateRetentionPeriod line 210, local

  1. 222callsCodeunit 3905 Reten. Pol. Allowed Tables CalcMinimumExpirationDate
  2. 224callsCodeunit 3908 Retention Policy Log LogError
  3. 224callsLogCategory
  4. 224callsCodeunit 3905 Reten. Pol. Allowed Tables GetMandatoryMinimumRetentionDays

VerifyRetentionPolicySetupOnbeforeDeleteRetentionPeriod line 234

  1. 248callsCodeunit 3908 Retention Policy Log LogError
  2. 248callsLogCategory
  3. 252callsCodeunit 3908 Retention Policy Log LogError
  4. 252callsLogCategory

VerifyRetentionPolicySetupOnBeforeModifyRetentionPeriod line 255

  1. 269callsCodeunit 3908 Retention Policy Log LogError
  2. 269callsLogCategory

VerifyRetentionPolicyAllowedTablesOnBeforeInsertRetenPolSetup line 272

  1. 283callsCodeunit 3905 Reten. Pol. Allowed Tables IsAllowedTable
  2. 284callsCodeunit 3908 Retention Policy Log LogError
  3. 284callsLogCategory
  4. 285callsCodeunit 3906 Reten. Pol. Allowed Tbl. Impl. GetTableFilters

InsertDefaultTableFiltersOnAfterInsertRetenPolSetup line 290

  1. 311callsCodeunit 3906 Reten. Pol. Allowed Tbl. Impl. GetTableFilters
  2. 316validatesTable 3902 Retention Policy Setup Line Table ID
  3. 323callsCodeunit 3906 Reten. Pol. Allowed Tbl. Impl. ParseTableFilter
  4. 325callsCodeunit 3908 Retention Policy Log LogWarning
  5. 325callsLogCategory
  6. 327validatesTable 3902 Retention Policy Setup Line Table ID
  7. 328validatesTable 3902 Retention Policy Setup Line Retention Period
  8. 328callsFindOrCreateRetentionPeriod
  9. 329validatesTable 3902 Retention Policy Setup Line Date Field No.
  10. 330validatesTable 3902 Retention Policy Setup Line Locked
  11. 331callsTable 3902 Retention Policy Setup Line IsLocked
  12. 332validatesTable 3902 Retention Policy Setup Line Enabled
  13. 334validatesTable 3902 Retention Policy Setup Line Enabled
  14. 337callsTable 3902 Retention Policy Setup Line GetTableFilterText
  15. 338writesTable 3902 Retention Policy Setup Line Insert(true)

FindOrCreateRetentionPeriod line 356

  1. 369callsCreateUniqueRetentionPeriodCode
  2. 373validatesTable 3900 Retention Period Retention Period
  3. 375validatesTable 3900 Retention Period Ret. Period Calculation
  4. 376writesTable 3900 Retention Period Insert(true)

DeleteRetentionPolicySetup line 393

  1. 402callsCodeunit 3903 Retention Policy Setup Impl. AddTableIdToDeleteAllowedList
  2. 403writesTable 3902 Retention Policy Setup Line DeleteAll(true)

NotifyOnMissingReadPermission line 414

  1. 421callsCodeunit 3905 Reten. Pol. Allowed Tables GetRetenPolFiltering

CheckRecordLockedOnRetentionPolicySetupLine line 451

  1. 459callsTable 3902 Retention Policy Setup Line IsLocked
  2. 461raisesOnVerifyDeleteAllowed
  3. 463callsCodeunit 3908 Retention Policy Log LogInfo
  4. 463callsLogCategory
  5. 466callsCodeunit 3908 Retention Policy Log LogError
  6. 466callsLogCategory