Source AL, 67 lines
src/System Application/App/Retention Policy/src/Retention Period/RetentionPeriodCustomImpl.Codeunit.allines 8 to 23 of 67, Copyright (c) Microsoft Corporation. MIT
codeunit 3901 "Retention Period Custom Impl." implements "Retention Period"{ Access = Internal; InherentEntitlements = X; InherentPermissions = X; var WrongInterfaceImplementationErr: Label 'This implementation of the interface does not support the enum value selected. Contact your Microsoft partner for assistance. The following information can help them address the issue: Value: %1, Interface: Interface Retention Period, Implementation: codeunit 3901 Retention Period Custom Impl.', Comment = '%1 = a value such as 1 Week, 1 Month, 3 Months, or Custom.'; local procedure RetentionPeriodDateFormula(RetentionPeriod: Enum "Retention Period Enum"): Text; var RetentionPolicyLog: Codeunit "Retention Policy Log"; begin if RetentionPeriod <> RetentionPeriod::Custom then RetentionPolicyLog.LogError(LogCategory(), StrSubstNo(WrongInterfaceImplementationErr, RetentionPeriod));
All 67 lines
Public procedures 5 in 29
Changes 5 in 18
| List | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |
|---|
| Procedures | | 5 | | | | | | | | | | | |
|---|
| RetentionPeriodDateFormula(RetentionPeriod: Record "Retention Period"): Text | 17-29changed in 18 |
| changed, was RetentionPeriodDateFormula(RetentionPolicy: Record "Retention Period"): Text |
| RetentionPeriodDateFormula(RetentionPeriod: Record "Retention Period"; Translated: Boolean): Text | 17-29changed in 18 |
| changed, was RetentionPeriodDateFormula(RetentionPolicy: Record "Retention Period"; Translated: Boolean): Text |
| CalculateExpirationDate(RetentionPeriod: Record "Retention Period"): Date | 17-29changed in 18 |
| changed, was CalculateExpirationDate(RetentionPolicy: Record "Retention Period"): Date |
| CalculateExpirationDate(RetentionPeriod: Record "Retention Period"; UseDate: Date): Date | 17-29changed in 18 |
| changed, was CalculateExpirationDate(RetentionPolicy: Record "Retention Period"; UseDate: Date): Date |
| CalculateExpirationDate(RetentionPeriod: Record "Retention Period"; UseDateTime: DateTime): DateTime | 17-29changed in 18 |
| changed, was CalculateExpirationDate(RetentionPolicy: Record "Retention Period"; UseDateTime: DateTime): DateTime |
All 5 changes in 17-29