Source AL, 40 lines
src/System Application/App/Retention Policy/src/Retention Period/RetentionPeriod.Interface.allines 11 to 26 of 40, Copyright (c) Microsoft Corporation. MIT
interface "Retention Period"{ /// <summary>Returns the date formula for a given retention period.</summary> /// <param name="RetentionPeriod">The record that has the retention period for which you want the date formula.</param> /// <returns>The date formula as a string in a language-independent format.</returns> procedure RetentionPeriodDateFormula(RetentionPeriod: Record "Retention Period"): Text /// <summary>Returns the date formula for a given retention period.</summary> /// <param name="RetentionPeriod">The record that has the retention period for which you want the date formula.</param> /// <param name="Translated">Indicates whether to return the date formula in a language-independent format or in the current language format.</param> /// <returns>The date formula as a string.</returns> procedure RetentionPeriodDateFormula(RetentionPeriod: Record "Retention Period"; Translated: Boolean): Text /// <summary>Returns the expiration date for a given retention period.</summary> /// <param name="RetentionPeriod">The record that has the retention period for which you want the expiration date. By default, the current date is used.</param> /// <returns>The expiration date.</returns>
All 40 lines
Public procedures 5 in 29
Implemented by 3