You need to sign in to do that
Don't have an account?

Custom validation rule - query database
Hi all,
I have the 'Event Management' app installed, which lets us manage bookings for all of our rooms. Our problem is, when adding a booking, we need a validation rule to query the Booking object and see if that room is already booked for that date.
Is it possible to check this from a validation rule? Or what other alternatives is there?
Cheers
I have the 'Event Management' app installed, which lets us manage bookings for all of our rooms. Our problem is, when adding a booking, we need a validation rule to query the Booking object and see if that room is already booked for that date.
Is it possible to check this from a validation rule? Or what other alternatives is there?
Cheers
The other alternative is to create my own add/edit page as an S-control, but hoping to avoid this.
Idea is to create a link facilitated by S-control and place it in the left narrow screen.
S-control will give list of available rooms to book or what you want like.
you can get this sample trigger in cook book as well. hope this helps !!!
Thanks a lot for the help!
Your Object - is where room details are stored.
I'm using the Enterprise Edition.