MS CRM Online:获取没有关联记录的记录

MS CRM Online : Get records where there no associated record

需要帮助想要获取联系人与帐户无关的帐户记录,因为我的 CRM 处于在线状态,所以在提取 xml 报告中。 已尝试高级查找,但无法获取。

谢谢, 普里亚

这是一个 FetchXML,告诉您帐户未与联系人关联

<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false">
  <entity name="account">
    <attribute name="name" />
    <attribute name="primarycontactid" />
    <attribute name="telephone1" />
    <attribute name="accountid" />
    <order attribute="name" descending="false" />
    <filter type="and">
      <condition attribute="primarycontactid" operator="null" />
    </filter>
  </entity>
</fetch>
<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false">
  <entity name="incident">
    <attribute name="title" />
    <attribute name="ticketnumber" />
    <attribute name="createdon" />
    <attribute name="incidentid" />
    <attribute name="caseorigincode" />
    <order attribute="title" descending="false" />
    <filter type="and">
      <condition attribute="customerid" operator="null" />
    </filter>
  </entity>
</fetch>