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: [MAXIMO List] Re: Add changeby field in Item Application

From: Praveen M (2012-02-28 12:45)

You need to write some java code here. I can provide you some sample code
if you are comfortable with writing java.
Setting a default value will only work for the first time, but for the
subsequent changes the Change by won't get updated.
praveen
On Tue, Feb 28, 2012 at 5:14 AM, Amir <ashahzad.1978@yahoo.com> wrote:
> **
>
>
>
> --- In MAXIMO@yahoogroups.com, "Amir" <ashahzad.1978@...> wrote:
> >
> > Dear All,
> >
> > i want to add changeby field in item application. if somebody can add or
> change Item number, description or any other filed in the item application
> the changeby field can popluate the personid/ person name itself.
>
> i also add changeby field in PO application it works. but in item table
> there is no changeby field, if i add the changeby field it cannot populate
> the personid. please your help is really Appreciated.
>
>
> > Maximo 6.2.4
> > Bea Weblogic
> > Windows Server 2003
> >
> > Regards
> > Amir Shahzad
> >
>
>
>


From: in2data (2012-02-28 21:03)

Hi,
Since the item master is not changed very often you can turn on auditing for that table and the attributes you want to audit. The audit table will have every change made with the user that made the change.
Dave Bone
--- In MAXIMO@yahoogroups.com, Praveen M <praveen.muramalla@...> wrote:
>
> You need to write some java code here. I can provide you some sample code
> if you are comfortable with writing java.
>
> Setting a default value will only work for the first time, but for the
> subsequent changes the Change by won't get updated.
>
> praveen
>
> On Tue, Feb 28, 2012 at 5:14 AM, Amir <ashahzad.1978@...> wrote:
>
> > **
> >
> >
> >
> > --- In MAXIMO@yahoogroups.com, "Amir" <ashahzad.1978@> wrote:
> > >
> > > Dear All,
> > >
> > > i want to add changeby field in item application. if somebody can add or
> > change Item number, description or any other filed in the item application
> > the changeby field can popluate the personid/ person name itself.
> >
> > i also add changeby field in PO application it works. but in item table
> > there is no changeby field, if i add the changeby field it cannot populate
> > the personid. please your help is really Appreciated.
> >
> >
> > > Maximo 6.2.4
> > > Bea Weblogic
> > > Windows Server 2003
> > >
> > > Regards
> > > Amir Shahzad
> > >
> >
> >
> >
>
>
>
>


From: Amir (2012-02-29 04:33)

Dear Parveen,
would you like to send me some sample java code for my reference and the procedure how i can or where i can put these jave code. i will be very grateful. my email is ashahzad.1978@yahoo.com. your help is really appreciated.
Regards
Amir Shahzad
--- In MAXIMO@yahoogroups.com, "in2data" <in2data@...> wrote:
>
> Hi,
>
> Since the item master is not changed very often you can turn on auditing for that table and the attributes you want to audit. The audit table will have every change made with the user that made the change.
>
> Dave Bone
>
> --- In MAXIMO@yahoogroups.com, Praveen M <praveen.muramalla@> wrote:
> >
> > You need to write some java code here. I can provide you some sample code
> > if you are comfortable with writing java.
> >
> > Setting a default value will only work for the first time, but for the
> > subsequent changes the Change by won't get updated.
> >
> > praveen
> >
> > On Tue, Feb 28, 2012 at 5:14 AM, Amir <ashahzad.1978@> wrote:
> >
> > > **
> > >
> > >
> > >
> > > --- In MAXIMO@yahoogroups.com, "Amir" <ashahzad.1978@> wrote:
> > > >
> > > > Dear All,
> > > >
> > > > i want to add changeby field in item application. if somebody can add or
> > > change Item number, description or any other filed in the item application
> > > the changeby field can popluate the personid/ person name itself.
> > >
> > > i also add changeby field in PO application it works. but in item table
> > > there is no changeby field, if i add the changeby field it cannot populate
> > > the personid. please your help is really Appreciated.
> > >
> > >
> > > > Maximo 6.2.4
> > > > Bea Weblogic
> > > > Windows Server 2003
> > > >
> > > > Regards
> > > > Amir Shahzad
> > > >
> > >
> > >
> > >
> >
> >
> >
> >
>


From: Ashfaque Ahmed (2012-02-28 21:57)

Hi Amir,
 
I would suggest you to go with Dave Bone approach and enable audit option on item table. It will provide complete information who and what was changed.
 
With java customization you will only get answer that who made the change not what was changed.
 
Regards,
Ashfaque Ahmed
--- On Tue, 2/28/12, Amir <ashahzad.1978@yahoo.com> wrote:
From: Amir <ashahzad.1978@yahoo.com>
Subject: [MAXIMO List] Re: Add changeby field in Item Application
To: MAXIMO@yahoogroups.com
Date: Tuesday, February 28, 2012, 8:33 PM
 
Dear Parveen,
would you like to send me some sample java code for my reference and the procedure how i can or where i can put these jave code. i will be very grateful. my email is ashahzad.1978@yahoo.com. your help is really appreciated.
Regards
Amir Shahzad
--- In MAXIMO@yahoogroups.com, "in2data" <in2data@...> wrote:
>
> Hi,
>
> Since the item master is not changed very often you can turn on auditing for that table and the attributes you want to audit. The audit table will have every change made with the user that made the change.
>
> Dave Bone
>
> --- In MAXIMO@yahoogroups.com, Praveen M <praveen.muramalla@> wrote:
> >
> > You need to write some java code here. I can provide you some sample code
> > if you are comfortable with writing java.
> >
> > Setting a default value will only work for the first time, but for the
> > subsequent changes the Change by won't get updated.
> >
> > praveen
> >
> > On Tue, Feb 28, 2012 at 5:14 AM, Amir <ashahzad.1978@> wrote:
> >
> > > **
> > >
> > >
> > >
> > > --- In MAXIMO@yahoogroups.com, "Amir" <ashahzad.1978@> wrote:
> > > >
> > > > Dear All,
> > > >
> > > > i want to add changeby field in item application. if somebody can add or
> > > change Item number, description or any other filed in the item application
> > > the changeby field can popluate the personid/ person name itself.
> > >
> > > i also add changeby field in PO application it works. but in item table
> > > there is no changeby field, if i add the changeby field it cannot populate
> > > the personid. please your help is really Appreciated.
> > >
> > >
> > > > Maximo 6.2.4
> > > > Bea Weblogic
> > > > Windows Server 2003
> > > >
> > > > Regards
> > > > Amir Shahzad
> > > >
> > >
> > >
> > >
> >
> >
> >
> >
>


From: Amir (2012-02-29 06:22)

Dear Ashfaq ,
You are absolutely right. but it is the requirement that i have to add changeby field in item application and when somebody can edit the item no or description the person name or ID will be the shown on changeby field. if the solution is through JAVA code. Please Provide me the Complete information how do i change Java Code. I will be very Grateful to you.
Regards
Amir Shahzad
--- In MAXIMO@yahoogroups.com, Ashfaque Ahmed <ashfaqque_ahmed@...> wrote:
>
> Hi Amir,
>  
> I would suggest you to go with Dave Bone approach and enable audit option on item table. It will provide complete information who and what was changed.
>  
> With java customization you will only get answer that who made the change not what was changed.
>  
> Regards,
> Ashfaque Ahmed
>
> --- On Tue, 2/28/12, Amir <ashahzad.1978@...> wrote:
>
>
> From: Amir <ashahzad.1978@...>
> Subject: [MAXIMO List] Re: Add changeby field in Item Application
> To: MAXIMO@yahoogroups.com
> Date: Tuesday, February 28, 2012, 8:33 PM
>
>
>
>  
>
>
>
> Dear Parveen,
>
> would you like to send me some sample java code for my reference and the procedure how i can or where i can put these jave code. i will be very grateful. my email is ashahzad.1978@... your help is really appreciated.
>
> Regards
> Amir Shahzad
>
> --- In MAXIMO@yahoogroups.com, "in2data" <in2data@> wrote:
> >
> > Hi,
> >
> > Since the item master is not changed very often you can turn on auditing for that table and the attributes you want to audit. The audit table will have every change made with the user that made the change.
> >
> > Dave Bone
> >
> > --- In MAXIMO@yahoogroups.com, Praveen M <praveen.muramalla@> wrote:
> > >
> > > You need to write some java code here. I can provide you some sample code
> > > if you are comfortable with writing java.
> > >
> > > Setting a default value will only work for the first time, but for the
> > > subsequent changes the Change by won't get updated.
> > >
> > > praveen
> > >
> > > On Tue, Feb 28, 2012 at 5:14 AM, Amir <ashahzad.1978@> wrote:
> > >
> > > > **
> > > >
> > > >
> > > >
> > > > --- In MAXIMO@yahoogroups.com, "Amir" <ashahzad.1978@> wrote:
> > > > >
> > > > > Dear All,
> > > > >
> > > > > i want to add changeby field in item application. if somebody can add or
> > > > change Item number, description or any other filed in the item application
> > > > the changeby field can popluate the personid/ person name itself.
> > > >
> > > > i also add changeby field in PO application it works. but in item table
> > > > there is no changeby field, if i add the changeby field it cannot populate
> > > > the personid. please your help is really Appreciated.
> > > >
> > > >
> > > > > Maximo 6.2.4
> > > > > Bea Weblogic
> > > > > Windows Server 2003
> > > > >
> > > > > Regards
> > > > > Amir Shahzad
> > > > >
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > >
> >
>
>
>
>
>
>
>
>
>
>