【问题标题】:How to get those Record whose Activity Created or Change in last 24 hours in CRM如何在 CRM 中获取过去 24 小时内创建或更改活动的记录
【发布时间】:2014-02-01 10:08:55
【问题描述】:

我正在创建 CRM 2011 Fetch-xml 报告并希望获取在过去 24 小时内活动已更改或创建的联系人。 我该怎么做。

【问题讨论】:

  • 您应该至少提供您尝试过的示例或您不理解的 fetch 语句的特定部分!

标签: reporting-services dynamics-crm-2011 fetchxml


【解决方案1】:

首先检索所有联系人,然后内部加入活动,然后添加一个条件以仅在过去 24 小时内修改这些活动。

<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="true">
  <entity name="contact">
    <attribute name="fullname" />
    <attribute name="telephone1" />
    <attribute name="contactid" />
    <order attribute="fullname" descending="false" />
    <link-entity name="activitypointer" from="regardingobjectid" to="contactid" alias="ac">
      <filter type="and">
        <condition attribute="modifiedon" operator="last-x-hours" value="24" />
      </filter>
    </link-entity>
  </entity>
</fetch>

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2014-09-17
    • 2019-05-21
    • 1970-01-01
    • 1970-01-01
    • 2012-10-30
    • 2017-09-23
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多