【发布时间】:2013-03-14 14:24:41
【问题描述】:
我有一个 fetch xml 查询,我想过滤带有日期和 时间 字段的记录。
我使用表达式在或之前,但这似乎只过滤日期(没有时间)。
FetchXml= ...
'<filter type="and">'+
'<filter type="or">'+
'<condition attribute="scheduledend" value="'+ currentdate +'" operator="on-or-before"/>'+
'<condition attribute="scheduledend" operator="null"/>'+
'</filter>'+
'</filter>'+
【问题讨论】:
-
我会使用高级查找功能,直到找到兼容的查询,然后我会将其导出为 XML ;-)
标签: dynamics-crm-2011 fetchxml