You need to sign in to do that
Don't have an account?
P.kumar 27
select id , subject ,WhatId,Status,OwnerId,WhoId,Priority, What.Name,ActivityDate,TaskSubtype,Who.Name,Description From Task Where WhatId =:OppId AND Status !='Completed'
Hi All,
Can anyone please help me out , why iam getting error while using this query .
Iam trying to get all tasklist which are related to opportunity
Can anyone please help me out , why iam getting error while using this query .
Iam trying to get all tasklist which are related to opportunity
I have run the above query in anonymous block it is working fine.
Id oppId = '0062800000DXXXX;
system.debug([select id , subject ,WhatId,Status,OwnerId,WhoId,Priority, What.Name,ActivityDate,TaskSubtype,Who.Name,Description From Task Where WhatId =: oppId AND Status !='Completed']);