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

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Block/Gray Out "Remove" Button (linestripdelete) from Sales Order Lines

(0) ShareShare
ReportReport
Posted on by 166
Hi all!
 
We have a requirement to block the Remove button from Sales Order Lines for many user roles.  Was able to do this for Sales Orders (I believe SalesTableDelete was the Display Item), but I'm having trouble finding what needs to be done via Security Configuration for Sales Order Lines.  Was hoping it was SalesLineDelete, but not working.   Screen shot below of Remove field:
 
 
If you have an answer, maybe provide security screen shot
 
Thanks in advance!
 
Paul
I have the same question (0)
  • Suggested answer
    GirishS Profile Picture
    27,827 Moderator on at
    Hi Paul,
     
    LineStripDelete button is command button. Its not display menu item button like Sales table.
    In that case I guess you can set the access level to table.
    Navigate to Security Configuration form.
    Select your privilege >> Click on tables >> Add references >. Select SalesLine table and set it all to Deny.
     
    Another option will be adding the SalesLine table to the Privilege under permission node and set the access level.
     
    Thanks,
    Girish S.
  • GirishS Profile Picture
    27,827 Moderator on at
    I think setting the table to Deny will restrict the creation of record also.
    So better option will be doing the changes from the backend.
     
    Thanks,
    Girish S.
  • Paul V Profile Picture
    166 on at
    Hi Girish
    Thanks for looking into this for me.
    Yes, looks like denying Delete from SalesLine table grays out the Remove sales line button.
    But, it blocks access to the Order Lines (salesline) table (even after explicitly granting Read, Update and Create).  I don't understand why?
     
     
     
  • GirishS Profile Picture
    27,827 Moderator on at
    Yes, then it must be done from the backend only.
     
    Thanks,
    Girish S.
  • André Arnaud de Calavon Profile Picture
    301,037 Super User 2025 Season 2 on at
    Hi Paul V,
     
    Instead of some deny permissions, have you tried creating a new privilege for the sales orders and grant permissions for Read, Update, Create and not Delete? In that case, the data sources on the form will inherit the same permissions as granted via the privilege.
  • Community member Profile Picture
    3 on at
    Looks like you have a custom privilege called "Block From Deleting Sales Orders (TOG). Can you share the process for that similarly to what you have done below for the line item? 

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 544 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 450 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 250 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans