Maximo Open Forum

 View Only
  • 1.  Searching to PM records

    Posted 20 days ago

    Hi

    Has anyone extended the PM search function in the More Search fields dialog

    Maximo provides an inbuilt search option to search by location hierarchy and returns all PM's linked to all locations in the selected location hierarchy

    It does not also select PM's associated to assets which are linked to the locations or any locations in the hierarchy

    Can any one suggest how this can be done - preference is for a preset search rather than dedicated Saved queries. 


    #MaximoApplicationSuite

    ------------------------------
    Geoff Stokes
    Naviam
    ------------------------------


  • 2.  RE: Searching to PM records

    Posted 19 days ago

    Hi Geoff, 

    Are you looking to implement the relationship in the Preventative Maintenance application? Or are you looking to implement the relationship in the Location or Assets application. 

    OOB relationships between the LOCATION, ASSETS, and PM objects exist. Your requirements will help me point you in the right direction if one exists, or build you guidelines to implement it if one does not exist.



    ------------------------------
    Fredrick Ndwaru
    Perpetual Ignition
    ------------------------------



  • 3.  RE: Searching to PM records

    Posted 19 days ago

    Hi thanks for reply

    we have a set of PM records assigned to Locations at different levels in a Hierarchy. OOB maximo returns a result using the standard Search Location Hierarchy field found in advanced search

    We also have some PM's linked to Assets which are connected to Locations in the same hierarchy

    OOB maximo does not return those records when queried using a location Hierarchy.

    We don't want to change the asset to location on the PM record but want to view a result set that contains both sets of records with the Search Location Hierarchy function

    Thanks



    ------------------------------
    Geoff Stokes
    Naviam
    ------------------------------



  • 4.  RE: Searching to PM records

    Posted 5 days ago

    Hi @Geoff Stokes,

    Are you familiar with the Maximo Hierarchy Drilldown activated by System Property mxe.webclient.extendedDrilldown?  The System Property enables an optional, extended drill-down user interface for assets and locations, displaying a single hierarchical view. (Option 1)

    Maximo Hierarchy Drilldown (Maven Asset Management) video walks you through the functionality. 

    OOB, the PM application's More Search Fields has both Asset and Location Fields. (Option 2)

    Lastly, I created the attached query. I included both Location and Asset Hierarchies, including PMNUM, to fetch the data if the UI is insufficient. (Option 3)

    SQL Server Validation: To compare 'ASSET' vs. 'LOCATIONS' outputs, change the object in line 299. 

    Oracle Validation: 


    I acknowledge that these hierarchical queries are difficult to map. These queries are my service back to this community. I acknowledge their need for many ongoing Maximo upgrades. 

    Who should I send the invoice to? My humor:😉

    Hope the community at large finds them useful. I did not have a DB2 database to test the DB2 Query.

    Best, 



    ------------------------------
    Fredrick Ndwaru
    Perpetual Ignition
    ------------------------------



  • 5.  RE: Searching to PM records

    Posted 4 days ago

    Thanks for this Frederick

    Will check into it and feedback



    ------------------------------
    Geoff Stokes
    Naviam
    ------------------------------



  • 6.  RE: Searching to PM records

    Posted 18 days ago

    He wants to put a location code on the list or searchmore screen and have it search both assets and locations together in one thing.

    It is trival from reporting to do this but nearly impossible from Maximo if you have a large dataset.  I got it working in our Dev environment but it is horribly inefficient.  

    You need to setup a relationship between PM and LocAncestor that adds a sub-query between that searchs Location and Asset together using a Nvl(:assetnum, :location).  The problem is the perspective and how Maximo treats it. The perspective is the PM table and finding the matching LocAncestor records not the other way around.  

    I am using Oracle and maybe it is different with a different database but I doubt it.  What Maximo does is convert that relationship into a correlated sub-query using an exists clause and does a full table scan.  For 80k locations and 400k assets it took about 6 minutes which is just not acceptable.  



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



  • 7.  RE: Searching to PM records

    Posted 5 days ago

    @Geoff Stokes - The SQL files did not upload. Please see the TXT versions attached. 



    ------------------------------
    Fredrick Ndwaru
    Perpetual Ignition
    ------------------------------



  • 8.  RE: Searching to PM records

    Posted 5 days ago
      |   view attached

    Oracle Query



    ------------------------------
    Fredrick Ndwaru
    Perpetual Ignition
    ------------------------------



Newest Episode
Ep. 5 | Make Manage Feel Like Home with Configuration, Not Customization

Watch Steven Shull and Phil Runion discuss how IBM Maximo Manage teams can make the system feel more familiar, useful, and aligned to their business through configuration instead of customization.

MORE by Naviam Episode 5 cover
Watch Episode 5
Also available: Ep. 4 | System Properties in IBM Maximo