transferrule

Transfer rules are used to define the rules for transferring one or more parts from a parent depot to a child depot, providing the cost of transfer and time when the part can be made available. This means a part could be transferred more quickly but at a higher cost.

Syntax:

[ DynamicComponentDependency ] transferrule TransferRuleName {
[ TimeSpanUOM ] [ TimeZoneOverride ] [ ChangeDetection ] [ CustomChangeHandler ] #SqlDml.QueryBlock ;
}

Mandatory columns

Column Name Data Type Description Default Value
transfer_rule_set_id String(32) Specifies a unique identifier for the rule set this rule belongs to.

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
unit_cost Double Defines the cost of transferring one part to the child depot. 0
earliest_available_time Date Defines the earliest time the part could be made available at the child depot.


            transferrule TransferRule {{SelectName}} {
               SELECT
                     ..                  transfer_rule_set_id,
                  -- optional columns
                     ..                  sequence,
                     ..                  unit_cost,
                     ..                  earliest_available_time
               FROM {{sourceTableName}}
               WHERE ...;
            }

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

TransferRuleName

Syntax:

<Identifier>


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