Enterprise Administration > Implementing Windchill ESI > Implementing Windchill ESI in an ORACLE Applications Environment > Loading Release History
  
Loading Release History
Release history is a record of the information that is published from Windchill, identifying the sourceWindchill PDMLink, MPMLink data, and the distribution target.
It may sometimes be necessary to load the release history for objects (such as parts and assemblies) that reside in the ERP system, but which were not published by Windchill ESI in the first place. Such a loading helps ensure that the two systems (Windchill PDMLink, MPMLink, and the ERP system) are in sync with each other, thereby allowing ESI to use those objects in subsequent publications.
Creates Multiple Release Activity For Objects
Release history can be loaded from a XML (Extensible Markup Language) import file, when using wt.load.LoadFromFile to load release activity:
Field
Description
Mandatory
release Class
The Windchill ESI release class of Releasable object. A value is required for this attribute. This contains strings such as com.ptc.windchill.esi.Part or com.ptc.windchill.esi.mpml.ProcessPlan. Refer to the path <WT_HOME>\codebase\com\ptc\windchill\esi to open the file
ESIResponseMetaInfo.xml
for appropriate release class value of Releasable objects.
Yes
release object type
The class type of Releasable object. A value is required for this attribute. This contains strings such as wt.part.WTPart or com.ptc.windchill.mpml.processplan.MPMProcessPlan.
Yes
release object number
The number of the Releasable object. A value is required for this attribute.
Yes
release object version
The version of the Releasable object. A value is optional for this attribute.
No
release object iteration
The iteration of the roleB of Releasable link object. A value is optional for this attribute.
No
release object view
The view of the roleB of the Releasable link object. A value is optional for this attribute.
No
distribution target number
The number of the distribution target. A value is required for this attribute.
Yes
publication date
The date of the publication. A value is optional for this attribute.
No
publication action
The action of the publication. A value is required for this attribute. This is a string which can be create, change, or delete.
Yes
container path
The container path of the Releasable object. A value is optional for this attribute.
No
message
The publish message for release activity. A value is optional for this attribute.
No
For example:
<csvCreateReleaseActivity handler="com.ptc.windchill.esi.load.LoadESI.createReleaseActivity">
<csvreleaseClass>com.ptc.windchill.esi.Part</csvreleaseClass>
<csvobjectClass>wt.part.WTPart</csvobjectClass>
<csvobjectNumber>PART_OP555</csvobjectNumber>
<csvobjectVersion>A</csvobjectVersion>
<csvobjectIteration>1</csvobjectIteration>
<csvobjectView>Design</csvobjectView>
<csvtargetNumber>00000003</csvtargetNumber>
<csvpublishDate>2015-07-05</csvpublishDate>
<csvpublishAction>create</csvpublishAction>
<csvpublishMessage>Loader Part</csvpublishMessage>
</csvCreateReleaseActivity>
Create Multiple Release Activity Object Associations (csvCreateReleaseActivityForLink)
Release history can be loaded from a XML (Extensible Markup Language) import file, when using wt.load.LoadFromFile to load release activity:
Field
Description
Mandatory
release Class
The Windchill ESI release class of Releasable object. A value is required for this attribute. This contains strings such as com.ptc.windchill.esi.Part or com.ptc.windchill.esi.mpml.ProcessPlan. Refer to the path <WT_HOME>\codebase\com\ptc\windchill\esi to open the file ESIResponseMetaInfo.xml for appropriate release class value of Releasable objects.
Yes
releasable link type
The class type of Releasable link. A value is required for this attribute. This contains a string such as com.ptc.windchill.mpml.processplan.MPMPartToProcessPlanLink.
Yes
object type of roleA of link
The object type of roleA object of the link.
Yes
object number of roleA of releasable link
The object number of the roleA of Releasable link object. A value is required for this attribute.
Yes
version of roleA object of releasable link
The version of the roleA of Releasable link object. A value is optional for this attribute.
No
iteration of roleA object of releasable link
The iteration of the roleA of Releasable link object. A value is optional for this attribute.
No
view of roleA object of releasable link
The view of the roleA of Releasable link object. A value is optional for this attribute.
No
object type of roleB of link
The object type of roleB object of the link.
Yes
object number of roleB of releasable link
The object number of the roleB of Releasable link object. A value is required for this attribute.
Yes
version of roleB object of releasable link
The version of the roleB of Releasable link object. A value is optional for this attribute
No
iteration of roleB object of releasable link
The iteration of the roleB of Releasable link object. A value is optional for this attribute.
No
view of roleB object of releasable link
The view of the roleB of Releasable link object. A value is optional for this attribute.
No
distribution target number
The number of the distribution target. A value is required for this attribute.
Yes
publication date
The date of the publication. A value is optional for this attribute.
No
publication action
The action of the publication. A value is required for this attribute. This is a string which can be create, change, or delete.
Yes
container path
The container path of the Releasable object. A value is optional for this attribute.
No
message
The publish message for release activity. A value is optional for this attribute.
No
For example:
<csvCreateReleaseActivityForLink handler="com.ptc.windchill.esi.load.LoadESI.
createReleaseActivityForLink">
<csvreleaseClass>com.ptc.windchill.esi.mpml.PartToProcessPlanLink</csvreleaseClass>
<csvlinkClass>com.ptc.windchill.mpml.processplan.MPMPartToProcessPlanLink</csvlinkClass>
<csvroleAObjectClass>wt.part.WTPart</csvroleAObjectClass>
<csvroleAObjectNumber>BOM_OP01</csvroleAObjectNumber>
<csvroleAObjectVersion>A</csvroleAObjectVersion>
<csvroleAObjectIteration>1</csvroleAObjectIteration>
<csvroleAObjectView>Design</csvroleAObjectView>
<csvroleBObjectClass>com.ptc.windchill.mpml.processplan.MPMProcessPlan</csvroleBObjectClass>
<csvroleBObjectNumber>YDPLAN01</csvroleBObjectNumber>
<csvroleBObjectVersion>A</csvroleBObjectVersion>
<csvroleBObjectIteration>1</csvroleBObjectIteration>
<csvroleBObjectView>Design</csvroleBObjectView>
<csvtargetNumber>00000003</csvtargetNumber>
<csvpublishDate>2015-07-05</csvpublishDate>
<csvpublishAction>create</csvpublishAction>
<csvpublishMessage>Loader Message</csvpublishMessage>
</csvCreateReleaseActivityForLink>
Each row in the import file represents a publishing event for a specific Windchill business object to a specific ERP organization.