I’m faced by a problem I’m struggling to solve with the Data Scope editor.
Essentially a booking system to show available assets for a given date range.
I need to show a list of records (Assets) whose relation’s (Booking) Start and End dates fall outside a date range (New Booking Start/End).
As the Data Scope only has Any & All condition groups, if one of the records relations passes the conditions then the list is showing the Asset as available.
With a “Meet No conditions in the group”, I can easily do conditions that exclude booked assets. IE an Asset will only be shown if no related Booking overlaps the New Booking dates.
As this query is dependant on the New Bookings Start/End dates, I don’t think I can work around this with an SQL Collection or a database view