Personalización avanzada > 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 > WTDocument
  
WTDocument
Mapping Table
WNC
BOM
e_WTDocument
Document. (for master)
DocumentVersion and DocumentDefinition. (for iteration)
Document.versions[] = DocumentVersion
ApprovalAssignment.assignedApproval = Approval
ApprovalAssignment.assignedTo=[DocumentVersion] . (for lifecycle)
DocumentVersion.views[] = DocumentDefinition
ViewContext.description = ‘part definition’
ViewContext.applicationDomain=’mechanical design’
ViewContext.lifeCycleStage=’design’
ViewContext.lifeCycleStage=’InWork’
r_number
Document.id
Name
LocalizedString.text
Document.name = LocalizedString
Version
DocumentVersion.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 as Custom or Soft type then Document.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,
FederationInfo.additionalPersistInfo.updateCount,
FederationInfo.additionalPersistInfo.master.localId,
FederationInfo.additionalPersistInfo.master.updateCount,
FederationInfo.repositoryInfo.lastKnownRepository,
FederationInfo.masterRepositoryInfo.owningRepository,
FederationInfo.masterRepositoryInfo.masterLastKnownRepository,
ObjectID.ufid,objectContainerPath,
masterUfId,docType,
docTitle,
department,
domainName,
folderPath,
versionInfo.versionLevel,
versionInfo.series,
versionInfo.versionPosition,
versionInfo.iterationSeries,
versionInfo.iterationPosition,
lifecycleTemplateName,externalTypeId]
For more information see Model Attributes Mapping.
All these attributes will be exported as the PropertyValueAssignment
Organization
For more information see Identifier Mapping Table.
Part 21 Representation
#1= DOCUMENT(#38,#39,$,$,(#6),$,(#2));
#2= DOCUMENTVERSION(#30,$,$,$,(#4));
#4= DOCUMENTDEFINITION($,$,$,$,$,$,$,$,$);
#8= APPROVALASSIGNMENT($,$,$,#31,(#2));
#13= VIEWCONTEXT(CHARACTERSTRING('part definition'),PROXYSTRING(
'mechanical design'),PROXYSTRING('design'));
#30= IDENTIFIER('A.1',$,CLASSSTRING('identification information'),#11);
#31= APPROVAL($,$,$,$,$,$,CLASSSTRING('INWORK'),$);
#38= IDENTIFIER('0000000001',$,CLASSSTRING('identification information'),#11);
#39= LOCALIZEDSTRING($,'submissionDocument');