Showing Reservation Details before check-in

Top  Previous  Next

DISCLAIMER: This article involves Advanced Customizations, which can be technically challenging to get working and is not part of standard support.  This is programming and must be done precisely or the results can be unpredictable.  This information is provided as a service for those who have the technical skills to work through it -- we cannot help you solve any issues with getting it working.  For more information about Advanced Customizations, see the full documentation:

https://campgroundmaster.com/help/overview32.html

 

 

This example shows how to use an Event Action to automatically open the Reservation Details dialog when checking in a customer.  (Version 4.0 or later required.)  This may be useful if you want to review the information before doing the check-in.  

 

1. Go to Maintenance / Advanced Customizations / Event Actions.

 

2. Click Add Event Action.

 

3. Enter an Action Name, like "Resv Details before check-in".

 

4. For the Event Trigger, select "Check in reservation, before".

 

5. For the Action expression, enter:

 

EditReservation(ThisResv())

 

That's all there is to it.

 

To get fancier and only do this only under certain conditions,such as not having How-heard filled in, with a message beforehand to indicate why it's going to Details, then use this Action expression (be sure to copy it exactly -- every quote and back-slash is important):

 

iifq(Resv:Resv_HowHeard = "", 'Evalq(\'MessageBox("How-Heard has not been set!  Please set it in the following Reservation Details window.")\', \'EditReservation(ThisResv())\')','.F.')

 

There are a lot of other possibilities, and potentially you could even use this to abort the check-in if conditions still aren't met after editing the reservation details.

 


Page URL https://CampgroundMaster.com/news/viewngreservationdetailsbef.html

Campground Master Home