You need to sign in to do that
Don't have an account?
sai manogna
I have a contact object , phone is a field (not mandatory),but thru pagelayout i wil make the field as required and there are few triggers on the contact object.whn i create a record wil this trigger throws an error or not?
I have a contact object , phone is a field (not mandatory),but thru pagelayout i wil make the field as required and there are few triggers on the contact object.whn i create a record wil this trigger throws an error or not?
First thing is that the trigger will execute once the record will pass from the page layout. As the payout will prevent you to insert the record without phone number trigger will not fire.
Yes, one thing if you will create a record from console or data loader then it will escape and allow you to create record.
Please check the order of execution in below link you will clear.
- https://www.salesforce.com/us/developer/docs/apexcode/Content/apex_triggers_order_of_execution.htm
Hope this helps.Kindly mark this as solved if the reply was helpful.
Thanks,
Nagendra