Maximo Open Forum

 View Only
  • 1.  RESTAPI Call Not returning ALL PO Lines

    Posted 06-10-2024 17:49

    When I'm making a call using the MXPO Object Structure I'm not returning all PO line information.  For example, my PO has 9 lines and I am trying to GET the 

    ponum,totalbasecost,status,POLINE.POLINEID,poline.polinenum,poline.linecost,poline.pocost.percentage

    When my result is returned I am only getting the first PO Header information and 1st PO Line information.

    Any ideas on why the other line information is not being returned?


    #Administration

    ------------------------------
    Adam Olson
    Deriva Energy
    ------------------------------


  • 2.  RE: RESTAPI Call Not returning ALL PO Lines

    Posted 06-11-2024 11:10

    Adam,

    Try the following as your oslc.selectString parameter:

    ponum,totalbasecost,status,poline{polineid,polinenum,linecost,pocost{percentage}}

    You can also use the following syntax if the objects do not exist in the object structure and you just want to use standard relationships:

    ponum,totalbasecost,status,rel.poline{polineid,polinenum,linecost,rel.pocost{percentage}}

    Hope this helps,



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



  • 3.  RE: RESTAPI Call Not returning ALL PO Lines

    Posted 06-15-2024 12:01

    Thank you Alex! This worked for me



    ------------------------------
    Adam Olson
    Deriva Energy
    ------------------------------



Newest Episode
Ep. 8 | Going Beyond Manage with Steve Hauptman

Watch Steven Shull and Steve Hauptman discuss how Maximo teams can go beyond Manage in MAS, including Health, Monitor, Predict, AI, Scheduler, Mobile, HSE, Collaborate, and MBI.

MORE by Naviam Episode 8 cover
Watch Episode 8
Also available: Ep. 7 | Maximo UI Modernization with Jordan Smith