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

Re: Transaction notification for UDF field

$
0
0

Hi,

     Try the below TN

 

If @transaction_type in ('U') and @object_type in ('17')

begin

if exists ( select a.DocEntry from ORDR a

where 

a.DocEntry = @list_of_cols_val_tab_del AND a.U_UDF1 <>''  and a.U_UDF2 IS NULL and a.U_UDF3 IS NULL)

 

begin

set @error = 18

set @error_message = 'MK- Please also fill the data in UDF2 & UDF3'

end

END

 

Regards,

Manish


Viewing all articles
Browse latest Browse all 8667

Trending Articles



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