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

Re: credit limit (AR Invoice + Sales Order)

$
0
0

Hi,

 

Try this:

 

SELECT distinct 'true' FROM OCRD T0  INNER JOIN ORDR T1 ON T0.CardCode = T1.CardCode WHERE T0.[CreditLine] < ( T0.[Balance] +  T0.[OrdersBal] ) and t0.cardcode = $[ORDR.cardcode]

 

Thanks & Regards,

Nagarajan


Viewing all articles
Browse latest Browse all 8704

Trending Articles



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