Summary of functions
Script Function | Object/Notes |
---|---|
presave() : Before the standard save, after security check has been passed. The result determines whether the save continues or aborts.
|
Any objects that can be edited in the Symbol form. |
prerowupdate() : Before ingredient or parameter row update.
The detail code must be before the function. For example |
Formula
Item Project Specification |
prereplace() : Before the replacement of an ingredient.
|
Ingredient Replace |
TPPreRowUpdate , TPPostRowUpdate |
Specification |
TPAllPreRowUpdate , TPAllPostRowUpdate |
Formula, Item, Project |
|
Formula |
PreSearch , PreSearchExecute , PostSearch |
See Search <Object> forms in the Web Client. |
ObjProperty and ObjPropertySet |
Single value |
GetCurrentRowValue |
Gives you access to some fields that ObjProperty and ObjPropertySet cannot. |
prerescale() : Before the formula ingredients, byproducts or alternate ingredients are re-scaled.
|
Formula |
calcprecalc() : Before calculations. Can abort the calculation.
|
Formula
Project Item |
importXmlPreSave() : When you add this function to the script of a symbol, it will be called when importing an object before the object is saved.
This is an example of updating a newly imported formula with a status of 90 with the
|
Any objects that can be edited in the Symbol form. |
PreGenerate() : Before the Generate event starts. The result determines whether the event continues or aborts.
|
Label |