Maximo Open Forum

 View Only
  • 1.  To create Change Status Action for custom application

    Posted 07-27-2023 06:21
    Edited by Christopher Winston 07-27-2023 09:30

    Hi All,

    Needed some guidance on implementing simple change status action,  for the custom application which is created using custom object.

    I am new to this  java customization and tried following below procedure got stuck.

    • created 3 objects: 1st one main object, 2nd persistence object and 3rd one non-persistence object.
    • Created Synonym domain from backend and attached in the status fields of all the 3 objects .
    • In the main object  class path: Created class file which extends statefulmbo and provided set class path which extends mboset  , not override any methods
    • In the 2nd persistence object : Created a class file which extends mbo and provided set class path which extends mboset
    • In the 3rd non-persistence object: created a class file which extends changestatus and provided set class path which extends ChangeStatusSet
    • created one dialog box and used common bean class and displayed all the fields of 3rd non-persistence  object using relationship

    By following all these still status is not getting changed.

    Please advice on the same.

    Thanks,

    Roja 


    #EverythingMaximo
    #MaximoApplicationSuite
    #MaximoForAviation
    #MaximoUserGroups

    ------------------------------
    Roja P

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



  • 2.  RE: To create Change Status Action for custom application

    Posted 07-28-2023 01:05

    Hi Roja,

    What error you are getting while trying to change the Status in the dialog box? 

    Thanks,

    Subhransu



    ------------------------------
    Subhransu Sekhar Sahoo
    PriceWaterHouseCoopers Services Pvt Ltd
    ------------------------------



  • 3.  RE: To create Change Status Action for custom application

    Posted 07-28-2023 11:34
    Edited by Roja P 07-28-2023 12:26

    Hi Subhransu, 

    I'm actually not getting any error while am trying to perform change status action. However the values are not getting saved in my main object -status field but the dailog box is working fine.

    Thanks,

    Roja 



    ------------------------------
    Roja P
    ------------------------------



  • 4.  RE: To create Change Status Action for custom application

    Posted 10-27-2023 08:55

    I would recommend you to check the status handler class and custom mbo  class and the following methods in it

    public void changeStatus(String currentStatus, String desiredStatus, Date date, String memo)--- In handler

    public void changeStatus(String status, Date date, String memo)---In your custom mbo  class



    ------------------------------
    Nidhil Chathoth
    ECCS Ltd
    ------------------------------