customexception

This defines a custom exceptions to be used in the Scheduling Workbench.

Syntax:

[ DynamicComponentDependency ] customexception CustomExceptionName {
[ TimeSpanUOM ] [ TimeZoneOverride ] [ ChangeDetection ] [ CustomChangeHandler ] #SqlDml.QueryBlock ;
}

Mandatory columns

Column Name Data Type Description Default Value
id String(32) Defines the unique id for the custom exception.
schedule_exception_type_id Number Defines the unique id for the exception type of this custom exception.

Optional columns

Column Name Data Type Description Default Value
activity_id String(32) Provides the id of the activity that this exception relates to.
resource_id String(32) Provides the id of the resource that this exception relates to.
visit_id Number Provides the id of the visit that this exception relates to.


            customexception CustomException {{SelectName}} {
               SELECT
                     ..                  id,
                     ..                  schedule_exception_type_id,
                  -- optional columns
                     ..                  activity_id,
                     ..                  resource_id,
                     ..                  visit_id
               FROM {{sourceTableName}}
               WHERE ...;
            }

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

CustomExceptionName

Syntax:

<Identifier>


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