Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8635

Re: Query for outstanding order

$
0
0

Hi Hari,

 

You need to turn your FROM clause around. Start with DLN1 and join ORDR. Something like this:

FROM DLN1 T0

INNER JOIN RDR1 T1 ON T0.BaseEntry = T1.DocEntry AND T0.BaseLine = T1.LineNum

INNER JOIN ORDR T2 ON T1.DocEntry = T2.DocEntry

 

Regards,

Johan


Viewing all articles
Browse latest Browse all 8635

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>