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