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

Re: Bp can not be updated by normal users

$
0
0

Hi    

     Try this

 

IF (@transaction_type in('U') AND (@Object_type = '2'))

begin

if exists (select a.CardCode from OCRD a

where a.cardcode=@list_of_cols_val_tab_del and a.UserSign2 <> '1' )

 

 

begin

set @Error = 20004

set @error_message = '"You dont have permission to update the business partner"'

End

End

 

 

--Manish


Viewing all articles
Browse latest Browse all 8082

Trending Articles



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