5 respuestas
Resolved the error. Since the custom object has a lookup relationship to Accounts, I had to Select from that rather than Account.Ex:SELECT Id, Name, Account__r.Name, Account__r.Previous_CMR__c, Account__r.PC_Users__c, Certified_Independent_Consultant__c FROM Third_Party_Product_Charges__c WHERE Account__r.Opportunity_Stage__c = 'Closed Won' AND Certified_Independent_Consultant__c != '' AND CIC_Contract_Date__c > 2022-12-01