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

Re: Disabling fields in SAP Business one

$
0
0

Hi Imran ,

 

use the below TN for certain users you want

 

If @object_type='46' AND @transaction_type IN ( 'A','U')

begin

 

 

if exists (select a.docentry from

ovpm a inner join ousr b on a.usersign2=b.userid

where (a.trsfracct<>'' or a.trsfracct is not null) and b.userSign2 in ('1')

  and  a.docentry =@list_of_cols_val_tab_del)

begin

set @error = 121

set @error_message = 'MK - you are not allowed to do this Payment'

 

end

end

 

in the b.userSign2 in ('1') add the users code you want to block.

 

 

--Manish


Viewing all articles
Browse latest Browse all 8088

Trending Articles



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