Hello Rino,
as Andrey advised, you could use a FOX formula, executed when you save the data, which will raise a message if the fields are not correctly valued.
Otherwise you could use a characteristic relationship, so some combinations won't be valid (but that may impact other areas as well).
Federico