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

Re: Alert if AP Invoice is not posted before 5th of Every Month

$
0
0

Hi,

 

Try this query for open GRPO that not posted to AP invoice:

 

SELECT T0.[DocNum], T0.[CardCode], T0.[CardName], T0.[DocDueDate] FROM OPDN T0 WHERE datediff(day, T0.[DocDueDate],getdate()) >=5 and  T0.[DocStatus]  ='o' and  T0.[CardCode] = 'XXX'

 

Thanks & Regards,

Nagarajan


Viewing all articles
Browse latest Browse all 9164

Trending Articles



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