You need to sign in to do that
Don't have an account?
IntroAmmy
on Account if duplicate opportunity record present then throw error
I have one sceanrio,
In Account we have more than 1 Opportunity tagged and we are trying to update the one of opprtunity status from Removed to Active and if other opprtunity already present with Active status for this account then it should throw an error and not able to save the record
can someone please help on that via trigger
In Account we have more than 1 Opportunity tagged and we are trying to update the one of opprtunity status from Removed to Active and if other opprtunity already present with Active status for this account then it should throw an error and not able to save the record
can someone please help on that via trigger
Please try the below code.
Put your Status API name in place of (status api name).
You can put an Error message as per your need.
Please mark it as Best Answer if the above information was helpful.
Thanks.