AP242
|
Windchill
|
specificationInclusion
SpecificationInclusionAssignment
|
e_ChoiceMapping
If specificationInclusion.ifCondition is of type Specification and if specificationInclusion.includedSpecification is of type Specification or specificationInclusion.includedSpecification.parameters is of type specification then only import it as e_ChoiceMapping
|
specificationInclusion.id
|
r_number
if specificationInclusion.id is not set then
r_number =”I-”+random number
|
specificationInclusion.description
|
description
|
specificationInclusion.ifCondition
|
Get relevant choice from specification referenced by specificationInclusion.ifConditionsourceChoiceReference = choice.ObjectId.ufid
|
specificationInclusion.includedSpecification
|
specificationInclusion.includedSpecification is of type specification then get choices belonging to the specification from specificationInclusion.includedSpecification
or 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.ChoiceMapping
|
|
For generation of Local ids and Ufids, see LocalId and Ufids Mapping Table
|