Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

AX 2012 Access denied in class Sales Confirm DP

(0) ShareShare
ReportReport
Posted on by 7

   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

  • Bill Fuller Profile Picture
    Bill Fuller 7 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

  • Suggested answer
    Nicolas GRANJON Profile Picture
    Nicolas GRANJON 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

  • Suggested answer
    Faisal Fareed Profile Picture
    Faisal Fareed 10,794 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
    syed baber Profile Picture
    syed baber 11,627 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.

  • Bill Fuller Profile Picture
    Bill Fuller 7 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.

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,883 Super User 2024 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?

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey Pt 2

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,883 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,569 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans