function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Gowkanapalli JanardhanreddyGowkanapalli Janardhanreddy 

how to write trigger for we can't delete records in object all users and systemadmin also ? i want show popup message we can't delete this record it has child records?

Best Answer chosen by Gowkanapalli Janardhanreddy
ShashForceShashForce
Hi,

This should help: https://developer.salesforce.com/forums/ForumsMain?id=906F0000000Aaha

If this answers your question, please mark this as the Best Answer for this post, so that others can benefit from this post.

Thanks,
Shashank

All Answers

ShashForceShashForce
Hi,

This should help: https://developer.salesforce.com/forums/ForumsMain?id=906F0000000Aaha

If this answers your question, please mark this as the Best Answer for this post, so that others can benefit from this post.

Thanks,
Shashank
This was selected as the best answer
Gowkanapalli JanardhanreddyGowkanapalli Janardhanreddy
Hi Shashank ,

thank u for ur answer  i got  my funcanality.