You need to sign in to do that
Don't have an account?
KPD
Opportunity and error message
Hi all.Can somone help me in writing triggers for below two scenarios.
1.Create opportunity if account is created. If Existing account is updated, then if opportunities under that account are not available then create one opportunity.
2.On a custom object check if the duplicate record is getting created on the basis of name. If duplicate record is getting created then user should get an error message "Record with same name already exist".
1.Create opportunity if account is created. If Existing account is updated, then if opportunities under that account are not available then create one opportunity.
2.On a custom object check if the duplicate record is getting created on the basis of name. If duplicate record is getting created then user should get an error message "Record with same name already exist".
As I am new to coding trying to learn how to implement through triggers for the above scenarios.Can u help me out.
Best of luck!