ChoiceEnable (启用规则)
ChoiceEnable 映射表
AP242
Windchill
specificationInclusion
SpecificationInclusionAssignment
e_ChoiceEnable
如果 specificationInclusion.ifCondition 属于规范类型,而 specificationInclusion.includedSpecification 不是规范类型或 specificationInclusion.includedSpecification.parameters 不是规范类型,则仅将其导入为 e_ChoiceEnable
specificationInclusion.id
r_number
如果未设置 specificationInclusion.id,则
r_number =”N-”+random number
specificationInclusion.description
description
specificationInclusion.ifCondition
specificationInclusion.ifConditionsourceChoiceReference = choice.ObjectId.ufid 中参考的规范中获取相关的选择
specificationInclusion.includedSpecification.parameters
如果 specificationInclusion.includedSpecification 属于条件类型,则从 specificationInclusion.includedSpecification.parameters 获取属于规范的选择并填充 e_ChoiceMappableChoiceLink
有关详细信息,请参阅 ChoiceMappableChoiceLink 的映射
获取分配给 SpecificationInclusionAssignmentDataValidityEffectivity
填充 e_WTDatedEffectivity
有关详细信息,请参阅 WTDatedEffectivity 的映射
SpecificationInclusionAssignment.assignedTo
SpecificationInclusionAssignment.assignedTo 参考的 ProductClass 获取相关的 OptionSet,并填充 e_OptionSetChoiceRuleLink
有关详细信息,请参阅 e_OptionSetChoiceRuleLink 的映射.
r_local=true
externalTypeId = WCTYPE|com.ptc.windchill.option.model.ChoiceEnable
有关本地 ids 和 Ufids 的生成,请参阅 LocalId 和 Ufids 映射表
PART 21 表示
#1052= SPECIFICATIONINCLUSION(#1054,CHARACTERSTRING(' ((null))'),$,#600,#1092);
#1053= SPECIFICATIONINCLUSIONASSIGNMENT($,$,#1052,#207);
#1092= ANDCONDITION($,$,$,*,(#943,#908,#1094),$);
#1094= NOTEQUALSCONDITION($,$,$,*,(#929,#887,#936),$);
这对您有帮助吗?