Calculated Fields

Calculated field is an output dictionary field configured to generate its value by performing calculations on multiple input and other output fields. 

Calculated fields are implemented using VBScript as a single expression returning a value. This expression can contain any standard VBscript functions as well as the built-in Target objects and functions.  

To set up a calculated field:

While constructing a calculating expression, you can drag/drop input and/or output fields from the corresponding dictionary into the calculating expression pane. You also can type a Target object's name, put a dot next to it to see the hint list with available sub-objects and functions. In the example above the calculating expression uses the Mid function from the string library (strlib) of the trg (short for Target) object (see its hint list below) to extract the numeric part of the D1.P4 ("Case Number") input field. The first parameter of the function is the P4 input field of the D1 template and the other two are the regular expressions for the first and second tags. 

If instead of one line expression you would like to employ a full power of scripting programming, you can use the "Create Script Conversion" command (see below) to generate the initial script expression in the Scripting Editor.