You need to sign in to do that
Don't have an account?
prasanth puvvada 4
override validation rule using trigger.
hello i worte this validaton rule on standard object called "account" rule is AnnualRevenue <= 50000
so i worote this beforetrigger and this is not working. please help me to write the correct trigger code.
so i worote this beforetrigger and this is not working. please help me to write the correct trigger code.
trigger firsttrigger on Account (before insert) { for(account a:trigger.new) { a.AnnualRevenue > 30000; } }
Thanks,
Amit Chaudhary
All Answers
Thanks,
Amit Chaudhary