Maximo Open Forum

 View Only
  • 1.  Object Structure for Ad-Hoc Report

    Posted 12-01-2022 09:11

    I'm seeking directions on how to configure an object structure and needed relationships to show work orders that have open purchase order records. Looking at fields like WONUM, DESCRIPTION, STATUS, PONUM, POSTATUS, etc.

    I appreciate all your help.


    #Administration
    #Customizations
    #EverythingMaximo
    #Reporting

    ------------------------------
    Stevie Holloway
    U.S. Bureau of Reclamation
    ------------------------------


  • 2.  RE: Object Structure for Ad-Hoc Report

    Posted 12-01-2022 09:42
    Stevie,
    you likely can get away with a Object Structure with the first object as WORKORDER and then a second/child with POLINE and you will see that there are a few out of the box relationships. You can use one of the existing or create a new one and tailor it to your needs (ie specific statuses). For example the VIEWPOLINE relationship is currently used on the Work Order 'View --> PO Information' action as an example. With these two objects you should have all the key fields you mentioned.

    Mike

    ------------------------------
    Michael Marsonet
    MRM-EAM Consulting Inc.
    ------------------------------



  • 3.  RE: Object Structure for Ad-Hoc Report

    Posted 12-01-2022 13:25
    Mike,
    Thank you so much for your reply. I will try this and see how it works out.

    Stevie

    ------------------------------
    Stevie Holloway
    U.S. Bureau of Reclamation
    ------------------------------



  • 4.  RE: Object Structure for Ad-Hoc Report

    Posted 18 days ago

    Hi @Stevie Holloway!

    This query will give you data from polines, po and workorder and start in POLINE. if you need to start with workorder, it should be different.

    In the first relationship (first join) you can search for some status of the PO, some specific type of PO (like open POs or another different type of PO). If you give me more information, I can try to create here a object structure and then send you my progress.
     
    Regards!

    select po.ponum, po.revisionnum, po.siteid, po.status, poline.itemnum, poline.storeloc, poline.orderqty, poline.orderunit, poline.receivedqty, poline.enterdate, poline.enterby, poline.description, poline.refwo wo, workorder.description, workorder.status
    from poline 
    left join po on poline.ponum = po.ponum and poline.revisionnum = po.revisionnum and po.siteid = poline.siteid
    left join workorder on poline.refwo = workorder.wonum
    where poline.refwo is not null



    ------------------------------
    Martin Fabra
    ARSAT S.A. - Actively seeking employment
    ------------------------------



  • 5.  RE: Object Structure for Ad-Hoc Report

    Posted 18 days ago

    Thank you for the query.



    ------------------------------
    Stevie Holloway
    Tufts University
    ------------------------------