1-Visitor
May 18, 2010
Question
Update of Create-Objects Webject to 9.1 from 7.0
- May 18, 2010
- 0 replies
- 594 views
Is it possible to create a foldered/Iterated object that is not versioned with the Create-Objects webject?
I am updating a Create-Objects webject from 7.0 to 9.1 that creates a Foldered/Iterated object. We added WTContained to the object for 9.1, but would like to avoid making it versioned. However, the webject returns the following error, giving the impression that it casts the object to another object that is versioned.
"Nested exception is: wt.vc.VersionControlException: wt.util.WTException: java.lang.NullPointerException"
Here is the webject I am updating...
<ie:webject name="Create-Objects" type="ACT">
<ie:param name="INSTANCE" data="${properties[0]wt.federation.ie.VMName[0]}"/">
<ie:param name="SESSION_ID" data="${SESSION[0]SESSION_ID[0]}"/">
<ie:param name="AUTHORIZATION" data="${@SERVER[]AUTHORIZATION[]}"/">
<ie:param name="TYPE" data="WCTYPE|ext.plm.plant.PLMPartPlantAtt"/">
<ie:param name="CONTAINER_REF" data="<%=containerRef%">"/>
<ie:param name="FIELD" data="partNumber=<%=partNumber%">"/ >
<ie:param name="FIELD" data="plantCode=<%=plantCode%">"/ >
<ie:param name="FIELD" data="cost=<%=itemCost%">"/>
<ie:param name="FIELD" data="price=<%=itemPrice%">"/>
<ie:param name="FIELD" data="supplier=<%=supplier%">"/>
<ie:param name="FIELD" data="currencyType=<%=currencyType%">"/>
<ie:param name="FIELD" data="folder=<%=folder%">"/ >
<ie:param name="GROUP_OUT" data="partItem"/">
</ie:webject>
Any help is appreciated....
Thank You,
Paul Hartwig
PLM Application Development
Climate Solutions
Ingersoll Rand
314 West 90th St
Minneapolis, MN 55420
' (952)887-2486
7 (952)886-6064
* paul_hartwig@irco.com<">mailto:paul_hartwig@irco.com>
þ www.ingersollrand.com
I am updating a Create-Objects webject from 7.0 to 9.1 that creates a Foldered/Iterated object. We added WTContained to the object for 9.1, but would like to avoid making it versioned. However, the webject returns the following error, giving the impression that it casts the object to another object that is versioned.
"Nested exception is: wt.vc.VersionControlException: wt.util.WTException: java.lang.NullPointerException"
Here is the webject I am updating...
<ie:webject name="Create-Objects" type="ACT">
<ie:param name="INSTANCE" data="${properties[0]wt.federation.ie.VMName[0]}"/">
<ie:param name="SESSION_ID" data="${SESSION[0]SESSION_ID[0]}"/">
<ie:param name="AUTHORIZATION" data="${@SERVER[]AUTHORIZATION[]}"/">
<ie:param name="TYPE" data="WCTYPE|ext.plm.plant.PLMPartPlantAtt"/">
<ie:param name="CONTAINER_REF" data="<%=containerRef%">"/>
<ie:param name="FIELD" data="partNumber=<%=partNumber%">"/ >
<ie:param name="FIELD" data="plantCode=<%=plantCode%">"/ >
<ie:param name="FIELD" data="cost=<%=itemCost%">"/>
<ie:param name="FIELD" data="price=<%=itemPrice%">"/>
<ie:param name="FIELD" data="supplier=<%=supplier%">"/>
<ie:param name="FIELD" data="currencyType=<%=currencyType%">"/>
<ie:param name="FIELD" data="folder=<%=folder%">"/ >
<ie:param name="GROUP_OUT" data="partItem"/">
</ie:webject>
Any help is appreciated....
Thank You,
Paul Hartwig
PLM Application Development
Climate Solutions
Ingersoll Rand
314 West 90th St
Minneapolis, MN 55420
' (952)887-2486
7 (952)886-6064
* paul_hartwig@irco.com<">mailto:paul_hartwig@irco.com>
þ www.ingersollrand.com

