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 Change Status to New Application

From: Praveen M (2012-02-23 17:14)

Bumping an old thread, to see if any one has implemented the status change
from list tab for more than one record, using a power app and a Custom MBO.
thanks,
Praveen
On Thu, Apr 29, 2010 at 7:51 AM, Travis Herron <therron@pcci.edu> wrote:
> **
>
>
> Running low on ideas now. . .
>
> When you try to change it on the list tab, is it throwing any kind of
> error in the UI? What status are you changing records from? Where is it
> pulling its list of valid statuses for the application?
>
> I guess what I'm going after now is that it seems like all the existing
> apps that have status changes -- workorder, asset, user, etc. -- there's a
> table that goes along with it (wostatus, assetstatus, maxuserstatus) AND
> there's a non-persistent table that runs on a Java class that controls a
> virtual set when doing a status change (wochangestatus, aschangestatus,
> perschangestatus, etc). I wonder if you have to have a similar setup on
> your custom object to make batch status changes work. I'm combing through
> Javadocs trying to find a class that will do this on a custom Mbo, but I'm
> not seeing it. . .
>
> Travis Herron
>
>
> --- In MAXIMO@yahoogroups.**com <MAXIMO%40yahoogroups.com>, "Cameron
> Brown" <cam.brown@.**..> wrote:
> >
> > Hi Travis
> >
> >
> >
> > Thanks for the suggestion.
> >
> >
> >
> > I tried that bean but I still cannot change the status of multiple
> > records on the List Tab.
> >
> >
> >
> > Cam
> >
> >
> >
> > From: MAXIMO@yahoogroups.**com <MAXIMO%40yahoogroups.com> [mailto:
> MAXIMO@yahoogroups.**com <MAXIMO%40yahoogroups.com>] On Behalf
> > Of Travis Herron
> > Sent: Thursday, April 29, 2010 9:06 AM
> > To: MAXIMO@yahoogroups.**com <MAXIMO%40yahoogroups.com>
> > Subject: [MAXIMO List] Re: Add Change Status to New Application
> >
> >
> >
> >
> >
> > Good stuff Cam,
> >
> > Maybe try this bean in the place of the one you mention below:
> >
> > psdi.webclient.**beans.common.**ChangeStatusBean
> >
> > You'd think it would be implemented correctly when the app is created. .
> > .
> >
> > Let me know if it works!
> >
> > Travis Herron
> >
> > --- In MAXIMO@yahoogroups.**com <MAXIMO%40yahoogroups.com> <mailto:
> MAXIMO%**40yahoogroups.**com> ,
> > "Cameron Brown" <cam.brown@> wrote:
> > >
> > > Hi Jaime
> > >
> > >
> > >
> > > I created a new Power Application, this is not a clone.
> > >
> > >
> > >
> > > I did the following:
> > >
> > >
> > >
> > > 1. Created a Signature Option for Change Status
> > >
> > > 2. Added the Signature Option to the Select Action Menu
> > >
> > > 3. Added the Signature Option to the Toolbar Menu
> > >
> > > 4. Granted access to the Signature Option in Security Groups
> > >
> > > 5. Copied the Change Status code from Location.xml (search for
> > > dialog id="locstatus"**) to mynewapp.xml and modified it to use my
> > column
> > > names
> > >
> > >
> > >
> > > No Java required for that part, it works when you change status on one
> > > record only.
> > >
> > >
> > >
> > > The next step I think is required is copying the List Change Status
> > code
> > > from Location.xml (search for id="list_locstatus"**) however this code
> > > includes the following:
> > >
> > >
> > >
> > > dialog
> > > beanclass="psdi.**webclient.**beans.location.**LocationChangeSt**
> atusBean"
> > >
> > >
> > >
> > > I think that bean is what is used to change the status for multiple
> > > records on the List Tab of Locations. If I am correct, I don't know
> > how
> > > to create a new bean to change status for multiple records on the List
> > > Tab of mynewapp.
> > >
> > >
> > >
> > > Cam
> > >
> > >
> > >
> > > From: MAXIMO@yahoogroups.**com <MAXIMO%40yahoogroups.com> <mailto:
> MAXIMO%**40yahoogroups.**com>
> > [mailto:MAXIMO@yahoogroups.**com <MAXIMO%40yahoogroups.com> <mailto:
> MAXIMO%**40yahoogroups.**com> ] On
> > Behalf
> > > Of jaime
> > > Sent: Wednesday, April 28, 2010 10:52 PM
> > > To: MAXIMO@yahoogroups.**com <MAXIMO%40yahoogroups.com> <mailto:
> MAXIMO%**40yahoogroups.**com>
> > > Subject: [MAXIMO List] Re: Add Change Status to New Application
> > >
> > >
> > >
> > >
> > >
> > > Did you create a new Custom application or did you clone an existing
> > > application? I am just wondering how you implemented the change status
> > > feature on a custom application without java code or was it done with
> > > java?
> > >
> > > Jaime Barnett
> > >
> > > --- In MAXIMO@yahoogroups.**com <MAXIMO%40yahoogroups.com> <mailto:
> MAXIMO%**40yahoogroups.**com>
> > <mailto:MAXIMO%**40yahoogroups.**com> ,
> > > "cambrown28" <cam.brown@> wrote:
> > > >
> > > > Hi All
> > > >
> > > > Maximo 7.1.1.5
> > > > SQL Server 2005
> > > > Windows
> > > > WebSphere
> > > >
> > > > I have created a new application. I have added a change status
> > feature
> > > to the application. This works well from the main tab of the
> > > application. I can change the status of individual records.
> > > >
> > > > I cannot however get the change status to work on more than 1 record
> > > from the list tab.
> > > >
> > > > Has anyone done this before?
> > > >
> > > > Are there any tricks to doing this?
> > > >
> > > > I am hoping for a solution that does not require Java if possible.
> > > >
> > > > Cam
> > > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
> >
> >
> >
> >
> >
> >
>
>
>


From: Praveen M (2012-02-27 13:00)

Found these high level steps,
1. Create table to store status history (table should include key from the
main table in the application and STATUS, MEMO, CHANGEBY and CHANGEDATE
fields).
2. Create a non-persistent table � this table will be used in a dialog to
set STATUS, STATUSDATE and MEMO (table should consist of STATUS, STATDATE,
and MEMO fields).
3. Create relationships from main object to status tables created in steps
1 and 2 and another one called STATUSDESC to SYNONYMDOMAIN.
4. Make sure main record in custom application has STATUS and STATUSDATE
fields.
5. Create the status list in SYNONYMDOMAIN.
6. The Mbo class for the application should extend StatefulMbo.
7. Create getStatusHandler(), getStatusListName(), getStatusHistory()
methods in Mbo class.
8. Create handler class that extends StatusHandler (the handler should be
returned in getStatusHandler() method).
9. Create classes in virtual folder for the non-persistent MboSet. Set the
STATDATE field in the add method to the current date.
10. Create classes for persistent status table. Set key field, status,
changeby and changedate in add() method.
11. Create dialogs, sigoptions, actions, toolbar button, etc.
On Thu, Feb 23, 2012 at 5:14 PM, Praveen M <praveen.muramalla@gmail.com>wrote:
> Bumping an old thread, to see if any one has implemented the status change
> from list tab for more than one record, using a power app and a Custom MBO.
>
> thanks,
> Praveen
>
>
> On Thu, Apr 29, 2010 at 7:51 AM, Travis Herron <therron@pcci.edu> wrote:
>
>> **
>>
>>
>> Running low on ideas now. . .
>>
>> When you try to change it on the list tab, is it throwing any kind of
>> error in the UI? What status are you changing records from? Where is it
>> pulling its list of valid statuses for the application?
>>
>> I guess what I'm going after now is that it seems like all the existing
>> apps that have status changes -- workorder, asset, user, etc. -- there's a
>> table that goes along with it (wostatus, assetstatus, maxuserstatus) AND
>> there's a non-persistent table that runs on a Java class that controls a
>> virtual set when doing a status change (wochangestatus, aschangestatus,
>> perschangestatus, etc). I wonder if you have to have a similar setup on
>> your custom object to make batch status changes work. I'm combing through
>> Javadocs trying to find a class that will do this on a custom Mbo, but I'm
>> not seeing it. . .
>>
>> Travis Herron
>>
>>
>> --- In MAXIMO@yahoogroups.**com <MAXIMO%40yahoogroups.com>, "Cameron
>> Brown" <cam.brown@.**..> wrote:
>> >
>> > Hi Travis
>> >
>> >
>> >
>> > Thanks for the suggestion.
>> >
>> >
>> >
>> > I tried that bean but I still cannot change the status of multiple
>> > records on the List Tab.
>> >
>> >
>> >
>> > Cam
>> >
>> >
>> >
>> > From: MAXIMO@yahoogroups.**com <MAXIMO%40yahoogroups.com> [mailto:
>> MAXIMO@yahoogroups.**com <MAXIMO%40yahoogroups.com>] On Behalf
>> > Of Travis Herron
>> > Sent: Thursday, April 29, 2010 9:06 AM
>> > To: MAXIMO@yahoogroups.**com <MAXIMO%40yahoogroups.com>
>> > Subject: [MAXIMO List] Re: Add Change Status to New Application
>> >
>> >
>> >
>> >
>> >
>> > Good stuff Cam,
>> >
>> > Maybe try this bean in the place of the one you mention below:
>> >
>> > psdi.webclient.**beans.common.**ChangeStatusBean
>> >
>> > You'd think it would be implemented correctly when the app is created. .
>> > .
>> >
>> > Let me know if it works!
>> >
>> > Travis Herron
>> >
>> > --- In MAXIMO@yahoogroups.**com <MAXIMO%40yahoogroups.com> <mailto:
>> MAXIMO%**40yahoogroups.**com> ,
>> > "Cameron Brown" <cam.brown@> wrote:
>> > >
>> > > Hi Jaime
>> > >
>> > >
>> > >
>> > > I created a new Power Application, this is not a clone.
>> > >
>> > >
>> > >
>> > > I did the following:
>> > >
>> > >
>> > >
>> > > 1. Created a Signature Option for Change Status
>> > >
>> > > 2. Added the Signature Option to the Select Action Menu
>> > >
>> > > 3. Added the Signature Option to the Toolbar Menu
>> > >
>> > > 4. Granted access to the Signature Option in Security Groups
>> > >
>> > > 5. Copied the Change Status code from Location.xml (search for
>> > > dialog id="locstatus"**) to mynewapp.xml and modified it to use my
>> > column
>> > > names
>> > >
>> > >
>> > >
>> > > No Java required for that part, it works when you change status on one
>> > > record only.
>> > >
>> > >
>> > >
>> > > The next step I think is required is copying the List Change Status
>> > code
>> > > from Location.xml (search for id="list_locstatus"**) however this
>> code
>> > > includes the following:
>> > >
>> > >
>> > >
>> > > dialog
>> > > beanclass="psdi.**webclient.**beans.location.**LocationChangeSt**
>> atusBean"
>> > >
>> > >
>> > >
>> > > I think that bean is what is used to change the status for multiple
>> > > records on the List Tab of Locations. If I am correct, I don't know
>> > how
>> > > to create a new bean to change status for multiple records on the List
>> > > Tab of mynewapp.
>> > >
>> > >
>> > >
>> > > Cam
>> > >
>> > >
>> > >
>> > > From: MAXIMO@yahoogroups.**com <MAXIMO%40yahoogroups.com> <mailto:
>> MAXIMO%**40yahoogroups.**com>
>> > [mailto:MAXIMO@yahoogroups.**com <MAXIMO%40yahoogroups.com> <mailto:
>> MAXIMO%**40yahoogroups.**com> ] On
>> > Behalf
>> > > Of jaime
>> > > Sent: Wednesday, April 28, 2010 10:52 PM
>> > > To: MAXIMO@yahoogroups.**com <MAXIMO%40yahoogroups.com> <mailto:
>> MAXIMO%**40yahoogroups.**com>
>> > > Subject: [MAXIMO List] Re: Add Change Status to New Application
>> > >
>> > >
>> > >
>> > >
>> > >
>> > > Did you create a new Custom application or did you clone an existing
>> > > application? I am just wondering how you implemented the change status
>> > > feature on a custom application without java code or was it done with
>> > > java?
>> > >
>> > > Jaime Barnett
>> > >
>> > > --- In MAXIMO@yahoogroups.**com <MAXIMO%40yahoogroups.com> <mailto:
>> MAXIMO%**40yahoogroups.**com>
>> > <mailto:MAXIMO%**40yahoogroups.**com> ,
>> > > "cambrown28" <cam.brown@> wrote:
>> > > >
>> > > > Hi All
>> > > >
>> > > > Maximo 7.1.1.5
>> > > > SQL Server 2005
>> > > > Windows
>> > > > WebSphere
>> > > >
>> > > > I have created a new application. I have added a change status
>> > feature
>> > > to the application. This works well from the main tab of the
>> > > application. I can change the status of individual records.
>> > > >
>> > > > I cannot however get the change status to work on more than 1 record
>> > > from the list tab.
>> > > >
>> > > > Has anyone done this before?
>> > > >
>> > > > Are there any tricks to doing this?
>> > > >
>> > > > I am hoping for a solution that does not require Java if possible.
>> > > >
>> > > > Cam
>> > > >
>> > >
>> > >
>> > >
>> > >
>> > >
>> > >
>> > >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>>
>>
>>
>
>