You need to sign in to do that
Don't have an account?
Shubhangi Jadhav
validation on delete button
Hi,
Anyone can help me to write trigger on order.
other than admin no one should be able to "delete" order.
Thank you.
Regards,
Shubhangi
Anyone can help me to write trigger on order.
other than admin no one should be able to "delete" order.
Thank you.
Regards,
Shubhangi
You can try the below trigger to see if it works Related: https://salesforce.stackexchange.com/questions/162598/trigger-to-prevent-deletion-of-tasks-or-attachments-except-for-admins
https://salesforce.stackexchange.com/questions/132012/trigger-to-prevent-account-deletions#
https://developer.salesforce.com/forums/?id=906F0000000MGq1IAG
Hope this helps you. Please mark this answer as best so that others facing the same issue will find this information useful. Thank you