AP242
|
Windchill
|
||
---|---|---|---|
ConditionalConfiguration
Get Condition entity referenced by
ConditionalConfiguration.condition
|
e_IndependentAssignedExpression
If independent assigned expression is enabled in Windchill then import ConditionalConfiguration as IndependentAssignedExpressionbasicExpression=false
|
||
Condition.id
|
r_number
If condition.id is not set then
r_number =timestamp+random number.
|
||
Condition.description
|
name
If condition.description is not set then name =timestamp+random number.
|
||
Condition
|
Get relevant choice from specifications referenced by Condition.parameters and populate e_ExpressionMemberLink
For more information, see Mapping for ExpressionMemberLink
Also convert Condition to expressionJsonStringexpressionData=expressionJsonString
For more info see,Mapping for ExpressionData
|
||
Get EffectivityAssignment assigned on ConditionalConfiguration
|
If EffectivityAssignmentassigned.To is of type PartVersion then Get relevant WTPart from PartVersionassignmentType=’MASTER’
assignableClass=’ wt.part.WTPart’
assignableContextId=’none’
assignableContextReference=WTPart.masterUfid
else if EffectivityAssignment.assignedTo is of type NextAssemblyViewUsage then
Get relevant WTPartUsageLink from NextAssemblyViewUsage
assignmentType = ‘MASTER_USAGE’
assignableClass=’ wt.part.WTPartUsageLink’
assignableContextId= WTPartUsageLink.componentId
assignableContextReference=WTPartUsageLink.masterUfid
|
||
Get DataValidityEffectivity assigned to
Condition
|
Populate e_WTDatedEffectivity
For more information see Mapping for WTDatedEffectivity.
|
||
Get SerialEffectivity assigned to
Condition
|
Populate e_ProductSerialNumberEffectivity
For more information, see Mapping for ProductSerialNumberEffectivity.
|
||
externalTypeId = com.ptc.windchill.option.model.IndependentAssignedExpression
|
|||
For generation of Local ids and Ufids, see LocalId and Ufids Mapping Table.
|