Maximo List Archive

This is an archive of the Maximo Yahoo Community. The content of this pages may be a sometimes obsolete so please check post dates.
Thanks to the community owner Christopher Wanko for providing the content.



Need suggestion for duplicate() methode

From: yudi.irianto (2012-08-06 10:17)

Dear all,
We have successfully extend duplicate() methode in XXWorkorder.class
...
public MboRemote duplicate()
throws MXException, RemoteException {
MboRemote mboremote = super.duplicate();
mboremote.setValue("aa", false);
mboremote.setValueNull("bb");

return mboremote;
}
...
But we also need extend other table related to workroder such as
WPMATERIAL. The idea is, We need to set null value in WPMATERIAL.CC, how
can we solve this?
Many thanks & Best Regards,
Yudi Irianto


From: sriram s (2012-08-06 12:58)

Hi,
 
Please check the workorder mbo class , it contains the wpmaterial, wplabor, wptask stuff also, there u need to mention ur new wpmaterial class as well as dbconfig mbo also u have to maintain.
 
Thanks
Sriram S
________________________________
From: "yudi.irianto@ytljt.com" <yudi.irianto@ytljt.com>
To: MAXIMO@yahoogroups.com
Sent: Monday, 6 August 2012 7:17 AM
Subject: [MAXIMO List] Need suggestion for duplicate() methode
 
Dear all,
We have successfully extend duplicate() methode in XXWorkorder.class
...
public MboRemote duplicate()
throws MXException, RemoteException {
MboRemote mboremote = super.duplicate();
mboremote.setValue("aa", false);
mboremote.setValueNull("bb");
return mboremote;
}
...
But we also need extend other table related to workroder such as
WPMATERIAL. The idea is, We need to set null value in WPMATERIAL.CC, how
can we solve this?
Many thanks & Best Regards,
Yudi Irianto