on 12-24-2009 5:21 AM
how do you link the excise and GRPO or A/P Invoice in a select query?
Hi Krishna,
IF you need the link for Excise and GRPO or A/P Invoice.
Try the below Links and Query.
Link the Excise and GRPO
SELECT *
FROM OIEI T0
INNER JOIN IEI1 T1 ON T0.DocEntry = T1.DocEntry
INNER JOIN OPDN T2 ON T2.DocNum = T1.BaseRef
Link the Excise and A/P Invoice
SELECT *
FROM OIEI T0
INNER JOIN IEI1 T1 ON T0.DocEntry = T1.DocEntry
INNER JOIN OPCH T2 ON T2.DocNum = T1.BaseRef
Try this Query, Link the Excise and GRPO in a Select Query
SELECT T0.[DocNum], T1.[BaseRef], T2.[DocNum],
T1.[ItemCode], T1.[Dscription], T1.[Quantity], T1.[LineTotal]
FROM OIEI T0
INNER JOIN IEI1 T1 ON T0.DocEntry = T1.DocEntry
INNER JOIN OPDN T2 ON T2.DocNum = T1.BaseRef
Regards,
Madhan.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
100 | |
11 | |
11 | |
6 | |
6 | |
5 | |
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.