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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Add Security privilege to a user

(0) ShareShare
ReportReport
Posted on by

Hi all,

i want to add a security privilege to a role so that any user assigned that role can only view, create and modify purchase order, but cannot delete it once created.

Thanks

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    nmaenpaa Profile Picture
    101,172 Moderator on at

    There is no out of the box privilege that does that.

    But you could copy privilege PurchTableDetailsMaintain, and go through all the entry points. On all entry points where AccessLevel is Delete, change it to Correct.

    Might not work 100% but at least it will take you close.

  • Community Member Profile Picture
    on at

    Hi thanks for your reply but now it didn't let me to create a purchase order either.

  • Suggested answer
    nmaenpaa Profile Picture
    101,172 Moderator on at

    Do you get some error message? Or you don't see a button for creating an order? Please check that action menu item PurchCreateOrder is included in the privilege.

  • Community Member Profile Picture
    on at

    I got an error that you didn't have permission to create a purchase order.

  • Verified answer
    Sefa Duman Profile Picture
    1,167 on at

    Hi,

    Create your role with using PurchTableDetailsMaintain privilege as Nikolaos mentioned. After that use overwrite permissions functionality to restrict delete permission for PurchTable and PurchLine.

    To do this go to System administration > Security > Security roles. Open and select your role and click overwrite permissions button on the actionpane. Select Tables/Fields node. And change the access level property for PurchTable and PurchLine tables.

    Best regards,

    Sefa.

  • Community Member Profile Picture
    on at

    Hi Sefa,

    Thanks for the answer it worked. One thing more i want to ask is what privilege should i add in order to allow submit purchase order?

  • Sefa Duman Profile Picture
    1,167 on at

    Hi,

    You can use PurchTableWorkflowCancelProcess privilege.

  • Community Member Profile Picture
    on at

    I tried and it gives the following error "Work item could not be created. Insufficient rights for user ABC"

  • Sefa Duman Profile Picture
    1,167 on at

    Additionally add EPPurchTableInfoView privilege to your role to fix that error.

  • Community Member Profile Picture
    on at

    Yes i found that on the forum thanks for the answer.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans