"Error accessing product object method" when creating reservation using "Find a room at a specific time" search

Technote (FAQ)


Question

From the Resource Reservations database of DomainA, a user in DomainB receives the following error message when making a reservation:


    "Error accessing product object method"

The issue occurs only when you manually create a reservation in a Reservations database that is in a different Domain than the one your Location document is configured with and if you choose the "Find a room at a specific time" option.

Answer

This issue has been reported to Quality Engineering as SPR# KUMA5VCMGR and fixed in Domino 6.5.6 and Domino 7. Refer to the Upgrade Central site for details on upgrading Notes/Domino.


Excerpt from the Lotus Notes and Domino Release 6.5.6 MR fix list (available at http://www.ibm.com/developerworks/lotus):


    Calendaring & Scheduling
    SPR# KUMA5VCMGR - Fixed an error message when using the "find available room at specific time" search in a cross-domain environment.


To work around the issue in earlier releases, you can use the option "Find a time for a specific room."

Another workaround to consider is modifying the New Reservation form. The New Reservation form has six Search buttons. The formulas for the first two Search buttons needs to be modified as follows to prevent the error:

First Search button modified formula:
    @If(StartTime >= EndTime; @Return(@Prompt([Ok]; "Error"; "Start time should be prior to End time."));"");

    REM {make Capacity non required field};
    tmpCapacity:=@If(Capacity=""; 1; Capacity);

    @Command([ViewRefreshFields]);

    @If((@Date(StartDate) < @Date(@Now)); @Return(@Prompt([Ok];"Error";"You cannot reserve a room for a date which has already occurred."));"");
    Keyarg:="CN=*/"+"O="+Site; ResNameCheck:=@FindFreeResource(Keyarg;ResourceType;StartDateTime;EndDateTime;tmpCapacity;50);
    @If(@IsError(ResNameCheck);@Return(@Prompt([Ok];"Error";"You received the following error when trying to find a room: "+ResNameCheck));"");
    tmpResourceName:=@If(ResNameCheck=""; "No resource/room found for times and/or capacity requirements.";@Elements(ResNameCheck)>1; @Prompt([OkCancelList]; "Search results"; "More than one room is available at specified time. Make your selection.";"";@Sort(@Name([Abbreviate];ResNameCheck);[Ascending]));ResNameCheck);

    @If(@Text(tmpResourceName)="1";
    @Prompt([Ok]; "Error"; "You did not select a room");
    @Do(
    FIELD ResourceName:=@If(@Contains(tmpResourceName; "@"); @Left(tmpResourceName; "@"); tmpResourceName))
    );

    @Command([ViewRefreshFields])


Second search button modified formula
    @If(StartTime >= EndTime; @Return(@Prompt([Ok]; "Error"; "Start time should be prior to End time."));"");

    @If(StartDate="" | StartTime=""| EndTime="" ; @Return(@Prompt([Ok];"Error";"You must enter a valid Date and/or Time before you can find an available resource."));ResourceCategory="";@Return(@Prompt([Ok];"Error";"You must choose a Resource Category. If one is not available, there may be no resources available for the selected site."));"");
    @Command([ViewRefreshFields]);
    @If((@Date(StartDate) < @Date(@Now)); @Return(@Prompt([Ok];"Error";"You cannot reserve a room for a date which has already occurred."));"");
    Keyarg:="CN=*/"+"OU="+ResourceCategory+"/O="+Site;
    ResNameCheck:=@FindFreeResource(Keyarg;ResourceType;StartDateTime;EndDateTime;"";50);
    @If(@IsError(ResNameCheck);@Return(@Prompt([Ok];"Error";"You received the following error when trying to find a resource: "+ResNameCheck));"");
    tmpResourceName:=@If(ResNameCheck=""; "No resource/room found for times and/or capacity requirements.";@Elements(ResNameCheck)>1; @Prompt([OkCancelList]; "Search results"; "More than one resource is available at specified time. Make your selection.";"";@Sort(@Name([Abbreviate];ResNameCheck);[Ascending]));ResNameCheck);

    @If(@Text(tmpResourceName)="1";
    @Prompt([Ok]; "Error"; "You did not select a resource");
    @Do(
    FIELD ResourceName:=@If(@Contains(tmpResourceName; "@"); @Left(tmpResourceName; "@"); tmpResourceName))
    );

    @Command([ViewRefreshFields])


Also, make sure you have set up cross-domain addressing using a directory catalog or directory assistance following the documentation in the Domino Administrator Help.

Related information

A simplified Chinese translation is available


    Cross reference information
    Segment Product Component Platform Version Edition
    Messaging Applications Lotus End of Support Products Lotus Domino Server AIX, i5/OS, Linux, Solaris, Windows, z/OS 6.5, 6.0

Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

Lotus End of Support Products
Lotus Notes

Software version:

6.0, 6.5

Operating system(s):

Windows

Reference #:

1206924

Modified date:

2013-03-19

Translate my page

Machine Translation

Content navigation