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
    ------------------------------



Featured Podcast
Episode 1 is live: IBM Maximo Application Suite 9.2

Watch or listen to Steven Shull and Phil Runion discuss the practical MAS 9.2 updates Maximo teams should know.

Watch the Podcast
MORE by Naviam Episode 1 cover
Watch the latest episode