Full/Half Resource Bookings

2 posts, 0 answers
  1. Nick
    Nick avatar
    5 posts
    Member since:
    Mar 2014

    Posted 19 Aug 2019 Link to this post

         I've been tasked with writing a scheduler for football pitches. Each pitch can also be divided into two half pitches. Obviously if a half pitch is booked then the full pitch cannot be booked at the same time and I need to add a 15 minute interval between every booking. So if a half pitch is booked for 2pm the full pitch cannot be booked until 3.15pm (1 hour + 15 minutes). However, someone could book the other half for 2.15pm which means the full pitch would not be available until 3.30pm (2.15 + 1 hour + 15 minutes). I have tried to do this using resources but I cannot work out how to create a resource (pitch) which could be 1st half or 2nd half or full depending on the other bookings (appointments) around it.

    Any help / ideas / pointers would be very much appreciated. 

    Thank you!

  2. Peter Milchev
    Peter Milchev avatar
    778 posts

    Posted 22 Aug 2019 Link to this post

    Hello Nick,

    A possible approach can be using Half 1 and Half 2 as resources. Then, you can enable the Multiple Resource Values as demonstrated here.

    Then, when creating a "full pitch" match, you should check the availability in both resources, having in mind the 15minute preparation time, and create an appointment that would have both half 1 and half 2 as resource.

    Regards, Peter Milchev
    Progress Telerik

    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top