function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
Hi Abhishek,What is the use case scenario? Can you explain a bit?Regards,
Karan
Hi Abhishek,
Please create a rollup summary field on Account which counts the Opportunity records.
Then create a validation rule on Opportunity with below condition:
Please replace Opp_Count__c by your API name of rollup summary field.
ISNEW() && Account.Opp_Count__c >= 1
Thanks
This ISNEW() function works only when the record is created. It will not work when you edit and save the record.
Hope the above solution works for you!
Deepak
Hi,
If the above solution works for you.
Please mark it as the best answer.
Hi Abhishek,
What is the use case scenario? Can you explain a bit?
Regards,
Karan
Hi Abhishek,
Please create a rollup summary field on Account which counts the Opportunity records.
Then create a validation rule on Opportunity with below condition:
Please replace Opp_Count__c by your API name of rollup summary field.
ISNEW() && Account.Opp_Count__c >= 1
Thanks
This ISNEW() function works only when the record is created. It will not work when you edit and save the record.
Hope the above solution works for you!
Thanks
Deepak
Hi,
If the above solution works for you.
Please mark it as the best answer.