Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Reservation not allowed when title matches invalid.

b25B25__Title__c == 'invalid'

Reservation not allowed when Resource name = invalid
b25B25__Resource__r.Name == 'invalid'

Reservation not allowed when Reservation title matches reservation notes.

b25B25__Title__c == B25__Notes__c

...

  • Reservation not allowed when overlapping with other reservations, not taking into account reservation with status “Canceled” AND status “cancellled”“Temporary”

COUNT(FILTER(overlapping_reservations AS item, item.b25__status__r.name != ‘Canceled’ AND item.b25__status__r.name!="Temporary")) > 0

...

  • Reservation not allowed when the resource has no availability and the checkbox overbooking is allowed overbookable is disabled.

b25B25__Resource__r.overbookable Overbookable__c == false AND COUNT(matchingAvailabilities) == 0

  • Reservations are not allowed when there are no availability where the availabilty availability type matches the reservation type.

...

B25__Quantity__c > MIN(matchingAvailabilities, capacityCapacity__c)

  • Reservations are not allowed when going over the sum of all availabilities' capacity

B25__Quantity__c + SUM(overlappingReservations, B25__Quantity__c) > SUM(matchingAvailabilities, capacityCapacity__c)

  • Reservations are not allowed when no capacity or different gender.

...