WrkCtrResourceGroupCalendar::splitAndChangeCalendar Method
Splits an existing WrkCtrResourceGroupCalendar record into two or three date intervals and changes the CalendarId value on the middle interval.
Syntax
client server public static void splitAndChangeCalendar(
WrkCtrResourceGroupCalendar _wrkCtrResourceGroupCalendar,
date _fromDate,
date _toDate,
CalendarId _calendarId)
Run On
Called
Parameters
- _wrkCtrResourceGroupCalendar
Type: WrkCtrResourceGroupCalendar Table
The WrkCtrResourceGroupCalendar record for which change the calendar.
- _fromDate
Type: date
The inclusive start date of the interval.
- _toDate
Type: date
The inclusive end date of the interval.
- _calendarId
Type: CalendarId Extended Data Type
The CalendarId value to set for the interval.