Automatic Assignment Description
That hoteldruid
can automatically assign reservations means that you can insert a
reservation giving to it a list of rooms, rather than a fixed one,
and then hoteldruid will assign it to a room of the list
considering the characteristics of the rooms and maximizing the
availability.
The characteristics of the rooms that are considered are
the maximum number of people it can host and the priority, values that
are inserted at the creation of the database and can be modified from
the table with all the rooms. The maximum number of people is
considered in that it can't be lower than number of people of the
reservation. You can still insert a reservation with more people than
the maximum of the room in which you insert it by using an extra
cost that is considered as the number of extra beds. The priority is
considered in that the rooms with the lower one are assigned
first. Finally, if more reservations are inserted contemporaneously, it
is possible to insert them in rooms close to each other.
To maximize availability hoteldruid will move reservations
between their assigned rooms if it is needed to free a room
in a requested period. Let's assume for example that we have this
situation in a hotel with 4 rooms:
01 --- 02 |
02 --- 03 |
03 --- 04 |
04 --- 05 |
05 --- 06 |
06 --- 07 |
07 --- 08 |
08 --- 09 |
09 --- 10 |
10 --- 11 |
11 --- 12 |
12 --- 13 |
|
1 | 10 |
12 |
||||||||||
2 | 11 |
1 | 2 | 4 |
13 | |||||||
3 | 8 |
7 |
5 |
|||||||||
4 | 9 |
3 | 6 |
where for simplicity there are only reservations that can be assigned
to all 4 rooms, in green, and reservations that are assigned to
only 1 fixed room, in red. If we now insert a new reservation,
number 14, in the period from day 8 to 10, hoteldruid will move
reservations 10, 1, 2 and 7 to free a room and this will be the
new situation:
01 --- 02 |
02 --- 03 |
03 --- 04 |
04 --- 05 |
05 --- 06 |
06 --- 07 |
07 --- 08 |
08 --- 09 |
09 --- 10 |
10 --- 11 |
11 --- 12 |
12 --- 13 |
|
1 | 1 | 12 | ||||||||||
2 | 11 | 7 | 4 |
13 | ||||||||
3 | 8 |
2 | 14 | 5 |
||||||||
4 | 10 | 9 |
3 | 6 |
If you tried to insert reservation 14 in a room different from
number 3 hoteldruid would have told you that it was not possible to
insert the reservation in the requested rooms. Naturally
reservations that are already begun won't be moved from the room
where they are, unless you move them manually one by one. So in the
previous example, if today was day 2, you woldn't have been able to
insert reservation 14 unless you moved before reservation 10 to
room 4.
At the moment of inserting the reservation you can choose the
list of rooms directly, specifying the numbers or the
characteristics (house, floor, number of people), or by choosing the
rate with assignment rule 2. This rule assigns to each rate a list of
rooms that are automatically selected when the rate is choosen and
no list is directly given. With assignment rule 2 you can for example
associate the rate "double room" to all rooms that can host 2
people.
Assignment rule 1 instead can be used to reserve some periods
of a room to agencies. This way hoteldruid will try not to use
these periods until it's necessary, and then will alert you before
inserting a reservation in one of them.