Quantcast
Channel: Forum CRM Development
Viewing all articles
Browse latest Browse all 1000

Reports based on the Year

$
0
0

Hello Experts,

I want to genrate a report which shows all the records created within the selected year. I have used below fetch xml. I'm not getting which condition i have to use to generate report based on the year selected in "Year" parameter. "Year" will be a parameter , which has multiple values. If a user selects any value in Year then report should run taking that Year as condition parameter.

<?xml version="1.0"?><fetch distinct="false" mapping="logical" output-format="xml-platform" version="1.0"><entity name="new_userconference"><attribute name="new_userconferenceid"/> <attribute name="createdon"/> <attribute name="new_lineofbusinessmultiline"/> <attribute name="new_email"/> <filter type="and"> <condition attribute="new_attending" value="conference" operator="eq"/> <condition attribute="createdon" operator="on" value="@Year"/>  </filter><link-entity name="contact" alias="aa" to="new_contactreference" from="contactid"> <attribute name="parentcustomerid"/> <attribute name="jobtitle"/> <attribute name="fullname"/> <attribute name="emailaddress1"/> <attribute name="telephone1"/> <order descending="false" attribute="fullname"/></link-entity> </entity> </fetch>

UserConference is custom entity, which is related to contact. I want to show all UserConference records created within the User selected year. For example, Year will be the multiselect parameter which will have values from 2013 to 2030. If User selects 2014 then all records of UserConference created in the year 2014 should be displayed.


Thanks and Regards. MadhuSudhan M



Viewing all articles
Browse latest Browse all 1000

Trending Articles



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