Scripting copy methods
A Copy Method is a Visual Basic .NET script that adds, removes, or checks properties of a new or copied object. A property is any attribute or characteristic of the object, such as:
- parameters
- context information
- status information
- security
- set classification
- field information
- custom information
Use Copy Methods to change these properties during an object creation event.
When users create a new object, they are copying properties from the default record.
See Default records are the basis for new objects.
When they are copying objects, they are copying properties from both the original object and the default record.
See An object instance is the basis for a copied object.
You may not want the properties of a new object to follow this path. For example, Formula X has a boiling point of 3 degrees Celsius, which was measured by a formulator who entered the value into Optiva. If the formulator copies the formula by selecting , the boiling point is copied into the new formula.
If the new formula is altered, the boiling point can change. To ensure that the boiling point of the new formula is measured and specified, you create a Copy Method. The Copy Method clears the boiling point parameter and invokes an alert message to the formulator.