【发布时间】:2011-12-28 18:17:47
【问题描述】:
我在 SSRS 2008 中使用 FetchXML 从 CRM 2011 创建报告。我想在报告中包含参数,以便您可以显示从日期到日期之间的记录。这是我到目前为止的查询。
<fetch>
<entity name="appointment">
<attribute name="scheduledstart" />
<link-entity name="systemuser" from="systemuserid" to="ownerid">
<attribute name="firstname" alias="ownerFirstName" />
<attribute name="lastname" alias="ownerLastName" />
</link-entity>
<link-entity name="contact" from="contactid" to="new_contactperson">
<attribute name="parentcustomerid" alias="parentaccount" />
<attribute name="new_businessunit" alias="businessunit" />
</link-entity>
<attribute name="new_contactperson" />
<attribute name="subject" />
<attribute name="new_coldernotes" />
<link-entity name="activityparty" from="activityid" to="activityid">
<attribute name="participationtypemask" alias="participationtypemask" />
<filter>
<condition attribute="participationtypemask" operator="eq" value="9" />
</filter>
<link-entity name="systemuser" from="systemuserid" to="partyid">
<attribute name="fullname" />
</link-entity>
</link-entity>
<order attribute="scheduledstart" descending="true" />
</entity>
</fetch>
我该如何做才能在日期之间进行过滤?
谢谢!
【问题讨论】:
标签: reporting-services ssrs-2008 dynamics-crm dynamics-crm-2011 fetchxml