Example BSV: Adv Query / Appt conflicts / Custom Button

Contains tips for configurators working with Aware IM
Post Reply
tford
Posts: 4238
Joined: Sat Mar 10, 2007 6:44 pm

Example BSV: Adv Query / Appt conflicts / Custom Button

Post by tford »

This BSV demonstrates:

1) Advanced Search ability explained at http://www.awareim.com/forum/viewtopic.php?t=1548

2) Custom button - also explained at http://www.awareim.com/forum/viewtopic.php?t=3005

3) How to ensure that new appointments do not conflict with existing appointments.

Download BSV: here.
Remove BIN extension after download



#1 Advanced Search -- uses:
FIND Appointment WHERE Appointment.Room.RoomName=LoggedInRegularUser.Room.RoomName OR LoggedInRegularUser.RoomExclude='Yes' ORDER BY Appointment.RoomName,Appointment.StartTime

Image



#2 Custom Button -- RegularUser form "Room Filter" uses:
<button type="button" onclick="AwareApp.saveForm(this)"View</button>

Note that the saving of the RegularUser form triggers the refresh of the query "Appointment Calendar for Selected Room" because RegularUser is listed in the Auto Refresh triggers.

Image




#3 - Conflicting appointments eliminated:

Three rules in Appointment BO ensure that new appointments for a particular room do NOT overlap with existing appointments.

Image
Tom - V8.8 build 3137 - MySql / PostGres
Post Reply