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

Re: problem on SBO Transaction notification

$
0
0

Hi Shayan,

 

Try:

 

IF @object_type = N'MSD_Period' AND @transaction_type = N'D'

BEGIN

IF Exists (SELECT Code

FROM [@MSD_PERIOD]

WHERE Code = @list_of_cols_val_tab_del AND U_Calculated='Y')

Begin

        SET @ErrorID = 2

        SET @ErrorMessage = 'Please update this Document'                           +@list_of_cols_val_tab_del + @transaction_type + @CALC

End

END

 

Thanks,

Gordon


Viewing all articles
Browse latest Browse all 8852

Trending Articles



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