cancel
Showing results for 
Search instead for 
Did you mean: 

Generel Authorizations

Former Member
0 Kudos

Hi All,

I have an issue with the SAP Business One user authorizations. I cannot seem to get the authorizations set for a user to have full access to leads, read only access for customers and no authorizations for vendors. The closest I get to the above requirement is that the user can only view leads and customers but then they cannot add leads which I require. I have also managed to get them to add leads but then they have access to update customers which is a real problem for my customer! Has anyone managed do this in SAP Business One sucessfully? Please help!

Accepted Solutions (1)

Accepted Solutions (1)

former_member188440
Active Contributor
0 Kudos

Hi i think this could work via TransactionNotification


if  (@Object_type = '2 'and @transaction_type='A') or (@Object_type = '2 'and @transaction_type='U')
begin
declare @user as nvarchar (8)
set @user=(select b.user_code
from ocrd a join ousr b on a.usersign=b.userid where a.cardtype in ('S','C') and a.cardcode=@list_of_cols_val_tab_del)
if (@user in ('sales1'))/*this is the user you dont want to authorize*/
begin
set @error=3
set @error_message= ('The user "' + (select @user) + '" can create Leads only')
end
end

Former Member
0 Kudos

Hi Mauricio,

You're a star - Thanks!

I made a couple of minor adjustments and voila!

Thanks again.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

B1 authorizations has not supported field level yet. You may only get those detailed authorizations by add-on or SDK.

Thanks,

Gordon

former_member206488
Active Contributor
0 Kudos

Dear,

Set the authorizations as per mentioned in License comparison chart of SAP B1.

Check the license comparision chart at below link:

https://websmp102.sap-ag.de/~form/sapnet?_SHORTKEY=01100035870000700291&_SCENARIO=011000358700000001...