trigger AccountDelete on Account (before delete) {
for(account a: trigger.old)
{
if(a.Name!='todelete')
{
a.addError('You Dont have access to delete this account');
}
}
}
.......I am getting an error 'Type is not visible: account at line 2 column
7'...What it means i cant understand.Can anyone provide me solution
Original issue reported on code.google.com by janake...@gmail.com on 9 Dec 2011 at 12:42
Original issue reported on code.google.com by
janake...@gmail.com
on 9 Dec 2011 at 12:42