Skip to Content

Which Tables are used for Query to report on all Items receipted against Purchase Order

I am using OIGN and IGN1 to get receipted date and items/quantity however this is pulling all receipted goods based in different stock transactions. I only want those receipted against Supplier Orders into our warehouse.

Any help would be greatly appreciated.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Oct 24, 2019 at 03:15 PM

    Hi Robert Heywood, you could use this Query structure:

    SELECT --
    FROM OPOR T0  
    INNER JOIN POR1 T1 ON T0."DocEntry" = T1."DocEntry"
    INNER JOIN PDN1 T2 ON T1."DocEntry" = T2."BaseEntry" AND T1."LineNum" = T2."BaseLine" AND T2."BaseType" = T1."ObjType"
    INNER JOIN OPDN T3 ON T2."DocEntry" = T3."DocEntry"
    
    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 25, 2019 at 01:39 PM

    Thanks Jhosser Romero I'll give that a go - i have a query that checks all receipts from Production Orders but we have items that don't get produced via a production order and my query i was running prevoiusly was picking up all reciepted items.

    I'll give this ago and let you know.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.