TimeConstraintsContext#
Description#
Used to resolve the Time Constraints.
Fields#
The TimeConstraintsContext table has the following fields:
| Field | Description | Key | Mandatory | Comments |
|---|---|---|---|---|
| FromStep | From Step Reference | Yes | Yes | must have the property Enable Time Constraints set to true |
| FromLogicalFlowPath | The Logical Flow Path | Yes | No | |
| FromOperation | From Operation | Yes | Yes | |
| FromFlow | From Flow Name | Yes | No | Applies to the immediate parent Flow of the Step where the Material is currently, and not to the Top-Level Flow |
| Product | Product Reference | Yes | No | |
| ProductGroup | Product Group Reference | Yes | No | |
| Manufacturer | Material Manufacturer Reference | Yes | No | |
| Material | Material Reference | Yes | No | |
| MaterialType | Material Type | Yes | No | |
| ToStep | To Step Reference | No | Yes | must have the property Enable Time Constraints set to true |
| ToOperation | To Operation | No | Yes | |
| ToFlow | To Flow Reference | No | No | |
| Type | Type of Constraint | No | Yes | the type of the Time Constraint (Minimum/Maximum) |
| MultiplicationFactor | How the time constraint is calculated | No | Yes | |
| TimeLimit | Time limit in hours | No | Yes | |
| TimeLimitRule | Time limit rule | No | No | a Rule of TimeConstraint scope to be fired when the time limit is reached the system Rule FireTimeConstraintEvents is not applicable with this field |
| WarningTime | Warning time in hours | No | No | warning time in hours |
| WarningRule | Warning time rule | No | No | a Rule of TimeConstraint scope to be fired when the warning limit is reached the system Rule FireTimeConstraintEvents is not applicable with this field |
| RemoveOnPass | Whether the time constraint will be terminated once the Material successfully passes the checkpoint (to prevent unnecessary warnings and errors) | No | Yes | |
| Description | A description of the time constraint | No | No |
Table: TimeConstraintsContext fields
A multiplication factor to apply to the time limit and warning time. Possible values for Multiplication Factor are:
- None (default) - no multiplication factor is applied
- PrimaryQuantity - the time limit is multiplied by the Material Primary Quantity (including the Quantity of the SubMaterials)
- SecondaryQuantity - the time limit is multiplied by the Material Secondary Quantity (including the Quantity of the SubMaterials)
Info
If during runtime the multiplication result is zero, the time constraint is ignored. If the multiplication factor is SecondaryQuantity and during runtime the Material has no Secondary Quantity defined, the system will return an error.
Precedence Keys#
The search precedence rules are the following:
- FromStep, FromOperation, FromLogicalFlowPath, Material
- FromStep, FromOperation, FromFlow, Material
- FromStep, FromOperation, Material
- FromStep, FromOperation, FromLogicalFlowPath, Product
- FromStep, FromOperation, FromFlow, Product
- FromStep, FromOperation, FromLogicalFlowPath, ProductGroup
- FromStep, FromOperation, FromFlow, ProductGroup
- FromStep, FromOperation, FromLogicalFlowPath, MaterialType
- FromStep, FromOperation, FromFlow, MaterialType
- FromStep, FromOperation, FromLogicalFlowPath
- FromStep, FromOperation, FromFlow
- FromStep, FromOperation, Product, Manufacturer
- FromStep, FromOperation, Product, MaterialType
- FromStep, FromOperation, Product
- FromStep, FromOperation, ProductGroup, Manufacturer
- FromStep, FromOperation, ProductGroup, MaterialType
- FromStep, FromOperation, ProductGroup
- FromStep, FromOperation, MaterialType
- FromStep, FromOperation