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

Re: Report on todays invoices

$
0
0

Hi,

 

Try this query:

 

SELECT T0.[DocNum], T0.[DocDate], T0.[CardCode], T0.[CardName], T1.[SlpName] FROM OINV T0  INNER JOIN OSLP T1 ON T0.SlpCode = T1.SlpCode WHERE T1.[SlpCode] = '28' and  T0.[DocDate]  = CONVERT(VARCHAR(10),GETDATE(),110)

 

I don't think your OCRD table in your query.

 

Thanks & Regards,

Nagarajan


Viewing all articles
Browse latest Browse all 8950

Trending Articles



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