Skip to main content

Notifications

Microsoft Dynamics NAV (Archived)

How to Disable Delete Action For Particular Users in Transfer orders form

Posted on by 240

Could you please any tell me how to Disable Delete actions for Particular users in Transfer orders(Card and List Page).

*This post is locked for comments

  • ravuri suresh Profile Picture
    ravuri suresh 240 on at
    RE: How to Disable Delete Action For Particular Users in Transfer orders form

    thank you to all

  • Suggested answer
    Maneesha Profile Picture
    Maneesha 5,889 on at
    RE: How to Disable Delete Action For Particular Users in Transfer orders form

    i have simple solution for you , 

    Just remove this delete permission form your particular permission set  

    1. Transfer header (actually this is enough) 

    cccc.JPG

  • Suggested answer
    Alexander Ermakov Profile Picture
    Alexander Ermakov 28,094 on at
    RE: How to Disable Delete Action For Particular Users in Transfer orders form

    Depending on the condition if you have access to development environment or not, you can use suggestions of Yogesh or Hasitha respectively.

  • Suggested answer
    Amol Salvi Profile Picture
    Amol Salvi 18,694 on at
    RE: How to Disable Delete Action For Particular Users in Transfer orders form

    Go with Yogesh suggestion..

  • Verified answer
    Yogesh Kulkarni_ Profile Picture
    Yogesh Kulkarni_ 1,762 on at
    RE: How to Disable Delete Action For Particular Users in Transfer orders form

    You can add a boolean field in User Setup table and set it to TRUE for whichever users you want to allow to delete the Transfer Order.

    Then you can write a code on OnDelete trigger of Transfer Header table to check if the boolean for logged-in user from User Setup is TRUE or not.

    If the boolean is FALSE then throw an error message.

     

    -Yogesh Kulkarni
    Please verify, if you find answer helpful.

  • Verified answer
    Hasitha Jayasuriya Profile Picture
    Hasitha Jayasuriya 645 on at
    RE: How to Disable Delete Action For Particular Users in Transfer orders form

    Hi Suresh,

    You can create Permissions for each action and only assign the actions needed.

    Permission.PNG

    Regards,

    Hasitha J

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans