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



需要帮助想要获取联系人与获取xml报告中的客户无关的客户记录,因为我的CRM是在线的。尝试高级查找,但无法得到它。

谢谢普里亚

这是一个

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>

最新更新