shiftbreak

Shift breaks (also referred to as implicit breaks) provide an alternate way of defining breaks. Instead of creating activities of class 'BREAK', shift breaks can be used. Each shift break defines a single break, assigned to a shift, with a window in which the break may begin.

Syntax:

[ DynamicComponentDependency ] shiftbreak ShiftBreakName {
[ TimeSpanUOM ] [ TimeZoneOverride ] [ ChangeDetection ] [ CustomChangeHandler ] #SqlDml.QueryBlock ;
}

Mandatory columns

Column Name Data Type Description Default Value
id String(32) Defines a unique id for the Shift Break.
duration Number (minutes by default) Defines the duration of the break.
earliest_start_offset Number (minutes by default) The earliest offset from the start of the shift at which the break may start.
latest_start_offset Number (minutes by default) The latest offset from the start of the shift at which the break may start.
shift_id String(32) Defines the shift id of the route this break belongs to.


            shiftbreak ShiftBreak {{SelectName}} {
               SELECT
                     ..                  id,
                     ..                  duration,
                     ..                  earliest_start_offset,
                     ..                  latest_start_offset,
                     ..                  shift_id
               FROM {{sourceTableName}}
               WHERE ...;
            }

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

ShiftBreakName

Syntax:

<Identifier>


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