crm-case-count-validated-soql-unit-booked-baseline

Validated SOQL for Runwal CRM case counts: Opportunity__r.StageName = ‘Unit Booked’ AND (NOT Origin LIKE ‘%Channel Partner%’) AND Owner.Name != ‘Arun Kumar T’. The Origin exclusion pattern catches both ‘Email - Channel Partner’ and ‘Channel Partner Portal’ variants with a single LIKE. Baseline with conditions 1-3 only: 222,576 cases. With KHD aging > 90 days: 99,993. With KHD < 90 days or blank: 122,583.