You need to sign in to do that
Don't have an account?
Ankit Garg 117
Limit on Quantity
Hi Gurus,
So I have a custom object called ''Banner''. Within Banner I have 2 fields called "HS_Speaciality" and "Region (z_Speciality)''.
What I am trying to achieve is 1 particular speciality can only be allocated to any particular region maximum of 3 times. Now I wan to check this across all the Banners and not just on 1 Banner. Need a trigger for this. Example- there can only be 3 Physiotherepist in New York, there may be other physioterepistr at other locations though.
So I have a custom object called ''Banner''. Within Banner I have 2 fields called "HS_Speaciality" and "Region (z_Speciality)''.
What I am trying to achieve is 1 particular speciality can only be allocated to any particular region maximum of 3 times. Now I wan to check this across all the Banners and not just on 1 Banner. Need a trigger for this. Example- there can only be 3 Physiotherepist in New York, there may be other physioterepistr at other locations though.