Maximo Open Forum

 View Only
  • 1.  Adding view status history and memo option in PM application

    Posted 11-08-2021 07:11
    Hi All,

    The PM application that is available OOTB doesn't have the option to view the history and as such there is no tracking mechanism available to planners to understand the reason for inactivating/activating a PM from the draft status. There are some challenges with making the view history and memo dialog available through the customization due to the existing code that is written OOTB and would need suggestions as to how this has been handled.To make a new application stateful is pretty straightforward but we are facing challenges to amend the code and make it ready as the PM application available OOTB is already stateful but it doesnt have the features which are generally available in stateful applications like the view history dialog.

    Alternately,is there any better options to track the PM status history instead of customizing the application so that the planners can get the complete history of when a PM was activated/inactivated with the required comments.

    Thanks,
    Mahadevan
    #EverythingMaximo
    #Scheduling
    #WorkManagement

    ------------------------------
    Mahadevan Ramakrishnan
    ------------------------------


  • 2.  RE: Adding view status history and memo option in PM application

    Posted 11-08-2021 13:06
    Hi Mahadevan, 

    This might help:  https://maximodeploy.blogspot.com/2020/01/pmstatus-table-to-make-history-of-pm.html

    Thank you,
    Megha

    ------------------------------
    Megha Tatiya
    ------------------------------



  • 3.  RE: Adding view status history and memo option in PM application

    Posted 11-09-2021 03:07
    Hi Megha,

    Thanks for your help.

    I checked the article and it doesn't handle the way the memo is stored and displayed in the view history dialog. The OOTB PM class doesn't have the correct change status method to capture the memo that is entered from the change status dialog box and there is no way we can override the change status method as the OOTB change status method is passing the memo as null as per the code snippet below.Also ,the method is having default access specifier and hence not available even if we extend the OOTB PM class.

    ------------------------------
    void pmChangeStatus(String status, boolean rollToAllChildren, Hashtable changedStatusPMs) throws MXException, RemoteException
    ...
    super.changeStatus(status, (Date)null, "")

    -------------------------------------------

    Any suggestions will be appreciated.



    ------------------------------
    Mahadevan Ramakrishnan
    ------------------------------



  • 4.  RE: Adding view status history and memo option in PM application

    Posted 11-08-2021 16:29
    Hi Mahadevan, 

    Maybe adding the work log functionality would be helpful at capturing reasons behind the changes? 

    https://a3jgroup.com/add-work-log-functionality-to-other-maximo-objects/

    -Rob

    ------------------------------
    Rob Kelpe
    King County
    ------------------------------



  • 5.  RE: Adding view status history and memo option in PM application

    Posted 11-11-2021 05:57
    Dear All,

    Thanks for your feedback.

    I was able to achieve the same through Java customization. Initially I used automation script but populating memo was challenging and I extended the OOTB class and implemented the necessary logic and it is working fine.

    regards,
    Mahadevan

    ------------------------------
    Mahadevan Ramakrishnan
    ------------------------------