HelloWorld101

Print
Trigger Details
Name HelloWorld101
Label HelloWorld101
Object t203__c
Status Inactive
Api Version
Apex Code
trigger 
HelloWorld101
on
 t203__c
 (before delete, after delete, after undelete) { 
       if(Trigger.isBefore)
        {
          if(Trigger.isDelete)
          {
             if(PClass.firstRun)
            {
                 Trigger.old[0].addError('Before Account Delete Error');
                  PClass.firstRun=false;
              } 

           }

        }

}