Quantcast
Channel: SCN: Message List - Reporting and Printing
Viewing all articles
Browse latest Browse all 2719

Re: Need to join two queries A/R statemet and Activity report

$
0
0

Basically I see now that my where clause  for (T2.[CntctType] =6 or T2.[CntctType] =7) is incorrect. (should not be there) Now I am not sure how to get what I want.. currently it is giving me only 6 or 7 but what I want is everything on the aging (all lines)  and if it has a contract type 6 or contract type 7 show that in the column, if no 6 or 7 show blank, (so the line still shows on the report. I feel it has something to do with the below to joins and not sure how to ask for what I am looking for. left outer join OCPR T6 ON T2.CntctCode = T6.CntctCode INNER JOIN OCLT T3 ON T2.CntctType = T3.Code


Viewing all articles
Browse latest Browse all 2719

Trending Articles



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