shifttype

This provides an optional definition to group shifts together by type. This can be used link activities with shifts of a type.

Syntax:

[ DynamicComponentDependency ] shifttype ShiftTypeName {
[ TimeSpanUOM ] [ TimeZoneOverride ] [ ChangeDetection ] [ CustomChangeHandler ] #SqlDml.QueryBlock ;
}

Mandatory columns

Column Name Data Type Description Default Value
id String(32) Specifies a unique shift identifier.

Optional columns

Column Name Data Type Description Default Value
duration Number (minutes by default) Defines the duration of shift 08:00:00
overtime_period Number (minutes by default) Defines the maximum number of hours overtime within the shift. 00:00:00
snap_time Number (minutes by default) Specifies the period of time before a shift starts where if a resource logs on within this time, the scheduler assumes that the resource is logging on to this shift. 03:00:00
split_allowed Number (0 = False, 1 = True) Indicates whether splittable activities are allowed to be split into this shift. True
colour String(9) Specifies the background colour of a shift in the gantt.
description String(2000) Provides a description of the type of shift.
early_end_leeway Number (minutes by default) The shift end time will be brought forward within the leeway
late_end_leeway Number (minutes by default) The shift end time will be advanced within the leeway.
split_priority Number Specifies the priority of this shift when considering whether to split an activity into it.


            shifttype ShiftType {{SelectName}} {
               SELECT
                     ..                  id,
                  -- optional columns
                     ..                  duration,
                     ..                  overtime_period,
                     ..                  snap_time,
                     ..                  split_allowed,
                     ..                  colour,
                     ..                  description,
                     ..                  early_end_leeway,
                     ..                  late_end_leeway,
                     ..                  split_priority
               FROM {{sourceTableName}}
               WHERE ...;
            }

Note:   All selected columns must have correct aliases that match a IFS Scheduling ShiftType.

ShiftTypeName

Syntax:

<Identifier>


This page is generated from IFS Developer Studio at 2021-08-13 08:49.