Context Object Parameters
Parameter Name | Type | Read/Write | Comments |
---|
ThisObject | Conductor or ElecRoute |
Read | - |
Sample
The following sample illustrates how to validate the route of a conductor.
Let ValidationSts(RouteValidationStatus)
Set ValidationSts = ThisObject.Elec_ValidationStatus
if (ValidationSts == NULL) Notify("Is Null")
if(ValidationSts == "Fully_Validated")
{
Notify("Route Modification NOT allowed")
Validation = false
Parameters.Severity = 2
Parameters.Message = "Route edition of this conductor is NOT allowed"
}
else
{
Notify("Route Modification allowed")
Validation = true
Parameters.Severity = 0
}