Booking Multiple Resources Under One Reservation (Resource Reservation Database)

Currently as it is, making reservation for different resources for the same schedule requires the user to create individual reservation documents for each resource. Is there an easier way to get around this? Maybe allowing the selection of multiple resources in one reservation.

I have tried modifying the “New Reservation” form to allow multiple values in the Resource field. However, when trying to save the document, an error message pops up: “Error accessing product object method”

By modifying the code to provide error handling, I have narrowed down the issue being caused by a class member function being called. The function in question is:

vBEObject.RefreshInfo()

Under the “CSEventNotes” class, the variable vBEObject appears to be a variant that when initialized, may take the form of an object of any of the following class:

  • NotesCSEventOwnerDocument

  • NotesCSReservationDocument

  • NotesCSEventParticipantDocument

None of the above class are defined anywhere within the database, and no results are shown on the help contents as well. This makes it impossible to pinpoint the exact cause of the error.

Any help on this will be very much appreciated.

Subject: Can’t get there from here

The subject is tongue in cheek but it is accurate for the direct booking case. The R&R template was not designed or intended to reserve multiple rooms with a single request. It was designed to reserve a single room or resource at a time.

If you want to book multiple rooms at one time you need to create the reservation on your Calendar. From there you can book any number of rooms (including rooms in different R&R databases). Notes handles generating all of the workflow to R&R so you do not have to.

For a very long time now we have strongly recommended against direct bookings of R&R. There are many benefits to booking from your Calendar instead of directly in R&R database:

1: You do all of your meeting arrangements in 1 place, not 2 (or more). You do no need to juggle different meeting attendee scheduling from your Calendar and then finding and reserving different rooms in potentially different databases. Working in your Calendar alone saves time and energy.

2: Rooms are automatically updated when meetings move or are cancelled. If you manually book rooms then you need to remember to reschedule them as well when a meeting moves or is cancelled. Failing to do so could result in not having a room when you need it or keeping a room from being used by others when you do not actually need it any more.

3: Room information and room changes are automatically relayed to meeting participants. If you booked them separately then you would need to remember to update that info on the calendar version and then update your invitees.

4: Booking from your Calendar allows the system to more easily notify you if you do not get the room you wanted. If a room is booked for some of your repeating meeting dates or the room owner decides in 2 days that you are going to be bumped, the system will send you Decline notice that appears in your Inbox so you are made aware of the potential problem with your meeting. When direct booking the system does not send you any such emails so the onus is on your to go and recheck.

Sure there are those times when you may need to direct book (e.g. my substitute AA does not have access to my Calendar and I need a meeting set up ASAP). However those are exceptions rather than the rule.

If you really, really, really want to go and modify the R&R database to allow multiple room bookings from a single form then knock yourself out.

Make sure your template changes generate separate requests to each room (and only those rooms in that R&R dB!). You cannot simply make some items multivalued and have it work. That wont work for cases where all the names are not available (or some have owner requirements and others do not). You MUST make separate requests for each room you want so they can be processed separately by room owners & the Rooms and Resource Manager task.

Bruce

IBM

Subject: Booking Multiple Resources Under One Reservation (Resource Reservation Database)

All three are examples of undocumented ad-hoc product classes designed to work in a particular way in particular versions of canned product databases. They’re not meant to be stable across releases; it’s a matter of somebody in the template section telling somebody in the language/core code section that his/her life would be a lot easier if there was a hook to do X in language Y. Testing only extends as far as making that one particular application work, and there’s no guarantee that they’ll do what you want them to do in your app (or that your fire suppression equipment is up to handling whatever unforeseen side-effects using the classes out of their normal context may have).

Julian Robichaux reverse-engineered most of NotesCSEventOwnerDocument; you can find the results of that here: nsftools.com - The October 2004 Blog

I haven’t seen any similar work done on the other undocumented classes.

Subject: RE: Booking Multiple Resources Under One Reservation (Resource Reservation Database)

If by “canned” you mean it is no longer supported in the latest versions of the Lotus Notes, then perhaps it would be best not to pursue dealing with the undocumented product classes.

However, is there any possible way of allowing the Resource Reservation database users to be able to reserve multiple resources (not necessarily rooms per se) on a single reservation document?

Subject: RE: Booking Multiple Resources Under One Reservation (Resource Reservation Database)

“Canned” means the templates that come in the box. They do what they do, they’re not designed to be easily modified (since they’re kind of integral to the system), and they often use undocumented code specific to them that may be changed without notice between versions.

Subject: Nope

You cannot have a single document represent a reservation for more than one room or resource. Each room or resource requires their own doc for a reservation.

Why do you need them all on 1 doc? Ease of editing is about the only reason to really “need” that. However you cannot simply edit a booked reservation to make a change. You MUST create a reschedule request that the system will process once it verifies the target room/resource is available at the new dates/times.

Bruce

IBM