+ Start a Discussion
force shahidforce shahid 

SOQL query for list of opportunities without open activities ?

Hi Friends,

I need one query  for list of opportunities without open activities . Is there any possibility for getting result without writing any code ? I need only one single query . 

Thanks in advance.
Shahid.


 
Waqar Hussain SFWaqar Hussain SF
Hi Shahid,

You can use below query to fetch all opportunity with open tasks. 
Select Id, Name, (Select Id, Subject from Tasks where IsClosed= false) from opportunity

 
force shahidforce shahid
Hi Hussain,
I need opportunities without tasks & events .