usagemodelitem

Sets usage limits for the specified class of usage within a usage model.

Syntax:

[ DynamicComponentDependency ] usagemodelitem UsageModelItemName {
[ TimeSpanUOM ] [ TimeZoneOverride ] [ ChangeDetection ] [ CustomChangeHandler ] #SqlDml.QueryBlock ;
}

Mandatory columns

Column Name Data Type Description Default Value
usage_class_id String(32) The identifier for the class of usage.
usage_model_id String(32) The identifier for the usage model this relates to.
maximum_usage Double The maximum usage allowed for this class of usage.

Optional columns

Column Name Data Type Description Default Value
leeway_always_applies Number (0 = False, 1 = True) Determines whether the leeway still applies if the operation is carried out before the leeway window. True
leeway_usage Double Defines a 'fixed interval' window during which the operation can be performed and the next required time will not be brought forward. 0


            usagemodelitem UsageModelItem {{SelectName}} {
               SELECT
                     ..                  usage_class_id,
                     ..                  usage_model_id,
                     ..                  maximum_usage,
                  -- optional columns
                     ..                  leeway_always_applies,
                     ..                  leeway_usage
               FROM {{sourceTableName}}
               WHERE ...;
            }

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

UsageModelItemName

Syntax:

<Identifier>


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