Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 46379

Custom View 'Does not Have'

$
0
0

Hi

I have created a view via the CRM SDK. Using the the following Fetch. Which is suppose to be. Leads which dont have a phone call.

System.String fetchXml =
@"<fetch mapping="logical" >

<entity name="lead" >
<attribute name="createdon" />
<attribute name="leadqualitycode" />
<attribute name="subject" />
<attribute name="fullname" />
<filter>
<condition attribute="statuscode" operator="eq" value="1" />
</filter>
<order attribute="createdon" descending="true" />
<link-entity name="phonecall" from="regardingobjectid" to="leadid" link-type="outer" >
<attribute name="subject" />
</link-entity>

<filter type="and" >
<condition attribute="regardingobjectid" operator="null" />
</filter>

</entity>

</fetch>";

This creates the view fine. However it is still returning the leads which do have a phone call. 


Viewing all articles
Browse latest Browse all 46379

Trending Articles



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