使用XRMToolbox的简单查询帮助

问题描述 投票:1回答:1

我正在将XRMToolbox及其工具“ Bulk Data Updater”与Microsoft Dynamics CRM一起使用。通过帐号搜索多个帐户后,我需要更新多个布尔值。我相信它需要某种JOIN。

我相信我已经构建了正确的查询,但是当我尝试批量更新(参见图片)时,下拉菜单中没有列出我需要的布尔值的属性。

当我运行此查询时:

  • 我得到所需的结果
  • 我得到了所需的特定user_id值,并且它们的状态为“ approved”,这是我需要更改的布尔值,但是由于下拉菜单中未列出“ approved”属性,因此我无法编辑这些值

<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false" >
  <entity name="contact" >
    <attribute name="user_id" />
    <link-entity name="application" from="applicant" to="contactid" >
      <attribute name="approved" />
      <link-entity name="contact" from="contactid" to="applicant" >
        <filter type="or" >
          <condition attribute="user_id" operator="eq" value="0000021" />
          <condition attribute="user_id" operator="eq" value="0000055" />
        </filter>
      </link-entity>
    </link-entity>
  </entity>
</fetch>

XRMToolbox Image

sql dynamics-crm fetchxml xrmtoolbox
1个回答
0
投票

[要在帐户上设置字段时,需要查询帐户,但要查询联系人。

© www.soinside.com 2019 - 2024. All rights reserved.