進階自訂 > Business Logic Customization > Data Exchange using Standards in Windchill > STEP Data Exchange using EXPRESS > AP242 XPX Mapping Guide > Mapping Table for Import of AP242 (non-Windchill data) to Windchill EXPRESS Entities > WTPartReferenceLink
  
WTPartReferenceLink
Mapping Table
AP242
Windchill
DocumentAssignment (…);
When the DocumentAssignment.role is present in the referenceLinkRolesList from Generic.inn.
For example – For Windchillto Windchill export/import default role is ‘description’.
e_WTPartReferenceLink (…);
e_WTPartReferenceLink.ObjectID.localId, e_WTPartReferenceLink.ObjectID.ufid
'WCTYPE|wt.part.WTPartReferenceLink'
e_WTPartReferenceLink.externalTypeId
DocumentAssignment.assignedDocument = DOCUMENT (…);
One can navigate from a Document to the DocumentVersion using the INVERSE attributes on the Document entity.
e_WTPartReferenceLink.references
DocumentAssignment.assignedTo = PartView(…);
One can navigate from a PartView to the Part using the INVERSE attributes on the PartView and PartVersion entities.
e_WTPartReferenceLink.referencedBy
Part 21 Representation
#31696= VIEWCONTEXT($,PROXYSTRING('VPLM_RN_PDT_CST'),PROXYSTRING('FROZEN'));
#31697= PARTVIEW($,$,$,$,#31765,#31696,$);
#31700= DOCUMENTASSIGNMENT(IDENTIFIERSTRING('G000812460_001'),
CHARACTERSTRING(''),$,CLASSSTRING('referenceLinkRole'),#31710,(#31697),$);
#31710= DOCUMENT(IDENTIFIERSTRING('G000812460'),CHARACTERSTRING('G000286254')
,CHARACTERSTRING('RENFORT_TABLETTE_LAT_AR_D'),$,(#3675),$,(#31788));
#31714= PARTVERSION(IDENTIFIERSTRING('001'),CHARACTERSTRING(''),$,$,(#31697));
#31788= DOCUMENTVERSION(IDENTIFIERSTRING('001'),$,$,$,(#31785));