2017-06-13 55 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.

相关问题