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

Re: Validation on UDF

$
0
0

Hi Bhushan Verma,

 

I modify it with the table and field that i want to block but my problem is even if I update the other field it also blocks. Below is the script.

 

IF @transaction_type IN (N'U') AND  (@Object_type = N'15')

begin

if exists(select T0.docentry from ODLN T0

where T0.docentry = @list_of_cols_val_tab_del and

T0.[U_DR_No] IS NOT NULL )

begin

SET @error = 15

SET @error_message = N'UDF Update is not allowed'

end

end

 

Thanks

 

Darryl


Viewing all articles
Browse latest Browse all 3189

Trending Articles



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