ruleresource

Rule_Resource is now deprecated: please use Rule and Rule_Parameter instead.

Syntax:

[ DynamicComponentDependency ] ruleresource RuleResourceName {
[ TimeSpanUOM ] [ TimeZoneOverride ] [ ChangeDetection ] [ CustomChangeHandler ] #SqlDml.QueryBlock ;
}

Mandatory columns

Column Name Data Type Description Default Value
application_type_id String(32) Specifies the id of the Application type the rule is used by.
rule_id String(32) Specifies the id of the Rule.
rule_value String(100) Specifies the value to apply for this resource.

Optional columns

Column Name Data Type Description Default Value
resource_id String(32) Specifies the resource to which the rule must apply.
resource_type_id String(32) Defines the resource_type to which the rule must apply.


            ruleresource RuleResource {{SelectName}} {
               SELECT
                     ..                  application_type_id,
                     ..                  rule_id,
                     ..                  rule_value,
                  -- optional columns
                     ..                  resource_id,
                     ..                  resource_type_id
               FROM {{sourceTableName}}
               WHERE ...;
            }

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

RuleResourceName

Syntax:

<Identifier>


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