AP242
|
Windchill
|
specificationInclusion
SpecificationInclusionAssignment
|
e_ChoiceRule
If specificationInclusion.ifCondition is of type Condition then only import it as e_ChoiceRule.
|
specificationInclusion.id
|
r_number
if specificationInclusion .id is not set then
r_number =timestamp+random number
|
specificationInclusion.description
|
description
|
specificationInclusion.ifCondition
|
Get relevant choice from specification referenced by specificationInclusion.ifCondition.parameters and populate e_ExpressionMemberLink
For more info see Mapping for ExpressionMemberLink.
Also convert condition referenced by specificationInclusion.ifCondition to expressionJsonString
expressionData=expressionJsonString.
For more information, see Mapping for ExpressionData
|
specificationInclusion.includedSpecification.parameters
|
If specificationInclusion.includedSpecification is of type condition then get choices belonging to the specifications from specificationInclusion.includedSpecification.parameters and populate e_RuleMemberActionLink.
For more information, see Mapping for RuleMemberActionLink.
|
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.ChoiceRule
|
|
For generation of Local ids and Ufids see LocalId and Ufids Mapping Table.
|