You need to sign in to do that
Don't have an account?
Thought starters please
Background
A friend runs a small hotel, 8 rooms. He wanted me to help him with CRM which I did with SFDC. We are now looking to try and build a simple reservation manager to be used be his receptionist. The reservation manager should allow the receptionist to make bookings, change and delete them.
What I have done so far
I have two objects room and reservation. The reservation has a lookup to contact and room. So I can create a reservation with a start and an end date. So at a glance I can see room booking either as a report, a list view or as a related list on the room object.
Help
I now want to make the system more intelligent.
- Validation to stop duplicate bookings
- A Visualforce page with Apex that would allow the receptionist to quickly see what is available. With the possibility of applying filters like en-suite or balcony
- Being able to split the booking should a client want to change room halfway through there stay
I'm not sure what adding an additional object would provide; simple is always the best solution.
Few pointers:
1. Re duplicate validation, you could achieve this via a workflow, or more likely a trigger which compares some unique client identifier with the dates.
2. You could certainly use a Visualforce page to achieve this, but in the vein of keeping things simple, I think you would be better of writing a custom report to do the same thing. You could then also hook this into a dashboard for some additional, but very helpful, dashboards.
3. Splitting is probably where you want to spend your time, and managing calendars can get tricky. I suggest that as a first attempt, have the system cancel the original reservation, and create two new ones. Its less messy.
HTH
Thanks for all this let you know how I go.