Maximo

 View Only
  • 1.  IBM Maximo Mobile for EAM-Work order history

    Posted Thu December 21, 2023 06:25 AM
    Edited by Dario Stjepanović Thu December 21, 2023 06:26 AM

    Dear,

    I'm little confused. I have two users in same group. When I'm using mobile, Techmobile, with one user I can see workorders in option History of workorders, but with another I do not see anything. Please can you explain me what is condition for user so he can see histroy of workorders?

    I mean, both of them are in the same security group, so It can not be something in structure object, is it?

    Thank You for every proposal.



    ------------------------------
    Dario Stjepanović
    ------------------------------



  • 2.  RE: IBM Maximo Mobile for EAM-Work order history

    Posted Thu December 21, 2023 06:56 AM

    Hi Dario

    Query that Maximo Mobile using to display "Work order history" is stored in Maximo.

    Please follow these steps:

    1. Log into Maximo

    2. From the menu navigate to Integration -> Object Structures application 

    3. Find MXAPIWODETAIL object structure

    4. From "More Actions" select "Query Definition" action.

    5. In Query Definition dialog find MOBWORKHIST query clause name. There you will see query clause.

    Please execute the query using query clause from step 4 directly in database to compare the result for your users.

    Probably the differences between these two users are in MAXUSER.DEFSITE. 



    ------------------------------
    Bartosz Marchewka
    IBM Maximo Consultant
    AFRY
    ------------------------------



  • 3.  RE: IBM Maximo Mobile for EAM-Work order history

    Posted Thu December 21, 2023 08:05 AM

    Dear thank you for your answer. I see now what is problem, and problem is query. My question, is from Your perspective.Is it clever to change query in Object structure, because this query doesn't  meet my needs for showing histroy of workorders, or create new query and just update TEHNICIAN with new query?

    And also we have MOBWORKHIST in AppTechmobile.js to change:






    ------------------------------
    Dario Stjepanović
    ------------------------------



  • 4.  RE: IBM Maximo Mobile for EAM-Work order history

    Posted Thu December 21, 2023 08:23 AM

    Hi Dario,

    If I could vote I will choose solution to create custom query definition in Maximo for MXAPIWODETAIL objet structure name it as C_MOBWORKHIST and use it in src/app.xml (your first screen). If you choose this solution you don't need to worry that in the future during, for example, IFIX installation your "where clause" will be overwritten.

    You don't need to worry about AppTechmobile.js, maf-tools will take care of it. In this file there is even information like this:

    /* Generated File - Do not edit */



    ------------------------------
    Bartosz Marchewka
    IBM Maximo Consultant
    AFRY
    ------------------------------



  • 5.  RE: IBM Maximo Mobile for EAM-Work order history

    Posted Thu December 21, 2023 08:38 AM

    Hi Bartosz,


    I agree, I would also choose that same option.

    Thank you for  your replay. This is the second time you have helped me.

    All the best for the upcoming holidays.



    ------------------------------
    Dario Stjepanović
    ------------------------------



  • 6.  RE: IBM Maximo Mobile for EAM-Work order history

    Posted Thu December 21, 2023 09:03 AM

    Hi Dario,

    The pleasure is all mine. Have a nice Christmas.



    ------------------------------
    Bartosz Marchewka
    IBM Maximo Consultant
    AFRY
    ------------------------------