sourcedata

Defines the source of additional data to be added to input. By including a Source Dataentity in the input, additional data from the source is automatically extractedand included in the input. This extraction and insertion of data occurs automatically during an initial load of scheduling data. This process is used to load data held inother systems or from an external database by calling a database procedure.The Schedule Input Manager writes the merged input to Input History and the Scheduling Database asnormal.

Syntax:

[ DynamicComponentDependency ] sourcedata SourceDataName {
[ TimeSpanUOM ] [ TimeZoneOverride ] [ ChangeDetection ] [ CustomChangeHandler ] #SqlDml.QueryBlock ;
}

Mandatory columns

Column Name Data Type Description Default Value
source_data_type_id String(32) Defines a unique identifier for the Source data type.

Optional columns

Column Name Data Type Description Default Value
sequence Number A uniquifier to allow multiple source datas of the same type to be specified. 1
source_dataset_id String(32) Specifies the dataset to be used for the source data.
source_db String(100) Specifies the provider name to be used for the database connection.


            sourcedata SourceData {{SelectName}} {
               SELECT
                     ..                  source_data_type_id,
                  -- optional columns
                     ..                  sequence,
                     ..                  source_dataset_id,
                     ..                  source_db
               FROM {{sourceTableName}}
               WHERE ...;
            }

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

SourceDataName

Syntax:

<Identifier>


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