Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 46379

FetchXML

$
0
0

CRM2016 on Premisis

I have been trying to create a custom report in VS, after several problems I have decided to try and use FetchXml for the data source.  This report is on the invoice entity. It uploads fine , but when I open an invoice and run the report is always brings up the details of the first invoice in the entity, not the selected invoice. I have done a lot of reading and testing, but cannot get it to produce the report details for the currently selected invoice. The prefilter .. added this after looking at several threads, but if I'm honest .. haven't a clue as to why its there or why its not picking up the correct invoice

<fetch >
  <entity name="invoice" enableprefiltering="true" prefilterparametername="CRM_invoice" >
    <attribute name="duedate" />
    <attribute name="datedelivered" />
    <attribute name="invoicenumber" />
    <attribute name="new_invoicetype" />
    <filter/>
  </entity>
</fetch>


Viewing all articles
Browse latest Browse all 46379