WrkCtrResourceGroupResource::splitAndChangeCalendar Method
Splits an existing WrkCtrResourceGroupResource record into two or three date intervals and changes the CalendarId field of the middle interval.
Syntax
client server public static void splitAndChangeCalendar(
WrkCtrResourceGroupResource _wrkCtrResourceGroupResource,
date _fromDate,
date _toDate,
CalendarId _calendarId)
Run On
Called
Parameters
- _wrkCtrResourceGroupResource
Type: WrkCtrResourceGroupResource Table
The WrkCtrResourceGroupResource record for which to 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 value of the CalendarId field to set for the interval.