Datenverwaltungsfunktionen > Teilestrukturen verwalten > WindchillOptions- und Variantenfunktionen > Daten für Optionen und Varianten verwalten - Referenz > Daten für Optionen und Varianten laden > Ausschlussregel
  
Ausschlussregel
Laden Sie das com.ptc.windchill.option.model.ChoiceConstraint-Objekt mit dem Windchill Ladeprogramm in die Windchill Datenbank.
XML-Format:
<csvBeginChoiceConstraint handler= "com.ptc.windchill.option.load.Loader.
beginChoiceConstraint" >
<csvconstraintName>Name der Ausschlussregel</csvconstraintName>
<csvconstraintDescription>Beschreibung der Ausschlussregel</csvconstraintDescription>
<csvlocal>angeben, ob lokale Beschränkung</csvlocal>
<csvoptionSet>Name des Optionssatzes, für den Ausschlussregel lokal ist</csvoptionSet>
<csvmerged>true</csvmerged>
</csvBeginChoiceConstraint >
<csvConstraintChoice handler="com.ptc.windchill.option.load.Loader.constraintChoice" >
<csvname>Name der Wahlmöglichkeit für Ausschlussregel</csvname>
<csvcontainerPath>Containerpfad der Wahlmöglichkeit</csvcontainerPath>
</csvConstraintChoice >
. . .
. . .
<csvEndChoiceConstraint handler="com.ptc.windchill.esi.load.endChoiceConstraint" />
Tabelle 14. Attribute für csvBeginChoiceConstraint
Attribut
Beschreibung
Erforderlich oder optional?
csvnumber
Regelnummer
Optional
csvversion
Version der Regel
Optional
csviteration
Iteration der Regel
Optional
csvdescription
Regelbeschreibung
Optional
csvlocal
Angeben, ob die Regel lokal ist
Optional
csvoptionSet
Geben Sie den Optionssatz an, für den die Regel erstellt wurde.
Optional
csvlifecycletemplate
Lebenszyklusvorlage
Optional
csvlifecyclestate
Lebenszyklusstatus
Optional
csvteamTemplate
Teamvorlage
Optional
csvmerged
Gibt, ob die Regel zusammengeführt wird
Optional
Tabelle 15. Attribute für csvConstraintChoice
Attribut
Beschreibung
Erforderlich oder optional?
csvname
Name der Mitgliedswahlmöglichkeit, die durch die Regel angegeben wird
Erforderlich
csvcontainerPath
Pfad zum Kontext zur Mitgliedswahlmöglichkeit
Optional
Beispiel:
<csvBeginChoiceConstraint
handler="com.ptc.windchill.option.load.Loader.beginChoiceConstraint">
<csvnumber>ER-00001</csvnumber>
<csvdescription>Red Colour Valid Finish</csvdescription>
<csvmerged>true</csvmerged>
</csvBeginChoiceConstraint>
<csvConstraintChoice
handler="com.ptc.windchill.option.load.Loader.constraintChoice">
<csvname>Red</csvname>
</csvConstraintChoice>
<csvConstraintChoice
handler="com.ptc.windchill.option.load.Loader.constraintChoice">
<csvname>Glossy</csvname>
</csvConstraintChoice>
<csvConstraintChoice
handler="com.ptc.windchill.option.load.Loader.constraintChoice">
<csvname>Matt</csvname>
</csvConstraintChoice>
<csvEndChoiceConstraint
handler="com.ptc.windchill.option.load.Loader.endChoiceConstraint" />
<csvBeginChoiceConstraint
handler"com.ptc.windchill.option.load.Loader.beginChoiceConstraint"=>
<csvnumber>ER-00002</csvnumber>
<csvdescription>Green Colour Valid Finish</csvdescription>
<csvmerged>true</csvmerged>
</csvBeginChoiceConstraint>
<csvConstraintChoice
handler="com.ptc.windchill.option.load.Loader.constraintChoice">
<csvname>Green</csvname>
</csvConstraintChoice>
<csvConstraintChoice
handler="com.ptc.windchill.option.load.Loader.constraintChoice">
<csvname>Glossy</csvname>
</csvConstraintChoice>
<csvConstraintChoice
handler="com.ptc.windchill.option.load.Loader.constraintChoice">
<csvname>Matt</csvname>
</csvConstraintChoice>
<csvEndChoiceConstraint
handler="com.ptc.windchill.option.load.Loader.endChoiceConstraint" />
<csvBeginChoiceConstraint
handler="com.ptc.windchill.option.load.Loader.beginChoiceConstraint">
<csvnumber>ER-00003</csvnumber>
<csvdescription>Blue Colour Valid Finish</csvdescription>
<csvmerged>true</csvmerged>
</csvBeginChoiceConstraint>
<csvConstraintChoice
handler="com.ptc.windchill.option.load.Loader.constraintChoice">
<csvname>Blue</csvname>
</csvConstraintChoice>
<csvConstraintChoice
handler="com.ptc.windchill.option.load.Loader.constraintChoice">
<csvname>Glossy</csvname>
</csvConstraintChoice>
<csvConstraintChoice
handler="com.ptc.windchill.option.load.Loader.constraintChoice">
<csvname>Matt</csvname>
</csvConstraintChoice>
<csvEndChoiceConstraint
handler="com.ptc.windchill.option.load.Loader.endChoiceConstraint" />