高级自定义 > 业务逻辑自定义 > 使用 Windchill 中的标准进行数据交换 > 使用 EXPRESS 进行 STEP 数据交换 > AP242 XPX 映射指南 > 将 AP242 (非 Windchill 数据) 导入到 Windchill EXPRESS 实体的映射表 > ProductSerialNumberEffectivity
  
ProductSerialNumberEffectivity
ProductSerialNumberEffectivity 映射表
AP242
Windchill
SerialEffectivityEffectvityAssignment
e_ProductSerialNumberEffectivity
获取相关的 wncEntityEffectvityAssignment.assignedTo:=relevant entity
(如果是 partVersion-WTPart,则相关目标实体为 ,如果是 Condition-IndependentAssignedExpression,则相关目标实体为 )
effTarget = relevant wncEntity.objectId.Ufid
如果是 partVersion-WTPart
如果属于条件类型,请获取 independentAssignedExpression 并获取已为其分配 independentAssignedExpressionWTPart
effContext=WTPart.masterUfid
如果未设置 WTPart.defaultTraceCode,则 WTPart.defaultTraceCode=X
SerialEffectivity.startNumber
startRange
SerialEffectivity.endNumber
endRange
ObjectId.localId= wt.part.ProductSerialNumberEffectivity:+ random number
Part 21 表示
#1406= SERIALEFFECTIVITY($,$,$,$,$,#1323,$,$,$,IDENTIFIERSTRING('123456'),
IDENTIFIERSTRING('123456'));
#1407= EFFECTIVITYASSIGNMENT($,$,$,CLASSSTRING('configured'),#1406,#77,.T.);