AP242
|
Windchill
|
specificationInclusion
SpecificationInclusionAssignment
|
e_ChoiceEnable
If specificationInclusion.ifCondition is of type Specification and specificationInclusion.includedSpecification is not of type Specification or specificationInclusion.includedSpecification.parameters is not of type specification then only import it as e_ChoiceEnable
|
specificationInclusion.id
|
r_number
if specificationInclusion.id is not set then
r_number =”N-”+random number
|
specificationInclusion.description
|
description
|
specificationInclusion.ifCondition
|
Get relevant choice from specification referenced by specificationInclusion.ifConditionsourceChoiceReference = choice.ObjectId.ufid
|
specificationInclusion.includedSpecification.parameters
|
If specificationInclusion.includedSpecification is of type condition then get choices belonging to the specifications from specificationInclusion.includedSpecification.parameters and populate e_ChoiceMappableChoiceLink
For more information, see Mapping for ChoiceMappableChoiceLink
|
Get DataValidityEffectivity assigned to SpecificationInclusionAssignment
|
Populate e_WTDatedEffectivity
For more information, see Mapping for WTDatedEffectivity
|
SpecificationInclusionAssignment.assignedTo
|
Get the relevant OptionSet from ProductClass referenced by SpecificationInclusionAssignment.assignedTo and populate e_OptionSetChoiceRuleLink
For more information, see Mapping for e_OptionSetChoiceRuleLink.
|
r_local=true
|
|
externalTypeId = WCTYPE|com.ptc.windchill.option.model.ChoiceEnable
|
|
For generation of Local ids and Ufids, see LocalId and Ufids Mapping Table
|