Interface Documents - Retention Period

Base Application, Microsoft.Finance.GeneralLedger.Setup

Source AL, 46 lines

src/Layers/W1/BaseApp/Finance/GeneralLedger/Setup/DocumentsRetentionPeriod.Interface.allines 16 to 31 of 46, Copyright (c) Microsoft Corporation. MIT

interface "Documents - Retention Period"{    ///    /// The following methods are to verify whether posted document can be deleted from country law perspective.    ///    /// <summary>    /// Returns the date - Documents with a Posting Date after this date cannot be deleted.    /// </summary>    /// <returns>Law enforced date after which is not possible to delete posted documents.</returns>    procedure GetDeletionBlockedAfterDate(): Date    /// <summary>    /// Returns the date - Documents with a Posting Date before this date cannot be deleted.    /// </summary>    /// <returns>Law enforced date which prevents deletion of documents posted prior to that date.</returns>

All 46 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

Implemented by 2

codeunit 800 "Default Retention Period Def."Base Applicationnew in 24
enum 800 "Docs - Retention Period Def."Base Applicationnew in 24