1
我正在嘗試使用BIDS創建一些自定義報告。我的概念證明是使用報價實體。Dynamics CRM 2011創建自定義報告
我已經創建使用以下FetchXML子報告:
<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false">
<entity name="quotedetail">
<attribute name="productid" />
<attribute name="productdescription" />
<attribute name="priceperunit" />
<attribute name="quantity" />
<attribute name="extendedamount" />
<attribute name="quotedetailid" />
<attribute name="isproductoverridden" />
<order attribute="productid" descending="false" />
<link-entity name="quote" from="quoteid" to="quoteid" alias="aa">
<filter type="and">
<condition attribute="quotenumber" operator="eq" value="@quoteid" />
</filter>
</link-entity>
</entity>
</fetch>
當quoteid參數在運行時被提供這個工作。 然後我創建了以下FetchXML主要報告:
<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false">
<entity name="quote" enableprefiltering="1" prefilterparametername="CRM_FilteredQuote">
<attribute name="name" />
<attribute name="totalamount" />
<attribute name="quoteid" />
<order attribute="name" descending="false" />
</entity>
</fetch>
我得到的報價ID,這當我進入我得到以下錯誤提示:
An error occurred during local report processing. An error has occurred during report processing. Cannnot read the next data row for the dataset DataSet1. The XML passed to the platform is not well-formed XML. Invalid XML.
我看過無數的博客和文章,並嘗試了很多與過濾器和預過濾器的變化,但我不能進一步。希望有人能看到我的錯誤,並指引我朝着正確的方向前進。