Quantcast
Channel: SCN: Message List - Restrict OutGoing Payments above 20000
Viewing all articles
Browse latest Browse all 3

Re: Restrict OutGoing Payments above 20000

$
0
0

Hi Vamsi,

 

Try this:

 

IF (@Object_Type = '46') AND (@transaction_type in (N'A', N'U'))

BEGIN

IF EXISTs (SELECT T0.DocNum FROM OVPM T0 WHERE

T0.DocNUM = @list_of_cols_val_tab_del and T0.CashSum > 20000)

BEGIN

SET @error = 10

SET @error_message = N'Cash amount >20000.'

END

END

 

Thanks,

Gordon


Viewing all articles
Browse latest Browse all 3

Trending Articles



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