Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
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
Jim,
You can get access to the changeable as follows:
wt.fc.QueryResult queryresult = wt.change2.ChangeHelper2.service.getChangeables( (wt.change2.WTVariance) primaryBusinessObject, false);
System.
}
{
}
Hope this helps.
System. out else
Ravi Dharmalingam
ProductSpace Solutions Inc.