Unable to update WTVariance
Hi,
I am trying to update the WTVariance object IBA but can't see the updated values can any one help me how I can do this using code
I am using this code right now
| try{ |
wt.change2.WTVariance var = (wt.change2.WTVariance)primaryBusinessObject;
com.ptc.core.lwc.server.LWCNormalizedObject obj = new com.ptc.core.lwc.server.LWCNormalizedObject(var , null,java.util.Locale.US, null);
obj.load(att);
obj.set(att,attValue);
obj.apply();
//PersistenceHelper.manager.refresh(var );
PersistenceHelper.manager.refresh(var );
}
catch (wt.util.WTException e) {
e.printStackTrace();
}
