【问题标题】:'in-year' operator in FetchXml conditionFetchXml 条件下的“年内”运算符
【发布时间】:2013-11-19 00:25:45
【问题描述】:

我在 FetchXML 条件下寻找“年内”运算符,但只找到了 'in-fiscal-year' operator

此功能是否有解决方法?

【问题讨论】:

    标签: reporting-services ssrs-2008 dynamics-crm-2011 fetch fetchxml


    【解决方案1】:

    对于非财务操作的年份,唯一的条件运算符 defined by the Schema 是:

    • 去年
    • 今年
    • 明年
    • 最近x年
    • 未来 x 年

    如果你想要一个特定的年份(例如 2008 年),最好的办法是使用 between 运算符:

    <condition attribute = 'createdon' operator='between'>
        <value>2008-01-01 00:00:00</value>
        <value>2008-12-31 23:59:59</value>
    </condition>
    

    【讨论】:

    • 我是这么认为的。目前我将财政年度的开始设置为当年的 1.1。
    猜你喜欢
    • 2013-03-19
    • 2015-06-06
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-12-31
    • 2021-07-15
    • 2017-12-03
    • 2013-03-22
    相关资源
    最近更新 更多