Validation Rule for Engineering Notes Frozen Status (IST_IsFrozenInstruction)

An opening ID is an entry point used to customize business logic.

This page discusses:

General Information

This opening ID is invoked to validate whether a specific engineering note can be modified or not.

Definition Description
PLM Opening ID IST_IsFrozenInstruction
Customization intent N/A
Execution context Client

Input Objects

Input objects must be of the following types:

  • ThisObject: object on which the opening has been fired.
  • Parameters corresponds to the context object.
  • Validation: boolean indicating if the rule has been validated.

Context Object Parameters

Parameter Name Type Read or Write Comments
FactType Any EKL type — Type of ThisObject in the business rule body.

Sample

Let nameAsReal(Real)
Validation=True

nameAsReal = ThisObject.V_Name.ToReal()
Trace(1, "nameAsReal is ", nameAsReal)

if(nameAsReal>4) 
{
  Validation = False
  Parameters->SetAttributeString("Message", "cannot have V_Name  > 4")
}