Integration with Other Applications > Introduction to Windchill ESI > Using ERP Connector > ERP Connector Features > Documents
  
Documents
ERP Connector allows you to publish part-associated documents, as well as standalone documents (documents that are not associated with business objects) that were created or changed within Windchill PDMLink, to a distribution target such as SAP. Windchill PDMLink can be configured to publish particular document attributes and these attributes are used in creating document records in the distribution target.
* 
If the Publish Enterprise Data Information preference is on, then documents associated with the extended data are published. Also, with Windchill MPMLink installed, documents associated to process plans, operations, sequences and resources are published as well
CAD document structures are published provided the relevant distribution target attributes are set.
A CAD document structure is published provided the top-level document is released, or a Change Notice (or a promotion request) holding the document is released. In other words, only the top-level document in a structure is published if a part (or a manufacturing object) having an associated CAD document structure is released.
ERP Connector passes the following document-associated attributes from Windchill PDMLink to the EAI software components:
Number
Name
IsAssembly
Description
Type
Title
Lifecycle State
File
Version
Iteration
Last Changed By
Distribution Targets
Previously Published Document Version
* 
The attribute Distribution Targets (in the elements Destination and TargetID that appear in the ESI response) identifies the distribution target in which the part should be created or changed.
When publishing associated documents, the document in Windchill PDMLink inherits distribution targets from the object (for example, part) to which it is associated.
A standalone document is published to those distribution targets that are explicitly associated to the document.
Since ESI services process only CAD document structures, the attribute IsAssembly will be sent with a value false for a WTDocument, even if the document has associated children