IDENTIFIER MathVariable Type
The IDENTIFIER math variable type provides the same functionality as a Field element with an Identifier datatype. It generates a unique value by combining values derived from other fields together with a sequence number. The IDENTIFIER math variable type can appear in <Math> and <ScreenMath> configurations.
Element/Tag | Definition | Attribute | Element / Attribute Value and Description |
---|---|---|---|
<MathVariable> |
|
|
|
VARIABLENAME |
Required: Literal text string. |
||
TYPE |
Required: IDENTIFIER The math variable type. |
||
DATATYPE |
Required: TEXT If the Type is IDENTIFIER, the datatype is preset to TEXT. |
||
LOG |
Optional: Yes/No Literal text string. A value of "Yes" will log results to AsActivityMath. |
||
<Parts> |
Required: |
|
|
XML Example
<Math ID="MyMath" GLOBAL="No">
<MathVariables>
<MathVariable VARIABLENAME="ConfirmationNumberMV" TYPE="IDENTIFIER" DATATYPE="TEXT" LOG="Yes">
<Parts>
<Part TYPE="FIELD">SomeFieldName</Part>
<Part TYPE="FIELD">MyMath:Prefix</Part>
<Part TYPE="VALUE">N</Part>
<Part TYPE="SEQUENCE" FORMAT="0000000000">ConfirmationNumberMV</Part>
</Parts>
</MathVariable>
<MathVariables>
</Math>