Codeunit 3902 Retention Policy Setup

System Application, System.DataAdministration

Source AL, 217 lines

src/System Application/App/Retention Policy/src/Retention Policy Setup/RetentionPolicySetup.Codeunit.allines 12 to 27 of 217, Copyright (c) Microsoft Corporation. MIT

codeunit 3902 "Retention Policy Setup"{    Access = Public;    var        RetenPolSetupRenameErr: Label 'You cannot rename retention policy setup records. Table ID %1. Renamed to %2.', Comment = '%1, %2 = table number';        RetenPolSetupLineRenameErr: Label 'You cannot rename retention policy setup line records. Table ID %1. Renamed to %2.', Comment = '%1, %2 = table number';    /// <summary>    /// Use this procedure to open a Filter Page Builder page and store the resulting filter in view format on the retention policy setup line.    /// </summary>    /// <param name="RetentionPolicySetupLine">The record where the filter is stored.</param>    /// <returns>The filter in Text format.</returns>    procedure SetTableFilterView(var RetentionPolicySetupLine: Record "Retention Policy Setup Line"): Text[2048]    var        RetentionPolicySetupImpl: Codeunit "Retention Policy Setup Impl.";

All 217 lines

Public procedures 10 in 29

SetTableFilterView(var RetentionPolicySetupLine: Record "Retention Policy Setup Line"): Text[2048]17-29
GetTableFilterView(RetentionPolicySetupLine: Record "Retention Policy Setup Line"): Text17-29
GetTableFilterText(RetentionPolicySetupLine: Record "Retention Policy Setup Line"): Text[2048]17-29
TableIdLookup(TableId: Integer): Integer17-29
DateFieldNoLookup(TableId: Integer; FieldNo: Integer): Integer17-29
IsRetentionPolicyEnabled(): Boolean17-29

All 10 procedures

Changes 1 in 25

List17181920212223242526272829
Procedures21
FindOrCreateRetentionPeriod(RetentionPeriodCode: Code[20]; RetentionPeriodEnum: Enum "Retention Period Enum"; RetPeriodCalc: DateFormula): Code[20]new in 25
added

All 3 changes in 17-29