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

Re: SBO_SP_TransactionNotification Get Value Before Transaction

$
0
0

Hi Yoni,

 

Try this:

 

If @Object_Type ='17'and @transaction_type in('U') 

Begin

      If exists (Select 'True' From ORDR Where isnull(U_Field,'N') = 'Y' AND DocEntry = @list_of_cols_val_tab_del)

            Begin

                Set @error='-9999'

        Set @error_message='User cant change document when status is Y’

      End

End


Thank you!


Viewing all articles
Browse latest Browse all 8695

Trending Articles



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