rules
Applies to
Applies to: Setup DCO Does not apply: Runtime DCO
Description
Stores the rule map of an object that is established in Datacap Studio.
For example, you can map one or more rules to an object in the Document hierarchy. When you select the rule in the Document hierarchy object to which you mapped the rule, Datacap Studio displays the DCO.Rule Map in the Properties tab. The values in the DCO.Rule Map include the Ruleset ID and the Rule name. The Ruleset ID references the position of the ruleset on the Rulesets tab in Datacap Studio, and the Rule name references the position of the rule in the ruleset. For example, if an object is mapped with a rule named Vendor, which is part of the Validate ruleset, then the Rule name value can be 4 and the Ruleset ID can be 6. These values mean that the Validate ruleset is in the sixth position in the Ruleset tab, and the Vendor rule is in the fourth position within the Validate ruleset. The corresponding line in the Setup DCO is <r id="4" rs="6" />. If the object is mapped with five different rules, then the Setup DCO can be similar to this sample:
<in>
<r id="4" rs="6" />
<r id="2" rs="13" />
<r id="9" rs="7" />
<r id="3" rs="14" />
<r id="6" rs="16" />
</in>
Example
<V n="rules"><in><r id="4"
rs="6" /><r id="2" rs="13"
/><r id="9" rs="7" /><r
id="3" rs="14" /><r
id="6" rs="16" /></in></V>