Quantcast
Channel: Forum CRM Development
Viewing all articles
Browse latest Browse all 1000

outer join in fetchxml

$
0
0
"How do I find the accounts that have no contacts?"

So, if I generate an advanced find filtering accounts to contacts(Primary Account).contact has data (is not null), I get a list of account that seem to have contacts.  If I switch that to has no data (is null), I get nothing.  The generated query is:

<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="true"><entity name="account"><attribute name="name"/><attribute name="address1_city"/><attribute name="telephone1"/><attribute name="emailaddress1"/><attribute name="address1_line1"/><attribute name="accountid"/><order attribute="name" descending="false"/><link-entity name="contact" from="parentcustomerid" to="accountid" alias="aa"><filter type="and"><condition attribute="contactid" operator="null"/></filter></link-entity></entity></fetch>


There doesn't seem to be any notion of outer joining in a link-entity.  Is there?

If there is how do I get it into the gui?  How might I save any modification to a "view"?

Viewing all articles
Browse latest Browse all 1000

Trending Articles



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