CopyEntityShiftSchedule Method (Ent)
- Last UpdatedNov 06, 2025
- 2 minute read
The CopyEntityShiftSchedule() method takes a list of entity IDs and a string containing ordered pairs of shifts and copies the shift schedule from the entity defined by this entity object into each entity in the entity list. The shift schedule is copied to a listed entity only if that entity can schedule shifts.
Only those shifts that are identified are copied from the shift ID list. If a shift ID list is not available, all shifts defined for the entity are copied.
Note: This method is no longer supported. Use the corresponding method in the Stateless API ShiftSchedule class.
'Declaration
<ObsoleteAttribute("Ent.CopyEntityShiftSchedule method is no longer supported. Please call the corresponding updated method.")>
Public Sub CopyEntityShiftSchedule( _
ByVal EntIDs As List(Of Integer), _
ByVal ShiftIDs As List(Of String) _
)
[Obsolete("Ent.CopyEntityShiftSchedule method is no longer supported. Please call the corresponding updated method.")]
public void CopyEntityShiftSchedule(
List<int> EntIDs,
List<string> ShiftIDs
)
Parameters
- EntIDs
Required. Holds a list of integers that identify the entities to which the shift schedule is to be copied.
- ShiftIDs
Required. Holds a string of ordered pairs identifying the shifts that are to be copied from the source entity to the shift schedule of all entities in the entity list. The ordered pair is in the form #:#, where the first integer identifies the start day and the second integer after the colon identifies the shift ID. To copy all shifts for a day, specify "#:" without a shift ID. To copy a shift for all days, specify ":#" without a start day.