rule

Defines a rule of a given type. Rules can either be commit rules related to the Schedule Dispatch Service, or productive time rules which relate to scheduling when Activity_Productive_Time is used.

Syntax:

[ DynamicComponentDependency ] rule RuleName {
[ TimeSpanUOM ] [ TimeZoneOverride ] [ ChangeDetection ] [ CustomChangeHandler ] #SqlDml.QueryBlock ;
}

Mandatory columns

Column Name Data Type Description Default Value
id String(32) Defines the unique id for the rule.
rule_type_id String(32) Specifies the id of the type of this rule.

Optional columns

Column Name Data Type Description Default Value
global Number (0 = False, 1 = True) Defines whether the rule applies to all resources in the schedule. False
description String(2000) Provides a description for this rule.
productivity_category_id String(32) Specifies the productive category that this rule relates to.


            rule Rule {{SelectName}} {
               SELECT
                     ..                  id,
                     ..                  rule_type_id,
                  -- optional columns
                     ..                  global,
                     ..                  description,
                     ..                  productivity_category_id
               FROM {{sourceTableName}}
               WHERE ...;
            }

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

RuleName

Syntax:

<Identifier>


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