You need to sign in to do that
Don't have an account?
anil87
How to get open events to include in my count
HI Everyone ,
I want to caliculate the open activities on lead object i included yhe yasks which are isclosed = false which gives open tasks
like wise how i get open events to inclede in my count...
You don't have the concept of open/closed events - they are just events in the past or future. So you'll need to query the events where the end date/time is greater than System.now().
* Edited as I originally gave details for closed events! *
Anil,
I replied in the below post as how you can do it.Please don't repost the question :-
http://boards.developerforce.com/t5/Apex-Code-Development/Trigger-to-count-open-activities-on-opportunity/td-p/566661