Skip to Content

Failed to find DocNum

When looking for a DocNum related to the "goods receipt" document, it does not appear in SAP, but in the corresponding table (OIGN) as well as its detail (IGN1)

1.png (120.9 kB)
2.png (129.3 kB)
3.png (132.1 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on 2 days ago


    Check detect query in attachment to SAP Note 933476.



    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on yesterday


    when you browse through the form, is the document displayed correctly ?

    To see the search query done by B1 client, you could activate detailed log through help -> Support Desk -> Options logger

    the log file is located under ProgramData\SAP\SAP Business One\Log\SAP Business One\<user>\BusinessOne

    in the client.b1logger.xxxx, you will find the query. That could help a lot

    this is the query that does the search

    if the lines are based on type 202, the search returns nothing

    SELECT COUNT(*)  FROM  "database"."OIGN" T0  WHERE T0."DocNum" = (10 )  
    AND   NOT EXISTS (SELECT U0."DocEntry" FROM  "database"."IGN1" U0  
    WHERE T0."DocEntry" = U0."DocEntry"  AND  U0."BaseType" = (202 )  ) 

    202 is type production order. So, you should look into the production menu ->stock entry

    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.