Implement a trigger to ensure that no more than one Opportunity can be created per Account within a single day.
Implement a trigger to ensure that no more than one Opportunity can be created per Account within a single day. This scenario was asked in Deloitte interview -If a user attempts to create a second Opportunity for the same Account on the same day, display an appropriate error message. Trigger Apex Class Alternative Approach – […]