0
我想創建一個custom
報告,它將顯示所有/任何Order
的所有相關Products
。這意味着在訂單頁面顯示所有訂單和相關產品,並且在任何訂單記錄頁面中,它應該只顯示與該訂單相關的產品。使用商業智能開發工作室的自定義報告FetchXML
此前我使用報告嚮導來做這件事,它正在按照我的要求工作。
但我不能夠做到這一點在Business Intelligence Development Studio中。
這是FetchXML
<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false">
<entity name="salesorderdetail">
<attribute name="productid" />
<attribute name="productdescription" />
<attribute name="priceperunit" />
<attribute name="quantity" />
<attribute name="extendedamount" />
<attribute name="salesorderdetailid" />
<order attribute="productid" descending="false" />
<link-entity name="salesorder" from="salesorderid" to="salesorderid" alias="ad">
<filter type="and">
<condition attribute="salesorderid" operator="eq">
</condition>
</filter>
</link-entity>
</entity>
</fetch>
我怎麼能修改此XML,以便它會像上面?