Administración de la empresa > Utilidad de creación de artículos > Using Elements to Create XML Scripts > Product Item Version Specification > The <PIVCriteria> Element
  
The <PIVCriteria> Element
The <PIVCriteria> element is a container for all of the individual <PIVCondition> and <AttrCondition> elements in the <PIVSpec>. You can create multiple <PIVCriteria> elements with in the <PIVSpec> element.
Attribute
Definition and Usage
ConditionJoin
The <PIVCriteria> element can contain multiple <PIVCondition> or <AttrCondition> statements. This attribute specifies if the system selects CAD Documents that meet all of the condition statements or any of the condition statements.
Values:
“And” — the system only selects CAD Documents that meet ALL of the criteria specified in the <PIVCondition> elements.
“Or” — the system selects CAD Documents that meet ANY of the conditions specified in the <PIVCondition> elements.
Usage Example
The following <PIVCriteria> statement specifies that the system should select CAD Documents that meet any of the conditions contained with in multiple <PIVCondition> elements.
<PIVSpec>
<PIVCriteriaConditionJoin = “Or”>
.
.
</PIVCriteria>
</PIVSpec>