Copy Calendar Working Hours (tcccp0222m000)
Use this session to copy calendar data from one calendar to another calendar, or to copy a specific set of selected calendar data from one calendar to another calendar.
You cannot copy derived-from calendar data from the source calendar to the target calendar. Derived-from calendar data are the lines in the Calendar Working Hours (tcccp0120m000) session that have the Derived From field filled, which includes the following calendar data:
- Calendar working hours of the parent calendar of the source calendar.
- Working hours from the source calendar exceptions specified in the Calendar Exceptions (tcccp0144m000) session.
- Working hours of the workweek.
Field Information
- Copy Week Pattern
-
If this check box is selected, LN copies the calendar data of the days that you select.
If this check box is cleared, and you do not select any other check boxes in the Action group box, LN copies the calendar working hours of the specified time space from the source calendar to the target calendar.
Note:- In the Source group box, you can fine-tune the calendar data that you want to copy for the selected days from the source calendar to the target calendar.
- The week that you want to copy must be a real calendar week, starting with the first day as specified in the Companies (ttaad1100m000) session.
- Copy Calendar Availability Types
-
If this check box is selected, LN copies the availability types that you connected to the source calendar in the Calendar Availability Types (tcccp0150m000) session to the target calendar.
Note: To copy a specific range of availability types from the source calendar to the target calendar, use the From and To fields that correspond with the Availability Type field. - Copy Calendar Recurrences
-
If this check box is selected, LN copies the calendar recurrences of the source calendar and the working hours you specified for the calendar in the Calendar Exceptions (tcccp0144m000) session to the target calendar.
- Calendar Code
-
The code of the source calendar.
- Availability Type
-
Specifies the range of availability types that you want to copy from the source calendar to the target calendar.
- Working Hours Type
-
Specifies the range of working hours types that you want to copy from the source calendar to the target calendar.
- Shift Name
-
A generic name (EARLY, LATE).
Note:- If shifts are used, a shift name must be specified.
- A shift name is not coupled to a specific date.
- Multiple consecutive lines with the same shift name, are combined into one shift when generated in the Update Calendar Working Hours (tcccp0226m000) session.
- Date
-
Specifies the start and end date of the time period of which you want to copy calendar data from the source calendar to the target calendar.
Copying of calendar data is not limited to entire weeks. You can define shorter time spaces in the Date fields.
- Sunday
-
If this check box is selected, LN copies the selected calendar data for this day to the target calendar.
This check box is available only if you selected the Copy Week Pattern check box.
- Monday
-
If this check box is selected, LN copies the selected calendar data for this day to the target calendar.
This check box is only available if you selected the Copy Week Pattern check box.
- Tuesday
-
If this check box is selected, LN copies the selected calendar data for this day to the target calendar.
This check box is available only if you selected the Copy Week Pattern check box.
- Wednesday
-
If this check box is selected, LN copies the selected calendar data for this day to the target calendar.
This check box is available only if you selected the Copy Week Pattern check box.
- Thursday
-
If this check box is selected, LN copies the selected calendar data for this day to the target calendar.
This check box is available only if you selected the Copy Week Pattern check box.
- Friday
-
If this check box is selected, LN copies the selected calendar data for this day to the target calendar.
This check box is available only if you selected the Copy Week Pattern check box.
- Saturday
-
If this check box is selected, LN copies the selected calendar data for this day to the target calendar.
This check box is available only if you selected the Copy Week Pattern check box.
- Calendar Code
-
Specify the calendar ID to which LN must copy the selected calendar data.
- Overwrite
-
If this check box is selected, LN overwrites the data for the time space specified in the Date fields of the target calendar with the selected calendar data of the source calendar.
If this check box is cleared, LN copies the selected calendar data, but does not overwrite the existing calendar data in the target calendar. If needed, the copied records are allocated sequence numbers in the target calendar.
You cannot have records with overlapping time intervals. If the working hours in a source calendar record overlaps with the working hours in a target calendar record, LN does not copy the source record.