Maximo Open Forum

 View Only
  • 1.  Job Plan Query for planned labor

    Posted 04-22-2024 17:43

    Hi All,  I'm looking for a query that I can run against the Maximo job plans table to find any JPs that have planned labor associated. 
    No luck so far.  Any assistance would be greatly appreciated!

    Thanks much!


    #EverythingMaximo

    ------------------------------
    Glen Holt
    King County
    ------------------------------


  • 2.  RE: Job Plan Query for planned labor

    Posted 04-23-2024 07:02

    Glen,

    The simplest way to find that data is to use the EXISTS() function in SQL. Something like this:

    exists(select 1 from joblabor where jobplan.jobplanid = joblabor.jobplanid)

    ... should return any Job Plan that has at least one Planned Labor record from the Job Plans application.

    Hope this helps,

    Alex



    ------------------------------
    Alex Walter
    A3J Group, LLC
    ------------------------------



Newest Episode
Ep. 4 | System Properties in IBM Maximo

Watch Steven Shull walk through practical IBM Maximo system properties that can improve usability, query behavior, attachment handling, and the overall Maximo user experience.

MORE by Naviam Episode 4 cover
Watch Episode 4
Also available: Ep. 3 | Work Order Role-Based Application