I want to be able to update the status of an account based on condition of all opportunities in an account.
According to the following, I want to be able to set an account status field as Active if Opportunity stage is closed won, and the service end date or revised service end date is less than today etc.
1) Active
- Opportunity stage is closed won, and the service end date or revised service end date is less than today
2) Open
- No opportunity stage closed won or lost, have 1+ opportunities that are in the A-E status
3) Inactive
- All opportunity stage are closed won, and service end date(s) are greater than today
4) Lost
- All opportunity stages are closed lost.