Codeunit 138709 Retention Policy Test Library

System Application Test Library, System.TestLibraries.DataAdministration

Source AL, 173 lines

src/System Application/Test Library/Retention Policy/src/RetentionPolicyTestLibrary.Codeunit.allines 10 to 25 of 173, Copyright (c) Microsoft Corporation. MIT

codeunit 138709 "Retention Policy Test Library"{    EventSubscriberInstance = Manual;    Permissions = tabledata "Retention Policy Log Entry" = r;    var        RecordLimitExceededSubscriberCount: Integer;    /// <summary>    /// Returns how many times the subscriber to the OnApplyRetentionPolicyRecordLimitExceeded event was raised.    /// </summary>    /// <returns>Returns how many times the subscriber to the OnApplyRetentionPolicyRecordLimitExceeded event was raised.</returns>    procedure GetRecordLimitExceededSubscriberCount(): Integer    begin        exit(RecordLimitExceededSubscriberCount);    end;

All 173 lines

Public procedures 13 in 29

GetRecordLimitExceededSubscriberCount(): Integernew in 24
MaxNumberOfRecordsToDelete(): Integernew in 25
MaxNumberOfRecordsToDeleteBuffer(): Integernew in 25
RetentionPolicyLogEntryTableId(): Integernew in 25
RetentionPolicyLogEntrySystemCreatedAtFieldNo(): Integernew in 25
GetRetentionPolicyLogEntry(EntryNo: Integer): Dictionarynew in 25

All 14 procedures in 24-29

Changes 1 in 28

List17181920212223242526272829
Procedures1031
SetTruncateAllowed(TableId: Integer; TruncateAllowed: Boolean)new in 28
added

All 14 changes in 24-29