Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3212

A/R Invoice with OR Details

$
0
0

Dear Experts,

 

Good day!

 

I am creating a query of A/R Invoice with Payment Details but as I execute the report, I am getting so many duplicated lines. Can someone help me on this?

 

Below is my query:

 

SELECT T0.[DocDate], T0.[DocNum], T0.[CardName], T0.[DocTotal], T1.[DocDate], T1.[DocNum], T1.[CashSum] FROM [dbo].[OINV]  T0, [dbo].[ORCT]  T1, JDT1 T2 WHERE T0.[DocDate] between [%0] and [%1] and  T2.[OcrCode2] =[%2] GROUP BY T0.[DocDate], T0.[DocNum], T0.[CardName], T0.[DocTotal], T1.[DocDate], T1.[DocNum], T1.[CashSum]

 

 

Thanks!

 

Ashley


Viewing all articles
Browse latest Browse all 3212

Trending Articles



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