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)

AX 2012 Access denied in class Sales Confirm DP

(0) ShareShare
ReportReport
Posted on by 9

   I am experiencing the following issue , I have user of Sales Clerk role , getting the following error:   Access Denied to method Process report in Class Sales Confirm DP.    I can find this Process report in the Class  , within the AOT  but I am unsure on how to make connection  to the role/duties to resolve the issue.   Thanks

*This post is locked for comments

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    299,823 Super User 2025 Season 2 on at
    RE: AX 2012

    Hi  Bill,

    Can you indicate what the user starts when he gets the error? How would it be possible to reproduce this error? Do you have customizations around the sales process or within this role?

  • Bill Fuller Profile Picture
    9 on at
    RE: AX 2012 Access denied in class Sales Confirm DP

    Hi Andre,

     

       User is in a booked Sales Order,  then Sales Order Pre-Confirmation >    Preview/Print     >     Original Preview       which results in a Sales Order Acknowledgement appearing when I run it under Sysadmin,   the user has been assigned the role of Sales Clerk,  and receives the error message previously described.

  • Suggested answer
    syed baber Profile Picture
    11,633 on at
    RE: AX 2012 Access denied in class Sales Confirm DP

    Hi Bill,

    The security privilege object for Sales confirmation report menu item is SalesConfirmationGenerate. Can you please confirm, if you have added this privilege under Security -> Duties for the duty of this role node and then added that Duty under Sales Clerk Role? If not, adding this should resolve this.

    Please verify and let me know if you find any issues.

    Thanks,

    Baber.

  • Suggested answer
    Faisal Fareed Profile Picture
    10,796 User Group Leader on at
    RE: AX 2012 Access denied in class Sales Confirm DP

    Hi Bill,

    Firstly Sales Clerk role is not designed for this purpose (confirming or process sales orders) for which you are trying to use it. The better role for this purpose would be Sales manager and if you don't want to give sales manager role to your users I suggest you to create a new role.

    This new role can be a copy of existing Sales Clerk or Sales Manager role and then you can change this role as per your requirements. Please be advised that you can need to take care of any changes in Duties or Privileges as changing in existing roles, duties or in privileges will lost its default security permissions which might be required in future.

    I think assiging SalesConfirmationGenerate privilege will not get it working as this privilege is already included into Sales Clerk role. You can check this by following it;

    Sales Clerk Role > Maintain sales order Duty > Generate sales confirmation reprint Privilege

    If you want to use existing security permissions rather creating new, you can do following to get your requirement working.

    1. Go to \Security\Privileges\SalesConfirmationGenerate\Permissions\Server Methods and create new server method.
    2. Give it appropriate name and assign Class SalesConfirmDP in Class property and write processReport in Method property.
    3. Change EffectiveAccess from NoAccess to Invoke

    Please verify it if it works for you or do let me know with your questions..

  • Suggested answer
    Nicolas GRANJON Profile Picture
    510 on at
    RE: AX 2012 Access denied in class Sales Confirm DP

    You can see this post that also covers the issue: https://community.dynamics.com/ax/f/33/p/108159/371207.aspx#371207

  • Bill Fuller Profile Picture
    9 on at
    RE: AX 2012 Access denied in class Sales Confirm DP

    Thanks to you all for the gracious replies and tips,   I have not yet been able to  work through them but appreciate all of the feedabck , will let you know how it goes.    Thanks, Bill

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…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Tocauer Profile Picture

Martin Tocauer 4

#2
AlissonGodoy Profile Picture

AlissonGodoy 2

#2
Community Member Profile Picture

Community Member 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans