Codeunit 4691 Recurrence Schedule Impl.

System Application, System.DateTime

Source AL, 408 lines

src/System Application/App/Recurrence Schedule/src/RecurrenceScheduleImpl.Codeunit.allines 10 to 25 of 408, Copyright (c) Microsoft Corporation. MIT

codeunit 4691 "Recurrence Schedule Impl."{    Access = Internal;    InherentEntitlements = X;    InherentPermissions = X;    Permissions = tabledata Date = r,                  tabledata "Recurrence Schedule" = rim;    var        MinDateTime: DateTime;        MinDateTimeSet: Boolean;        RecurrenceDisplayTxt: Label 'Recurring %1 starting %2', Comment = '%1 = it recurrence pattern like Daily, Weekly, Monthly..., %2 = The date the recurrence starts';        RecurrenceMaximumCalculateLimitTxt: Label 'Exceeded maximum calculation limit for recurrence. Change start date to be today.';    procedure SetMinDateTime(DateTime: DateTime)    begin

All 408 lines

Public procedures 10 in 29

SetMinDateTime(DateTime: DateTime)17-29
CalculateNextOccurrence(RecurrenceID: Guid; LastOccurrence: DateTime): DateTime17-29
CreateDaily(StartTime: Time; StartDate: Date; EndDate: Date; DaysBetween: Integer): Guid17-29
CreateWeekly(StartTime: Time; StartDate: Date; EndDate: Date; WeeksBetween: Integer; Monday: Boolean; Tuesday: Boolean; Wednesday: Boolean; Thursday: Boolean; Friday: Boolean; Saturday: Boolean; Sunday: Boolean): Guid17-29
CreateMonthlyByDay(StartTime: Time; StartDate: Date; EndDate: Date; MonthsBetween: Integer; DayOfMonth: Integer): Guid17-29
CreateMonthlyByDayOfWeek(StartTime: Time; StartDate: Date; EndDate: Date; MonthsBetween: Integer; InWeek: Enum "Recurrence - Ordinal No."; DayOfWeek: Enum "Recurrence - Day of Week"): Guid17-29

All 10 procedures