So I have a custom object called properties Properties has a master detail link to a person account, and there is a field called property type.
I only want to be able to assign one property type per person - so a person can only have 1 residential property.
I am currently writing a trigger to do this, but I think it could be done with validation rules - which would be better as then I would not need to write unit tests etc.