QualitySubstValue - property of the ExtWriteAction object
Description:
Replacement value if the quality is not good.
Syntax:
Variant QualitySubstValue
Note:
Property access
for read and write.
The default value of this property is defined in the "
Use replacement value" configurator of this object.
If the
QualityTestEnabled is enabled then on writing the value into the variable, it is tested for quality (see the
PmVar.Quality property). If the quality is nbot good then the replacement value
QualitySubstValue is written into the variable. On writing the replacement value, the variable data type is preserved - the replacement value is transformed to such data type.
Example1:
Examples for obtaining this property in the script.
JavaScriptVBScriptSelect and copy to clipboard
vVal = pMe.Pm("/data/#vars/Temperature/#ext/wact").QualitySubstValue;
// or
vVal = pMe.Pm("/data/#vars/Temperature").Extension("wact").QualitySubstValue;
// or
vVal = pMe.Pm("/data").Item("Temperature").Extension("wact").QualitySubstValue;
vVal = pMe.Pm("/data/#vars/Temperature/#ext/wact").QualitySubstValue
' or
vVal = pMe.Pm("/data/#vars/Temperature").Extension("wact").QualitySubstValue
' or
vVal = pMe.Pm("/data").Item("Temperature").Extension("wact").QualitySubstValue
Example2:
The example for obtaining this property by
Macro expression from another data extension via
pVar variable.