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

Re: Service Call Solution Able to delete

$
0
0

Hi,

 

Are you adding solution and service call at same time? If yes, try this query to block.

 

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

BEGIN

If not exists (SELECT T0.[callID] FROM OSCL T0  left JOIN SCL1 T1 ON T0.callID = T1.srvcCallID WHERE T1.[solutionID]  = 0 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 9239


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