Quantcast
Viewing all articles
Browse latest Browse all 8556

Re: Service Call Solution Able to delete

Hi,

 

Yes possible by transaction notification.

 

try this:

 

IF @transaction_type in ('A','U') AND (@OBJECT_TYPE='191')

 

 

BEGIN

 

 

If exists (SELECT distinct T0.[callID] FROM OSCL T0  INNER JOIN ASC1 T1 ON T0.callID = T1.srvcCallID INNER JOIN SCL1 T2 ON T0.callID = T2.srvcCallID WHERE T1.[solutionID] <> T2.[solutionID] and T0.[callID] =  @list_of_cols_val_tab_del)

 

 

Begin

 

 

SET @error = 10

SET @error_message = 'Not allowed to delete solution'

 

 

End

 

 

End

 

 

Thanks & Regards,

Nagarajan


Viewing all articles
Browse latest Browse all 8556

Trending Articles



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