Quantcast
Viewing all articles
Browse latest Browse all 9076

Re: How can I setup an approval process? Sales Order is required when the credit limit deviation is more than or equal to the BP's credit limit? in

Hi Rajeesh,

 

Try this query

 

SELECT Distinct'TRUE'FROM OCRD T0 

WHERE T0.CardCode =$[ORDR.CardCode] AND(T0.[CreditLine] > 0 and T0.[Balance] + $[ORDR.DocTotal] > T0.[CreditLine])and t0.[DebPayAcct] <> ('1304020001')

 

I hope it helps


Viewing all articles
Browse latest Browse all 9076

Trending Articles



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