Hi,
Try this:
IF @transaction_type IN( 'A','U') AND @object_type = '22'
Begin
IF exists (SELECT t0.docentry FROM OPOR T0 WHERE T0.[DocTotal] >= 100000.00 and t0.docentry = @list_of_cols_val_tab_del )
BEGIN
SET @error = 1
SET @error_message = 'Please enter UDF value'
END
END
Thanks & Regards,
Nagarajan