3

BIDS で大量のレポートを作成し、CRM のオンライン インスタンスに展開しました。私が抱えている問題は、次のコードです。

<fetch distinct="true" mapping="logical" output-format="xml-platform" version="1.0">
<entity name="quote" enableprefiltering="1"> 
<attribute name="quotenumber"/>
<attribute name="createdon"/>
<attribute name="ownerid"/>
<attribute name="description"/> 
<attribute name="quoteid"/> 
<link-entity name="quotedetail" alias="aa" to="quoteid" from="quoteid"> 
<attribute name="quantity"/>
</link-entity>
</entity>
</fetch>

簡単に思えますが、次のエラーが表示されます。

無効なデータ ソース: レポート タイプはサポートされていません。Microsoft Dynamics CRM Online は、FetchXML データ ソースを使用するレポートのみをサポートします。助けてください。何が悪いのかわかりません。

4

1 に答える 1

0

これでそのエラーが発生するとは思いませんが、enableprefiltering を指定するときに prefilterparametername を指定する必要はありませんか? おそらくそれが原因で FetchXML 検証が失敗するのでしょうか?

于 2012-04-03T19:10:38.917 に答える