Codeunit 4690 "Recurrence Schedule"
System Application · System.DateTime
Across versions
- BC23-30present
Neighbourhood 1 connected objects and pages
System Application · System.DateTime · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Access | Public |
Procedures
SetMinDateTime(DateTime: DateTime): Sets the earliest date to be returned from CalculateNextOccurrence. The default MinDateTime is today at the start time set in recurrence.CalculateNextOccurrence(RecurrenceID: Guid; LastOccurrence: DateTime): DateTime: Calculates the time and date for the next occurrence.CreateDaily(StartTime: Time; StartDate: Date; EndDate: Date; DaysBetween: Integer): Guid: Creates a daily recurrence.CreateWeekly(StartTime: Time; StartDate: Date; EndDate: Date; WeeksBetween: Integer; Monday: Boolean; Tuesday: Boolean; Wednesday: Boolean; Thursday: Boolean; Friday: Boolean; Saturday: Boolean; Sunday: Boolean): Guid: Creates a weekly recurrence.CreateMonthlyByDay(StartTime: Time; StartDate: Date; EndDate: Date; MonthsBetween: Integer; DayOfMonth: Integer): Guid: Creates a monthly recurrence by day.CreateMonthlyByDayOfWeek(StartTime: Time; StartDate: Date; EndDate: Date; MonthsBetween: Integer; InWeek: Enum "Recurrence - Ordinal No."; DayOfWeek: Enum "Recurrence - Day of Week"): Guid: Creates a monthly recurrence by the day of the week.CreateYearlyByDay(StartTime: Time; StartDate: Date; EndDate: Date; YearsBetween: Integer; DayOfMonth: Integer; Month: Enum "Recurrence - Month"): Guid: Creates a yearly recurrence by day.CreateYearlyByDayOfWeek(StartTime: Time; StartDate: Date; EndDate: Date; YearsBetween: Integer; InWeek: Enum "Recurrence - Ordinal No."; DayOfWeek: Enum "Recurrence - Day of Week"; Month: Enum "Recurrence - Month"): Guid: Creates a yearly recurrence by day of week of a given month.OpenRecurrenceSchedule(var RecurrenceID: Guid): Opens the card for the recurrence.RecurrenceDisplayText(RecurrenceID: Guid): Text: Returns a short text description of the recurrence.
Calls
From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.
- Codeunit 4691 “Recurrence Schedule Impl.” (10 calls:
CalculateNextOccurrence → CalculateNextOccurrence,CreateDaily → CreateDaily,CreateMonthlyByDay → CreateMonthlyByDay, …)
Ask your agent
Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "Recurrence Schedule"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.