Quantcast
Channel: CRM Development forum
Viewing all articles
Browse latest Browse all 8223

Grouping DateTime field in FetchXML

$
0
0

Is it possible for FetchXML to return the full date when you group by  date time field.

For example, the following FetchXML should return the 11/1/09 on billingstarton rather than 1

<?xml version="1.0" encoding="utf-16"?><fetch xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" aggregate="true"><entity name="contract"><attribute name="billingstarton" alias="billingstarton" groupby="true" dategrouping="day" /><attribute name="title" alias="title" groupby="true" /><attribute name="netprice" alias="netprice" aggregate="sum" /><filter type="or"><condition attribute="billingstarton" operator="on" value="11/01/09" /></filter></entity></fetch>

Thanks

Leo


Viewing all articles
Browse latest Browse all 8223

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>