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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Restrict user with Editing records for a Role in D365 FO

(0) ShareShare
ReportReport
Posted on by 70

Hi,

Can we restrict a particular records for editing in D365 FO even though the user is having the role to delete it. Below example .

Lets say a Role Accounts Officer is having access to Trade agreement which can create/edit/delete records in TA of type sales or purchase.

Now the requirement is that client wants to restrict(not allow) the Role Accounts officer to edit the TA records of type purchase .

So the question is how can i achieve this ?

Do I need to replicate the role and remove the edit rights ? in this case I wont be able to access the sales TA as well which is not correct.

Is record level security the only approach.

Thanks,

VM

  • Suggested answer
    André Arnaud de Calavon Profile Picture
    308,247 Super User 2026 Season 2 on at

    Hi Vicky1234,

    You can achieve this with eXtensible Data Security (XDS). You can set Operation property to restricting Insert, Update, Delete or InsertUpdateDelete to rescrict access on CUD operations based on a query where you specify what is allowed or restricted.

  • Mariano Gracia Profile Picture
    on at

    Hell vicky1234,

    although both tables purchagreementheader and salesagreementheader inherits from agreementheader you should be able to give different permissions to both of them. Purchase agreement headers are controled by PurchAgreementListMaintain privilege and sales agreement headers are controled by AgreementSalesAgreementMasterMaintain, you don't have to use record level security (keep in mind that this feature is not used anymore as it is deprecated, now security policies are the way to do it). 

    So the way to achieve your goal is to play with the privileges I have told you. Whenever you want to know wich security objects are used by a specific form use the button "security diagnostics" from the options pane header

  • André Arnaud de Calavon Profile Picture
    308,247 Super User 2026 Season 2 on at

    @Mariano,

    Your statement is true about the sales and purchase agreements. I understood that the question from Vicky1234 is about the Trade agreements which is sharing the same tables for purchase prices, sales prices and the discounts.

  • Mariano Gracia Profile Picture
    on at

    André,

    you're right, then as you have proposed XDS is the only way to achieve her objective.

  • vicky1234 Profile Picture
    70 on at

    Jus to share more details below screen should show only the sales or purchase records.
    Ok I will check on xds and update 
    pastedimage1658304870681v1.png
    thanks,

  • André Arnaud de Calavon Profile Picture
    308,247 Super User 2026 Season 2 on at

    Hi Vicky1234,

    Thanks for the clarification. XDS indeed would be the way to go forward. Please update us if you made progress or have a follow up question.

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

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 284 Super User 2026 Season 2

#2
Aayush Tiwari Profile Picture

Aayush Tiwari 213

#3
Subra Profile Picture

Subra 200 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans