Hi,
I would like to add a delivery booking system to my application.
I know that calendar views can be used for this but would there be a way of restricting how many deliveries can be booked in per hour.
For example, my warehouse can accept only 4 bookings per hour, so once 4 have been booked for a particular hour then there canโt be any more scheduled for that hour slot.
Would anyone know how this could be achieved?
Thanks in advance,
Chris.
Solved! Go to Solution.
Hi Chris, I looked at the app. Hereโs my recommendation to get the base functionality working:
SELECT(Slot Times[Slot Time],
COUNT(
SELECT(Bookings[Loading Time],
AND(
[Loading Time]=[Slot Time],
[Loading Date] = [_THISROW].[Loading Date]))
)<4
)
User | Count |
---|---|
19 | |
9 | |
8 | |
6 | |
5 |