ChoiceRule (条件型规则)
ChoiceRule 映射表
AP242
Windchill
specificationInclusion
SpecificationInclusionAssignment
e_ChoiceRule
如果 specificationInclusion.ifCondition 属于条件类型,则仅将其导入为 e_ChoiceRule
specificationInclusion.id
r_number
如果未设置 specificationInclusion .id,则
r_number =timestamp+random number
specificationInclusion.description
description
specificationInclusion.ifCondition
specificationInclusion.ifCondition.parameters 参考的规范中获得相关的选择,然后填充 e_ExpressionMemberLink
有关详细信息,请参阅 ExpressionMemberLink 的映射
同时,将 specificationInclusion.ifCondition 参考的条件转换为 expressionJsonString
expressionData=expressionJsonString
有关详细信息,请参阅 ExpressionData 的映射
specificationInclusion.includedSpecification.parameters
如果 specificationInclusion.includedSpecification 属于条件类型,则从 specificationInclusion.includedSpecification.parameters 获取属于规范的选择并填充 e_RuleMemberActionLink
有关详细信息,请参阅 RuleMemberActionLink 的映射
获取分配给 的 DataValidityEffectivity
SpecificationInclusionAssignment
填充 e_WTDatedEffectivity
有关详细信息,请参阅 WTDatedEffectivity 的映射
SpecificationInclusionAssignment.assignedTo
SpecificationInclusionAssignment.assignedTo 参考的 ProductClass 获取相关的 OptionSet,并填充 e_OptionSetChoiceRuleLink
有关详细信息,请参阅 e_OptionSetChoiceRuleLink 的映射.
r_local=true
externalTypeId = WCTYPE|com.ptc.windchill.option.model.ChoiceRule
有关本地 ids 和 Ufids 的生成,请参阅 LocalId 和 Ufids 映射表
PART 21 表示
#1096= SPECIFICATIONINCLUSION(#1098,CHARACTERSTRING('((null))'),$,#1218,
#396);
#1097= SPECIFICATIONINCLUSIONASSIGNMENT($,$,#1096,#207);
#1218= ANDCONDITION($,$,$,*,(#1178,#736),$);
这对您有帮助吗?