web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Error: Access denied to method TRANSFER of class LedgerPostingGeneralJournalController in Ax 2012

(0) ShareShare
ReportReport
Posted on by

Hi,

I have created a role which is non admin but have all the permission to execute project invoice tasks like ProjInvoiceProposal , ProjInvoiceMaintain etc privileges assigned. But users who are part of this role facing an error Access denied to method TRANSFER of class LedgerPostingGeneralJournalController in Ax 2012 while posting proj proposal invoice.But Admin users can do it without any problem. 

After doing some initial research I found out that I should assigned method Transfer(of class LedgerPostingGeneralJournalController) in required privileges(part of my role) and give invoke permission type.  But I discover that we can do this only for Static method and Transfer is non static method. 

So now I don't know how to proceed ahead. kindly help.

 

Thanks

Manoj Parashar

*This post is locked for comments

I have the same question (0)
  • Srikanth Seshadri Profile Picture
    90 on at

    Hi Manoj,

    This is due to the permission to the class specified in the error. Navigate to the role, choose the privilege (transfer order) click "Override Permissions" at the header, click "Add Server Methods" and search for the class "LedgerPostingGeneralJournalController" click "filter", choose the search result and add.

    Now you should be able to post the transfer order.

    Regards,

    Srikanth

  • Community Member Profile Picture
    on at

    Hi Srikanth,

    I had the same problem and the solution you privided works. However I would like to know what consequences this action has. What is eventually altered and does this have an effect on the CAL (functional user, enterprise user, etc...).

    Regards,

    Tini

  • Community Member Profile Picture
    on at

    Indeed you can use override permissions, however, according to this article: daxpeng.blogspot.nl/.../override-permissions-in-role.html

    it can slow down performance. We chose to solve it through the AOT (also because we can better 'see' what we're doing).

    Navigate to Class: LedgerPostingGeneralJournalController  and then select 'Transfer' method. Drag the method to the desired privilege (choose a privilege > permissions > server methods).

    Greetings,

    Marta

  • danielwong Profile Picture
    5 on at

    Hi Srikanth

    Thanks plenty. Solved my problem

    Regards

    --Daniel

  • Community Member Profile Picture
    on at

    Hi Marta Schäferová

    Thank you very much to solve the problem

  • imrankhan_abdul Profile Picture
    85 on at

    Helped me, thanks !

  • Community Member Profile Picture
    on at

    Thanks Srikanth Seshadri  & Marta Schäferová  ... you explanation resolved my issue.

  • Suggested answer
    Community Member Profile Picture
    on at

    Marta's answer can be further refined as

    1. Go to AOT

    2. Open the Class LedgerPostingGeneralJournalController and expand to find TRANSFER method.

    3. Open second AOT and find the specified Role under Security > Roles

    4. Expand the specified role and under Permissions you will find Server Methods

    5. Drag TRANSFER method from first AOT on Server Methods in second AOT

  • Community Member Profile Picture
    on at

    Hi Srikanth,

    It solved my problem too, thanks alot.

    Regards,

    May Tharaphy Htun

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans