CRM 2011 Fetch-xml レポートを作成しており、過去 24 時間にアクティビティが変更または作成された連絡先を取得したいと考えています。どうやってやるの。
1 に答える
2
すべての連絡先を取得することから始めて、アクティビティに内部結合し、過去 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>
于 2014-02-01T13:16:09.247 に答える