Maximo

Maximo

Come for answers, stay for best practices. All we're missing is you.

 View Only
Expand all | Collapse all

Relationship between Work Order Material and PO Line Item when Item is ordered out of storeroom

  • 1.  Relationship between Work Order Material and PO Line Item when Item is ordered out of storeroom

    Posted Wed May 21, 2025 02:34 PM
    Edited by Abhilasha Wed May 21, 2025 02:36 PM

    Hello All,

    Please help me with creating a relationship between WorkOrder and POLINE when material is ordered out of storeroom. 

    I want to fetch receiptscomplete field from poline for Workorder with the same line items. (I was able to fetch receiptscomplete for lineitems which has to be directly issue because in that case prnum is populated at wpmaterial, but I am struggling in storerooms case)

    Thanks in Advance!



    ------------------------------
    Abhilasha Gupta
    ------------------------------



  • 2.  RE: Relationship between Work Order Material and PO Line Item when Item is ordered out of storeroom

    Posted Mon May 26, 2025 09:15 AM

    Hello Abhilasha,

    I assume that you meant this to be an internal PO as no vendor is involved in this Purchase order. If that's the case, have you tried with wonum in (select wonum from ponum where wonum=:wonum and siteid=:siteid and ponum in (select ponum from po where ponum=poline.ponum and siteid=poline.siteid and isinternal=1)). I don't recall the exact attribute for Internal order but check for this flag on the screen.



    ------------------------------
    Kushal Desai
    Senior Consulting Manager
    Toronto ON
    ------------------------------