ChoiceConstraint (Exclude Rule)
ChoiceConstraint Mapping Table
AP242
Windchill
SpecificationConditionAssignment
e_ChoiceConstraint
If SpecificationConditionAssignment.assignedConditionis of type NotEqualsCondition then only import it as e_ChoiceConstraint or else ignore
SpecificationConditionAssignment.description
description
SpecificationConditionAssignment.assignedCondition.parameters
Get choices belonging to the specifications from SpecificationConditionAssignment.assignedCondition.parameters and populate e_ChoiceMappableChoiceLink
For more information, see Mapping for ChoiceMappableChoiceLink.
Get DataValidityEffectivity assigned to SpecificationConditionAssignment
Populate e_WTDatedEffectivity
For more information, see Mapping for WTDatedEffectivity.
specificationConditionAssignment.assignedTo
Get the relevant OptionSet from ProductClass referenced by specificationConditionAssignment.assignedTo and populate e_OptionSetChoiceRuleLink
For more information, see Mapping for OptionSetChoiceRuleLink
r_number =”E-”+random number
r_local=true
externalTypeId = WCTYPE|com.ptc.windchill.option.model.ChoiceConstraint
For generation of Local ids and Ufids, see LocalId and Ufids Mapping Table
PART 21 representation
#978= SPECIFICATIONCONDITIONASSIGNMENT(CHARACTERSTRING('((null))')
,$,CLASSSTRING('validity'),#979,#207);
#979= NOTEQUALSCONDITION($,$,$,*,(#464,#838),$);
도움이 되셨나요?