Codeunit 3903 Retention Policy Setup Impl.

System Application, System.DataAdministration

Source AL, 469 lines

src/System Application/App/Retention Policy/src/Retention Policy Setup/RetentionPolicySetupImpl.Codeunit.allines 10 to 25 of 469, Copyright (c) Microsoft Corporation. MIT

codeunit 3903 "Retention Policy Setup Impl."{    Access = Internal;    InherentEntitlements = X;    InherentPermissions = X;    EventSubscriberInstance = Manual;    Permissions = tabledata AllObj = r,                  tabledata AllObjWithCaption = r,                  tabledata Field = r,                  tabledata "Retention Period" = ri,                  tabledata "Retention Policy Setup Line" = ri;    var        RetentionPeriodUsedErr: Label 'You cannot delete the retention period %1 because one or more retention policies are using it.', Comment = '%1 = a retention period code';        RetentionPeriodLockedErr: Label 'You cannot modify the retention period %1 because one or more mandatory retention policies are using it.', Comment = '%1 = a retention period code';        TableNotAllowedErrorLbl: Label 'Table %1 %2 is not in the list of allowed tables.', Comment = '%1 = table number, %2 = table name';

All 469 lines

Events 1 in 29

[InternalEvent] OnVerifyDeleteAllowed(TableId: Integer; var DeleteAllowed: Boolean)17-29

Public procedures 22 in 29

SetTableFilterView(var RetentionPolicySetupLine: Record "Retention Policy Setup Line"): Text17-29
GetTableFilterView(RetentionPolicySetupLine: Record "Retention Policy Setup Line"): Text17-29
GetTableFilterText(RetentionPolicySetupLine: Record "Retention Policy Setup Line"): Text17-29
TableIdLookup(TableId: Integer): Integer17-29
TableExists(TableId: Integer): Boolean17-29
DateFieldNoLookup(TableId: Integer; FieldNo: Integer): Integer17-29

All 24 procedures in 17-29

Changes 1 in 29

List17181920212223242526272829
Procedures2211
AddRetentionPolicyOnRegisterManualSetup(GuidedExperience: Codeunit "Guided Experience")18 to 28
gone

All 6 changes in 17-29