• Komal Sethi
  • NEWBIE
  • 0 Points
  • Member since 2020

  • Chatter
    Feed
  • 0
    Best Answers
  • 2
    Likes Received
  • 0
    Likes Given
  • 4
    Questions
  • 3
    Replies
how to write a trigger on task, only system admin user should be able to delete the task.
How to write a trigger when new contact is create & update, send email template to user enter email id in Contacct Field
Write a trigger on Opportunity LineItem , when Line Item is deletes, delete an opportunity as well with Map.?
Write a trigger on Opportunity LineItem , when Line Item is deletes, delete an opportunity as well.?
Write a trigger on Opportunity LineItem , when Line Item is deletes, delete an opportunity as well.?
How to write a trigger when new contact is create & update, send email template to user enter email id in Contacct Field
Write a trigger on Opportunity LineItem , when Line Item is deletes, delete an opportunity as well.?
Hi ,

Can some one help me to write a trigger to prevent delete of all Account records and its supporting test class.
Doesn't matter who the user is (Sys Admin/Custom Profile/Read Only...etc), the user should not be able to delete the account record.
There cannot be any exception.

Any help is appreciate.
Thanks!
A