locationtype

Location types are used to associate availabilities with a type of location.This is used to reduce the amount of availabilities to be loaded for each location, rather they can be loaded against the location type. Location types do not have to be used. Where the location has a location type with availabilities and the location has availabilities then the location availabilities take precedence.

Syntax:

[ DynamicComponentDependency ] locationtype LocationTypeName {
[ TimeSpanUOM ] [ TimeZoneOverride ] [ ChangeDetection ] [ CustomChangeHandler ] #SqlDml.QueryBlock ;
}

Mandatory columns

Column Name Data Type Description Default Value
id String(32) Defines the unique id of the location type.

Optional columns

Column Name Data Type Description Default Value
addtime Number (minutes by default) Defines the amount of time to be added to the travel of an activity at the location with this location type.
description String(2000) Provides name and description of the location type.
duration_overhead Number (minutes by default) Specifies the amount of time to be added to the expected duration of the first activity at a location or locality.
lack_of_coverage Number (0 = False, 1 = True) If provided, the Time Horizon parameter or Resource. maximum_ committed_ activities are overridden when considering commits for activities at a location marked 'lack of coverage'.


            locationtype LocationType {{SelectName}} {
               SELECT
                     ..                  id,
                  -- optional columns
                     ..                  addtime,
                     ..                  description,
                     ..                  duration_overhead,
                     ..                  lack_of_coverage
               FROM {{sourceTableName}}
               WHERE ...;
            }

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

LocationTypeName

Syntax:

<Identifier>


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