QualityTestEnabled - property of the ExtWriteAction object
Description:
Testing the value quality.
Syntax:
Boolean QualityTestEnabled
Note:
Property access
for read and write. The preset value of this property is defined in the "
Test of value quality" configurator of this object.
If the QualityTestEnabled is enabled then while writing the value into the variable, it is tested for quality (see PmVar.Quality). If the quality is bad then the replacement quality QualitySubstValue is written into the variable.
Example1:
Examples of obtaining this property in the script.
JavaScriptVBScriptSelect and copy to clipboard
bVal = pMe.Pm("/data/#vars/Temperature/#ext/wact").QualityTestEnabled;
//or
bVal = pMe.Pm("/data/#vars/Temperature").Extension("wact").QualityTestEnabled;
//or
bVal = pMe.Pm("/data").Item("Temperature").Extension("wact").QualityTestEnabled;
bVal = pMe.Pm("/data/#vars/Temperature/#ext/wact").QualityTestEnabled
'or
bVal = pMe.Pm("/data/#vars/Temperature").Extension("wact").QualityTestEnabled
'or
bVal = pMe.Pm("/data").Item("Temperature").Extension("wact").QualityTestEnabled
Example2:
The example of obtaining this property by
Macro expression from another data extension via
pVar variable.