2017-06-13 38 views

回答

2

假設你有一個動態部門層級,這是不可能使用FetchXML。

1

看起來你可能能夠逃脫檢索所有分部和按名稱排序。

的FetchXML了,這將是:

<fetch distinct="false" > 
    <entity name='new_division'> 
     <order attribute="new_name" descending="false" /> 
    </entity> 
</fetch> 

請注意,在CRM的最新版本已經加入到做FetchXML分層查詢使用以下運算符的能力: FetchXml Hierarchy operators

欲瞭解更多信息see this article.

相關問題