on 03-01-2011 3:29 PM
Hello, I'm creating a report which need to know which one is a Good Receipt and a Return Component from Production Order.
I've tried to look at the table, but can't find which is the flag for Return Component and the other (Good Receipt).
Does anyone can help?
Thanks
-Flo
Hi,
Try this:
SELECT T0.DocNum as [Receipt No.] ,T1.BaseRef as [Prod Order No.] ,T1.ItemCode ,T1.Quantity
FROM OIGN T0
INNER JOIN IGN1 T1 on T0.DocEntry=T1.DocEntry
WHERE TranType is null and BaseType=202
Thanks,
Neetu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hey, it works!! thank you very much for your quick reply
Anyway, i just checked on the query result, supposedly 4 rows, but using your query, i got only rows... Then when i checked on the receipt production order, i found 1 item which Type (TranType) is Complete, what does it mean? and what is the meaning with TranType = NULL or ' ' ? So sorry, I'm a newbie in B1
Excelente respuesta, me sirvio, es justo lo que necesitaba.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
110 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.