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.



Re: Add changeby field in Item Application

From: ewald caspari (2012-02-28 16:27)

Hi amir,
it doesn't help if you send the same question several times. It just fills our inboxes.
Have a look in http://www-01.ibm.com/support/docview.wss?uid=swg21296329
It explains how to set up a field default.
Regards
Ewald

--- In MAXIMO@yahoogroups.com,"Amir" <ashahzad.1978@...>wrote:
>
>
> --- In MAXIMO@yahoogroups.com,"Amir" <ashahzad.1978@> wrote:
> >
> > Dear All,
> >
> > i want to add changeby field in itemapplication. if somebody can add or change Item number, description or anyother filed in the item application the changeby field can popluate thepersonid/ person name itself.
>
> i also add changeby field in PO application( in POthere is already changeby field by default)it works successfully. but in itemtable there is no changeby field, i add the new changeby field but it cannotpopulate the personid. please your help is really Appreciated.
>
> > Maximo 6.2.4
> > Bea Weblogic
> > Windows Server 2003
> >
> > Regards
> > Amir Shahzad
> >
>



From: Hanna, Christopher CTR (2012-02-29 07:39)

Please correct me if I'm wrong but a default would only set it when the record is created, not when it is modified.
I've done this on other objects by creating a custom class extending the base class of the object that the changeby/changedate has been added to. In the custom class you'll need to override the modify() method and put your code in there to set the personId and date.
Thanks!
-Chris H
-----Original Message-----
From: MAXIMO@yahoogroups.com [mailto:MAXIMO@yahoogroups.com] On Behalf Of ewald caspari
Sent: Tuesday, February 28, 2012 10:28 AM
To: maximo@yahoogroups.com
Subject: [MAXIMO List] Re: Add changeby field in Item Application

Hi amir,
it doesn't help if you send the same question several times. It just fills our inboxes.
Have a look in http://www-01.ibm.com/support/docview.wss?uid=swg21296329
It explains how to set up a field default.
Regards
Ewald
--- In MAXIMO@yahoogroups.com <mailto:MAXIMO%40yahoogroups.com> ,"Amir" <ashahzad.1978@...>wrote:
>
>
> --- In MAXIMO@yahoogroups.com <mailto:MAXIMO%40yahoogroups.com> ,"Amir" <ashahzad.1978@> wrote:
> >
> > Dear All,
> >
> > i want to add changeby field in itemapplication. if somebody can add or change Item number, description or anyother filed in the item application the changeby field can popluate thepersonid/ person name itself.
>
> i also add changeby field in PO application( in POthere is already changeby field by default)it works successfully. but in itemtable there is no changeby field, i add the new changeby field but it cannotpopulate the personid. please your help is really Appreciated.
>
> > Maximo 6.2.4
> > Bea Weblogic
> > Windows Server 2003
> >
> > Regards
> > Amir Shahzad
> >
>