Advanced Customization > Business Logic Customization > Data Exchange using Standards in Windchill > STEP Data Exchange using EXPRESS > AP242 XPX Mapping Guide > Mapping Table for AP242 to Windchill EXPRESS Entities > WTPart
  
WTPart
Mapping Table
WNC
BOM
e_WTPart
Part. (for master)
PartVersion and PartView. (for iteration)
Part.versions[] = PartVersion
PartVersion.views[] = PartView
PartView.initialContext = ViewContext
OR
AssemblyDefinition.initialContext = ViewContext
(PartView is used if the WTPart has no children. AssemblyDefinition is used if the WTPart does have children).
ViewContext.description = ‘part definition’
ViewContext.applicationDomain=’mechanical design
ViewContext.lifeCycleStage=’design’
r_number
Part.id
name
LocalizedString.text
Part.name = LocalizedString
expressionData
(gets populated for advance assigned expression on the part)
Condition entity representing this expression data
ConditionalConfiguration.condition=condition
EffectivityAssignment.assignedEffectivity=ConditionalConfiguration
EffectivityAssignment.assignedTo=partVersion
EffectivityAssignment.role=’required’
EffectivityAssignment.effectivityIndication=TRUE
For more information, see expressionData Mapping.
version
PartVersion.id = Identifier
For more information see Identifier Mapping Table.
lifecycleState
Approval.status
externalTypeId
* 
If the object is not Custom Type or Soft Type then externalTypeId is exported as PropertyValue.
If object is Custom or Soft type then
Part.ClassifiedAs.Classification++Class
Class.id = externalTypeId
Class.definedIn =ExternalClassSystem
ExternalClassSystem.id=’customized part types’ as Identifier
For more information see Identifier Mapping Table.
Attributes
[ObjectID.localId,
ObjectID.ufid,
ObjectID.FederationInfo.additionalPersistInfo.master.localId, ObjectID.FederationInfo.repositoryInfo.lastKnownRepository,
ObjectID.FederationInfo.masterRepositoryInfo.owningRepository,
ObjectID.FederationInfo.masterRepositoryInfo.lastKnownRepository,
objectContainerPath,
masterUfid,
name,
defaultUnit,endItem,defaultTraceCode,collapsible, phantom , hidePartInStructure,partType,partSource,domainName,folderPath,view,
versionInfo.versionLevel,
versionInfo.series,
versionInfo.versionPosition,
versionInfo.iterationSeries,
versionInfo.iterationPosition,
versionInfo.predecessor,
versionInfo.derivedFrom,
versionInfo.viewLevel,
lifecycleInfo.lifecycleTemplateName,
externalTypeId]
For more information see Model Attributes Mapping.
Organization
For more information see Organization Mapping Table.
IF (endItem = ‘true’)
partType = ‘seperable’
Part. partTypes = ('product','assembly')
partType = ‘inseperable’
Part. partTypes = ('product','assembly','piece part')
partType = ‘component’
Part. partTypes = ('product','piece part')
IF (endItem = ‘false’)
partType = ‘seperable’
Part. partTypes = ('assembly')
partType = ‘inseperable’
Part. partTypes = ('assembly','piece part')
partType = ‘component’
Part. partTypes = ('piece part')
Part 21 Representation
#1= PART(#45,#46,$,$,('assembly'),$,(#2));
#2= PARTVERSION(#30,$,$,$,(#5));
#5= PARTVIEW($,$,$,$,$,#14,$);
OR
#5= ASSEMBLYDEFINITION($,$,$,$,$,#14,$,$);
#7= APPROVAL($,$,$,$,$,$,CLASSSTRING('INWORK'),$);
#8= APPROVALASSIGNMENT($,$,$,#7,(#2));
#12= ORGANIZATION(IDENTIFIERSTRING('Demo Organization'),#13,$,$,$);
#13= LOCALIZEDSTRING($,'Demo Organization');
#14= VIEWCONTEXT(CHARACTERSTRING('part definition'),
PROXYSTRING('mechanical design'),
PROXYSTRING('design'));
#30= IDENTIFIER('A.1',$,CLASSSTRING('identification information'),#12);
#45= IDENTIFIER('0000000001',$,CLASSSTRING
('identification information'),#12);
#46= LOCALIZEDSTRING(('en-IN'),'Test_Part1');