Maximo Open Forum

  • 1.  Is there a way to determine whether a WO was generated using Frequency Criteria?

    Posted 08-08-2024 15:21

    When a user goes into the PM record and uses the "Generate Work Order" command, he has to specify whether to "Use Frequency Criteria" or not.  We would like to tap into this parameter in an autoscript.

    Does anyone know how to retrieve this parameter value?  It's in a non-persistent object, but I would think there's a way to determine what's in memory when the WO is being created.

    Thanks in advance.

    Shannon


    #WorkManagement

    ------------------------------
    Shannon Rotz
    InComm Solutions Inc.
    ------------------------------


  • 2.  RE: Is there a way to determine whether a WO was generated using Frequency Criteria?

    Posted 08-08-2024 15:26

    Depending upon the version of Maximo and the other modules installed, then possibly right now but if not then it is not hard to add it.  In my version, I see WorkOrder.PLUSCFREQUENCY and WorkOrder.PLUSCFREQUNIT but I know those are from additional modules but can't tell you for sure which ones.  

    But you can easily do the work yourself if those are not there making two new fields and use a crossover domain.  So make a field for frequency and another for the frequnit and add those fields to a crossover domain on the WorkOrder.PMNum field and you are set.



    ------------------------------
    Brad Delong
    WDW
    ------------------------------



  • 3.  RE: Is there a way to determine whether a WO was generated using Frequency Criteria?

    Posted 08-08-2024 20:22

    Hi Brad:  to clarify - this isn't about the Frequency of the PM.  This is about the user going into the PM screen and using the "Generate Work Orders" command.  Inside that dialog box, there's a choice to "Use Frequency Criteria?" or not.  If you leave the checkmark on, then you have to specify something in the "Generate WOs Due Today" field as well.

    What I want to know is:  which option did the user pick?  Did they force the work order generation by taking the checkmark off, or not?



    ------------------------------
    Shannon Rotz
    InComm Solutions Inc.
    ------------------------------



  • 4.  RE: Is there a way to determine whether a WO was generated using Frequency Criteria?

    Posted 08-09-2024 10:55

    It is unlikely that the Mbo that collected those parameters will be in the getOwner() stack. So, if it is available, you're going to have to use the active WebClientSession or something to find it. Hopefully this sets you looking in a successful direction.



    ------------------------------
    Jason Uppenborn
    Cohesive
    ------------------------------



  • 5.  RE: Is there a way to determine whether a WO was generated using Frequency Criteria?

    Posted 08-21-2024 13:24

    Thanks Jason – I kinda thought that might be the case.

     

    We've abandoned that strategy and just told the user that they will have to do a manual step.

     

     

     

    Shannon Rotz

    Maximo Certified Deployment Professional

    Maximo Certified Solution Advisor

    President, InComm Solutions Inc.

     

    (604) 562-8515 (cell)

    Shannon.rotz@incommsolutions.ca

     






  • 6.  RE: Is there a way to determine whether a WO was generated using Frequency Criteria?

    Posted 08-08-2024 15:41

    I wrote a longer response and maybe I am over thinking it.  Why not just look at the WorkOrder.PMNum as being null or not?



    ------------------------------
    Brad Delong
    WDW
    ------------------------------



  • 7.  RE: Is there a way to determine whether a WO was generated using Frequency Criteria?

    Posted 08-12-2024 10:35

    Unless the PM was overdue and not launching on its own, if the reportdate = targstartdate, then you know the user unchecked the box.  Otherwise, the targstartdate would have a date in the future of when it was actually due based on the frequency criteria.  If it has today's date, then the user ignored the frequency (unchecked the box) when creating the WO.



    ------------------------------
    gail smith
    chevron
    ------------------------------