General InformationThis opening ID is a precommit opening. For more information about the specificities of a precommit opening, see Precommit Openings.
Input Objects
Context Object Parameters
Sample
Trace(1, "Execution promote_script on ", ThisObject.PLM_ExternalID )
Trace(1, "Test macro STATENAME= ", Parameters.Macros.GetString("STATENAME"))
Trace(1, "Test macro NEXTSTATE= ", Parameters.Macros.GetString("NEXTSTATE"))
Trace(1, "ThisObject.current= ", ThisObject.current)
Validation = true
if (ThisObject.current <> Parameters.Macros.GetString("NEXTSTATE"))
{
ReportUXMessage("Wrong maturity state")
Validation = false
}
ThisObject.SetAttributeString("PLMEntity.V_description", "attribute modified by promote_script")
ThisObject.SetAttributeString("description", "basic modified by promote_script")
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||