I'm having trouble writing a certain CRM-script.
I want all persons who DON'T have an appointment of a certain type in the future.
One solution could be to loop through each person en a SearchEngine, and then check count future appointments for each. But the customer is huge, so this would take too long for the crm-script to run.
Can this be done in a single searchengine?