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

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Posting SAD documents - access deny to class

(1) ShareShare
ReportReport
Posted on by 100

When accountant is trying to post a SAD Document she gets an error "Access denied: PurchFormLetter_SADInvoice_PL".

This is regional functionally but it problem is to set access to class which has to server method to override role.

I've tried everything with role, with action menu item and in whole company only administrator can post a SAD document. 

Anybody had got similar problem?

*This post is locked for comments

I have the same question (0)
  • MonikaN Profile Picture
    5 on at
    RE: Posting SAD documents - access deny to class

    Marek thanks, your answer helped me!

  • Suggested answer
    Marek Korejwo Profile Picture
    40 on at
    RE: Posting SAD documents - access deny to class

    Hi,

    The issue is permission to service method in FormLetterService class. I think the method name is POSTPURCHASEORDERSAD (if it doesn't work please try other method from this class).
    Go to module

    System Administration -> Setup -> Security -> Security Role;

    choose role ;

    click "Overwrite permissions" button;

    in new window click "Add server method";

    filter by class name ("FormLetterService"), add method.

  • Suggested answer
    André Arnaud de Calavon Profile Picture
    298,020 Super User 2025 Season 2 on at
    RE: Posting SAD documents - access deny to class

    Hi Jaszym,

    To solve this problem you can add a permissions node on the security role in the AOT. You need to specify the class name and the method that appears in the error message. Note that the lookup un the method will probably not list the method name, but you can type it manually in the field. Then set the access mode to Invoke.

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Community Member Profile Picture

Community Member 2

#1
Martin Dráb Profile Picture

Martin Dráb 2 Most Valuable Professional

#1
Guy Terry Profile Picture

Guy Terry 2 Moderator

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans