Variance Objects
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Variance Objects
Trying to make the connection to a Variance and its changeables. Here is what I have:
wt.fc.QueryResult queryresult = wt.change2.ChangeHelper2.service.getChangeables( (wt.change2.WTVariance) primaryBusinessObject, false);
while (queryresult.hasMoreElements())
{
wt.fc.WTObject obj = (wt.fc.WTObject) queryresult.nextElement();
obj is returned as an object like: wt.change2.ReportedAgainst:580667336
I am stuck trying to now get the changeable so I can determine the type and get the details of this changeable. Can someone help me make this association please.
Thanks,
James Little
Windchill 10.0 M040
- Labels:
-
Other
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Jim,
You can get access to the changeable as follows:
wt.fc.QueryResult queryresult = wt.change2.ChangeHelper2.service.getChangeables( (wt.change2.WTVariance) primaryBusinessObject, false);
(queryresult.hasMoreElements())
if wt.part.WTPart)
System.
}
out else (changeable instanceof
{
}
Hope this helps.
System. out else
Ravi Dharmalingam
ProductSpace Solutions Inc.
