Funciones de gestión de datos > Gestión de estructuras de artículos > Funciones de opciones y variantes de Windchill > Gestión de datos de opciones y variantes (referencia) > Carga de datos de opciones y variantes > Regla de activación
  
Regla de activación
Cargue el objeto com.ptc.windchill.option.model.ChoiceEnable en la base de datos Windchill mediante el cargador de Windchill.
Formato XML:
<!ELEMENT csvBeginChoiceEnable (csvsourceChoiceName,csvnumber?,csvversion?, csviteration?,csvdescription?,csvlocal?,csvoptionSet?,csvcontainerPath?,csvlifecycletemplate?,csvlifecyclestate?,csvteamTemplate?)>
<!ELEMENT csvChoiceEnableTargetChoice (csvtargetChoiceName,csvcontainerPath?)>
<csvBeginChoiceEnable handler="com.ptc.windchill.option.load.Loader.beginChoiceEnable"><csvsourceChoiceName>D0005</csvsourceChoiceName>
<csvlocal>true</csvlocal>
<csvoptionSet>Bicycle Option Set Template</csvoptionSet>
<csvcontainerPath />
<csvmerged>true</csvmerged>
</csvBeginChoiceEnable>
<csvChoiceEnableTargetChoice handler="com.ptc.windchill.option.load.Loader.createChoiceEnableTargetChoice">
<csvtargetChoiceName>D0022</csvtargetChoiceName>
<csvcontainerPath />
</csvChoiceEnableTargetChoice>
<csvChoiceEnableTargetChoice handler="com.ptc.windchill.option.load.Loader.createChoiceEnableTargetChoice">
<csvtargetChoiceName>D0025</csvtargetChoiceName>
<csvcontainerPath />
</csvChoiceEnableTargetChoice>
<csvEndChoiceEnable handler="com.ptc.windchill.option.load.Loader.endChoiceEnable" />
Atributos para csvBeginChoiceEnable
Atributo
Descripción
¿Obligatorio u opcional?
csvsourceChoiceName
Nombre de elección de origen
Obligatorio
csvnumber
Número de la regla
Opcional
csvversion
Versión de la regla
Opcional
csviteration
Iteración de la regla
Opcional
csvdescription
Descripción de la regla
Opcional
csvlocal
Permite especificar si la regla es local
Opcional
csvoptionSet
Permite especificar el conjunto de opciones para el que se ha creado la regla
Opcional
csvcontainerPath
Ruta al contexto en el que reside el origen
Opcional
csvlifecycletemplate
Plantilla de ciclo de vida
Opcional
csvlifecyclestate
Estado del ciclo de vida
Opcional
csvteamTemplate
Plantilla de equipo
Opcional
csvmerged
Permite especificar si la regla se combina
Opcional
Atributos para csvChoiceEnableTargetChoice
Atributo
Descripción
¿Obligatorio u opcional?
csvtargetChoiceName
Nombre de elección de destino
Obligatorio
csvcontainerPath
Ruta al contexto en el que reside la elección de destino
Opcional
Ejemplo:
<csvBeginChoiceEnable handler="com.ptc.windchill.option.load.Loader.beginChoiceEnable">
<csvsourceChoiceName>D0001</csvsourceChoiceName>
<csvlocal>true</csvlocal>
<csvoptionSet>Bicycle1 Option Set Template</csvoptionSet>
<csvcontainerPath />
<csvmerged>true</csvmerged>
</csvBeginChoiceEnable>
<csvChoiceEnableTargetChoice handler="com.ptc.windchill.option.load.Loader.createChoiceEnableTargetChoice">
<csvtargetChoiceName>D0026</csvtargetChoiceName>
<csvcontainerPath />
</csvChoiceEnableTargetChoice>
<csvChoiceEnableTargetChoice handler="com.ptc.windchill.option.load.Loader.createChoiceEnableTargetChoice">
<csvtargetChoiceName>D0012</csvtargetChoiceName>
<csvcontainerPath />
</csvChoiceEnableTargetChoice>
<csvChoiceEnableTargetChoice handler="com.ptc.windchill.option.load.Loader.createChoiceEnableTargetChoice">
<csvtargetChoiceName>D0013</csvtargetChoiceName>
<csvcontainerPath />
</csvChoiceEnableTargetChoice>
<csvChoiceEnableTargetChoice handler="com.ptc.windchill.option.load.Loader.createChoiceEnableTargetChoice">
<csvtargetChoiceName>D0010</csvtargetChoiceName>
<csvChoiceEnableTargetChoice handler="com.ptc.windchill.option.load.Loader.createChoiceEnableTargetChoice">
<csvtargetChoiceName>D0022</csvtargetChoiceName>
<csvcontainerPath />
</csvChoiceEnableTargetChoice>
<csvChoiceEnableTargetChoice handler="com.ptc.windchill.option.load.Loader.createChoiceEnableTargetChoice">
<csvtargetChoiceName>D0025</csvtargetChoiceName>
<csvcontainerPath />
</csvChoiceEnableTargetChoice>
<csvEndChoiceEnable handler="com.ptc.windchill.option.load.Loader.endChoiceEnable" />
<csvBeginChoiceEnable handler="com.ptc.windchill.option.load.Loader.beginChoiceEnable">
<csvsourceChoiceName>D0005</csvsourceChoiceName>
<csvcontainerPath />
</csvBeginChoiceEnable>
<csvChoiceEnableTargetChoice handler="com.ptc.windchill.option.load.Loader.createChoiceEnableTargetChoice">
<csvtargetChoiceName>D0022</csvtargetChoiceName>
<csvcontainerPath />
</csvChoiceEnableTargetChoice>
<csvChoiceEnableTargetChoice handler="com.ptc.windchill.option.load.Loader.createChoiceEnableTargetChoice">
<csvtargetChoiceName>D0025</csvtargetChoiceName>
<csvcontainerPath />
</csvChoiceEnableTargetChoice>
<csvEndChoiceEnable handler="com.ptc.windchill.option.load.Loader.endChoiceEnable" />