We have an n:n relationship between two custom entities.
For ex: Company and Employee, If I am creating an employee under XXX Company and if he is already present in XXX then I should show an error message to the User.
My requirement is to validate couple fields like Employee name, ID, Phone number (If this matches already with the same company XXX then I should this error that this information already matches)
Please let me know the different best possible ways on how I can achieve this. Any step by step approach is highly appreciated.
Thanks!
*This post is locked for comments
I have the same question (0)