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
thank you to all
i have simple solution for you ,
Just remove this delete permission form your particular permission set
1. Transfer header (actually this is enough)
Depending on the condition if you have access to development environment or not, you can use suggestions of Yogesh or Hasitha respectively.
Go with Yogesh suggestion..
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.
Hi Suresh,
You can create Permissions for each action and only assign the actions needed.
Regards,
Hasitha J
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156