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

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,843 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,843 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,843 Moderator on at
    Yes, then it must be done from the backend only.
     
    Thanks,
    Girish S.
  • André Arnaud de Calavon Profile Picture
    303,679 Super User 2026 Season 1 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 617

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 461 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 298 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans