visitpart

This specifies which parts have been used on particular visits. It should only beused for visits with status id committed or greater (=>30). Where the resource has gained parts, the quantity shown should be negative. If a Visit_Part is not specified, the DSE will assume thatthe visit will use (or has used) the exact number of parts that were required. If no Visit_Part is specified for a depot activity, the DSE will assume that it can choose which parts are required for statuses less than completed. For completed visits to a depot it will assume that no parts were gained unless a Visit_Part is specified.

Syntax:

[ DynamicComponentDependency ] visitpart VisitPartName {
[ TimeSpanUOM ] [ TimeZoneOverride ] [ ChangeDetection ] [ CustomChangeHandler ] #SqlDml.QueryBlock ;
}

Mandatory columns

Column Name Data Type Description Default Value
activity_id String(32) Specifies the unique id of the activity.
part_id String(32) Specifies the unique id of the resource.
visit_id Number Specifies the unique id of the visit.
part_usage Number Specifies the number of parts consumed.


            visitpart VisitPart {{SelectName}} {
               SELECT
                     ..                  activity_id,
                     ..                  part_id,
                     ..                  visit_id,
                     ..                  part_usage
               FROM {{sourceTableName}}
               WHERE ...;
            }

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

VisitPartName

Syntax:

<Identifier>


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