Hi all,
what is the best way to add business rules when we create or modify relationship between entities?
In my use case, I have N:N relationship between Entity A and Entity B.
Users can relate only some Entity B records: only records that have the EndDate (custom field) >= current timestamp.
One solution is to add filter on Entity B view, but when users are adding the related entity they can switch view and use a non filtered view. In this way they can relate all B records.
1. Can we define a busienss rules on the Relationship Entity, and show an error message when a user try to create a relation on both sides?
2. Possible work-around: Is there a way to show only the filtered view when the user define the relationship?
Thanks in advance