Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
Status: New
Two-week work cycle for UltraWinSchedule Owner

Modify the owner DayOfTheWeek setting where the owners active hours can be set within the appointment book to be a two-week cycle instead of a one week cycle (would need to have A Week - Sunday - Saturday and B Week Sunday - Saturday).

This is ONLY to set the work day start time and end time for the owner, but should have no impact on appointments, as recurrences would continue to operate as they currently do.

This would enable the owner to work on a two week cycle, so for example, if the owner were to take every other Friday off, the user would not have to change work hours for every other Friday as exceptions.

CURRENTLY: So, for example, to set the work hours for Friday, I would do something like the following:

ownEmployee = the owner I'm working with
myEployeeWorkDay = local object created to hold employee work information

DayOfWeekSettings FridaySettings = ownEmployee.DayOfWeekSettings[System.DayOfWeek.Friday];
FridaySettings.WorkDayStartTime = myEmployeeWorkDay.FridayStartTime;
FridaySettings.WorkDayEndTime = myEmployeeWorkDay.FridayEndTime;
FridaySettings.IsWorkDay = myEmployeeWorkDay.FridayAvailable;

However, what I am asking, is that every other Friday, the work day settings are different.  So, Infragistics would have to add something to their DayOfWeekSettings control that allows for an A week and a B week that are boolean objects that tell the calendar if this setting is for A week or B week...like this:

FridaySettings.AWeek = true
FridaySettings.BWeek = false

and I would in turn have to add something like the following

DayOfWeekSettings FridaySettings = ownEmployee.DayOfWeekSettings[System.DayOfWeek.Friday];
FridaySettings.WorkDayStartTime = myEmployeeWorkDay.AWeekFridayStartTime;
FridaySettings.WorkDayEndTime = myEmployeeWorkDay.AWeekFridayEndTime;
FridaySettings.IsWorkDay = myEmployeeWorkDay.AWeekFridayAvailable;
FridaySettings.AWeek = myEmployeeWorkDay.AWeek;
FridaySettings.BWeek = myEmployeeWorkDay.BWeek;

DayOfWeekSettings FridaySettings = ownEmployee.DayOfWeekSettings[System.DayOfWeek.Friday];
FridaySettings.WorkDayStartTime = myEmployeeWorkDay.BWeekFridayStartTime;
FridaySettings.WorkDayEndTime = myEmployeeWorkDay.BWeekFridayEndTime;
FridaySettings.IsWorkDay = myEmployeeWorkDay.BWeekFridayAvailable;
FridaySettings.AWeek = myEmployeeWorkDay.AWeek;
FridaySettings.BWeek = myEmployeeWorkDay.BWeek;

Infragistics would also have to add something to the ultraCalendarInfo that would determine if the calendar would run on a one week cycle or a two week cycle, thus allowing for the week A and week B, with what I would assume, week A would be the first full week in January, and the two week cycle would alternate between A and B for the 52 weeks of the year.  Infragistics would also have to read and interpret the settings for the day view, week view, and month view controls.