Variables in equations
You can use these global variables in equations. The syntax is:
Context.<variable>
Equations Global Variable | Data Type | Description |
---|---|---|
_baseValue
|
Double | The amount of the parameter in a formula. The unit of measure (UOM Extend/Per UOM) is displayed according to the parameter definition. |
_CALCOBJECTKEY
|
String | The main usage of the _CALCOBJECTKEY
and _CALCOBJECTSYMBOL variables is to perform
object-specific alternate unit of measure equation conversions. These two variables generally have the same value as |
context.ReturnValue
|
String | For item calculated equations, use the
variable context.ReturnValue . This variable defines what is specified for the parameter. A return code of 1 completes the equation. For example, the equation 2+2 looks like this:
See Example of error for Context.ReturnValue with Option Strict On. |
|
String |
The object key and the symbol of the object that is being calculated. Or, the parameter code of the parameter for which the alternate unit of measure is calculated. For example, FS-0001\0001 is an object key for
|