Created
January 31, 2020 14:01
-
-
Save shofetim/2d3a0002c0f381f402bc326aef7688e4 to your computer and use it in GitHub Desktop.
CBP Clients
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select | |
id, | |
casenumber, | |
client__r.firstname, | |
client__r.lastname | |
from case | |
where | |
status != 'Closed' | |
and client__c != null | |
and client__r.recordtypeid in ('01241000000yZEzAAM', '01241000001YbAWAA0') | |
and client__r.whs_foster_care_doe__c != NULL | |
and client__r.foster_care_admin_closure_date__c = NULL | |
and client__r.salesforce_case_id__c != NULL | |
and client__r.non_paid_active_client__c = FALSE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment