Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 72043

AIF - Access Denied: You do not have sufficient authorization to modify data in database.

$
0
0

Creating purchase requisitions through AIF I am getting the following error:

cannot select a record in Purchase pools (PurchPool).Access Denied: You do not have sufficient authorization to modify data in database. 

I have created a custom Privilege, duty and role to give invoke access for the custom service I have created for purchase requisitions creation. I was expecting the user access to table would flow from the actual primary role(assigned for user to access AX thru desktop client) that is assigned to user. I custom role would be giving access only to the custom AIF service method.

I am not getting any error when accessing the PurchReqTable, as the access rights are assigned from the users primary role (assigned for user to access AX thru desktop client).

the user is able to create Purchase Requisition from the AX client. also able to access the Purchase pools records from the Purchase Requisition form.

My question is, if the user is able to access the PurchPool table from the AX client, then they should have access even through the AIF service. is that correct? 

P.S: Purchase pool is a customised field in PurchReqTable.


Viewing all articles
Browse latest Browse all 72043

Trending Articles



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