Try Microsoft Edge
A fast and secure browser that's designed for Windows 10
I have a specific module that generates roles.
I generate new role that has access to Accounting payable> journal> invoice journal and I assign it to user1.
I login with this user.
When I clicked on button validate I have this error message:"Access denied to method TRANSFER of class LedgerPostingGeneralJournalController"
When I verify the menuItem called by this button "LedgerJourPost" in menuItems > Action:
its normal to have menuItem without declaring the object?
Take a look at enableButtonsActive() method of LedgerJournalTable form. In this method you can find that menuItem depends of journal type.
but I don't understand the source of this error message
Check this link: https://community.dynamics.com/ax/f/33/t/97334
Hi Rustem,Thanks for your reply.
I follow the suggestion in the link.when I add this method to role I don't have error message.
but when I generate another role I get the same issue,so I need something dynamic means : when I generate new role that has access to Accounting payable> journal> invoice journal I don't get error message.
You want to add the server methods to privilege through x++ ?
its the same case to : Access denied:SalesFormletter_invoice
Business Applications communities