Query or Retrieve Email Activites Problem

Query or Retrieve Email Activites Problem

Post by cdgwin » Thu, 07 Jul 2005 02:54:33


I'm trying to query the email activities that show under the history of
an object, specifically an account. Ive had success retrieving
activities that are not under the history but I can't seem to find the
exact method to get the ones in the history. Any help would be
extremely appreciated.

Ive used the the activity.RetrieveByObject method and the
query.ExecuteQuery method with no luck.

Thanks
Cory
 
 
 

Query or Retrieve Email Activites Problem

Post by cdgwin » Thu, 07 Jul 2005 05:47:53

I have figured out what my problem was.....

The activities were actually associated to a case that was associated
with the account(but was still showing in the history of the account).
So querying using the accountid was not doing any good, I queried using
the caseid and it started returning the values that I wanted.

Cory