samuelrz
12 months agoNew Contributor
Salesforce Read - Where Clause Syntax
I am reading a csv file from S3, and I need to perform a validation to see if the record exists, and was created within 90 days, from the Opportunity object. If it meets the below criteria, then I need to reject it. I switched from using the Salesforce SOQL snap to a Salesforce Read. I don't know if the Where field can handle multiple conditions or just one. If so, how do I format it? Thank you.
AccountId = $AccountId
and
Product_Need__c = $Product_Need__c
and
CreatedDate = LAST_N_DAYS:90