Codeunit 800 Default Retention Period Def.

Base Application, Microsoft.Finance.GeneralLedger.Setup

Source AL, 49 lines

src/Layers/W1/BaseApp/Finance/GeneralLedger/Setup/DefaultRetentionPeriodDef.Codeunit.allines 11 to 26 of 49, Copyright (c) Microsoft Corporation. MIT

codeunit 800 "Default Retention Period Def." implements "Documents - Retention Period"{    /// <summary>    /// Gets the date after which document deletion is blocked by retention policy.    /// </summary>    /// <returns>A date value; 0D means no blocking after a specific date</returns>    procedure GetDeletionBlockedAfterDate(): Date    begin        exit(0D);    end;    /// <summary>    /// Gets the date before which document deletion is blocked by retention policy.    /// </summary>    /// <returns>A date value; 0D means no blocking before a specific date</returns>    procedure GetDeletionBlockedBeforeDate(): Date

All 49 lines

Public procedures 4 in 29

GetDeletionBlockedAfterDate(): Datenew in 24
GetDeletionBlockedBeforeDate(): Datenew in 24
IsDocumentDeletionAllowedByLaw(PostingDate: Date): Booleannew in 24
CheckDocumentDeletionAllowedByLaw(PostingDate: Date)new in 24