On the Opportunity object I need to reference the industry sector of the Opportunity Contact Role junction object.
One Opportunity has multiple Opportunity Contact Role relationships. If at least one contact has the Maritime industry, I need a field on the Opportunity saying 'Maritime'. If the sector is not included in the contacts, the field should just display 'Other'.
I tried to achieve it with a formula field but it is impossible to reference Opportunity Contact Role from the Opportunity since it's a master object in this case.
Roll-up Summary field is no option either.
I would be grateful for any hints.