Quantcast
Channel: Microsoft Dynamics CRM
Viewing all articles
Browse latest Browse all 123975

Forum Post: RE: how to query phone calls in crm db?

$
0
0

I can get you started with this:

SELECT fc.firstname, FC.lastname, FAP2.activitypartyid, fap.*

FROM FilteredActivityPointer AS fap

LEFT JOIN FilteredActivityParty AS FAP2 ON fap.activityid = FAP2.activityid

RIGHT JOIN FilteredContact AS FC ON FAP2.partyid = FC.contactid

WHERE FAP.activitytypecodename = 'Phone Call'

AND FAP2.participationtypemask = 2

It's probably not what you're looking for, but it's a start. Otherwise there is a standard "neglected accounts" reports which you can download and see if you can get some useful out of


Viewing all articles
Browse latest Browse all 123975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>