Dynamics 365(online) V9.0 new features(七:高階查詢中相關實體的不包含查詢支援)
本篇為系列第七篇,介紹9.0版本上的一些變化,本篇講述高階查詢的一項功能增強,雖是一處很不起眼的增強,但很多人期盼已久,那就是高階查詢中相關實體(即1:N關係)的不包含資料的查詢支援。
先來看下8.2版本的高階查詢,我以Accouts為示例,選擇查詢的相關實體是cases,目前的功能只支援accounts下有case記錄,例如case title等於XX,而並不支援查詢哪些account下沒有case記錄的。
9.0版本則對此功能進行了增強,在紅框的位置加了condition,可以對比下上面的8.2版本的高階查詢的截圖同樣是紅框部位。
當我選擇不包含資料時會給出提示,會刪除已有的condition(當前的condition是基於包含資料的條件下的)
選擇完不包含資料的condition後會提示你無法再新增條件了。
最後下載Fetch XML看下是什麼樣的
<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="true">
<entity name="account">
<attribute name="name" />
<attribute name="primarycontactid" />
<attribute name="telephone1" />
<attribute name="accountid" />
<order attribute="name" descending="false" />
<link-entity name="incident" from="customerid" to="accountid" link-type="outer" alias="aa" />
<filter type="and">
<condition entityname="aa" attribute="customerid" operator="null" />
</filter>
</entity>
</fetch>
相關文章
- Dynamics 365(online) V9.0 new features(八:虛擬實體)
- Dynamics 365(online) V9.0 new features(五:sitemap)
- Dynamics 365(online) V9.0 new features for developers(四:自動編號)Developer
- Dynamics 365(online) V9.0 new features(四:多選選項集)
- Dynamics 365(online) V9.0 new features(六:移動端支援 iFrame 和 Web 資源)Web
- Dynamics 365(online) V9.0 new features for developers(三:Web 資源本地化)DeveloperWeb
- Dynamics 365(online) V9.0 new features(三:新增兩個系統主題)
- Dynamics 365(online) V9.0 new features for developers(二:JavaScript Web 資源依賴性)DeveloperJavaScriptWeb
- Dynamics 365(online) V9.0 new features for developers(一:客戶端 API 增強功能)Developer客戶端API
- Dynamics 365(online) V9.0 new features(二:允許在窗體欄位標籤和值中進行文字換行)
- Dynamics 365(online) V9.0 new features(一:表單窗體裡的自定義sub-grid表頭顏色)
- 高階查詢
- 相關子查詢&非相關子查詢概念
- 理解索引(中):MySQL查詢過程和高階查詢索引MySql
- 資料庫高階查詢之子查詢資料庫
- Mongodb高階查詢MongoDB
- SQL高階查詢SQL
- ❖ MongoDB 高階查詢MongoDB
- UNDO相關查詢
- Dynamics 365 JS中如何查詢使用者對實體是否有某個操作許可權JS
- CURL查詢ES相關
- MySQL 相關子查詢MySql
- LINUX find的高階查詢Linux
- sql語法相關子查詢與非相關子查詢SQL
- MySQL 優化五(關聯查詢子查詢以及 in 的效率問題)(高階篇)MySql優化
- sql-server高階查詢SQLServer
- mysql高階查詢語句MySql
- MongoDB高階查詢詳細MongoDB
- 學會寫高階查詢
- sql之20高階查詢SQL
- mysql多條件過濾查詢之mysq高階查詢MySql
- 什麼是SQL 語句中相關子查詢與非相關子查詢SQL
- 鎖表的相關資訊查詢
- MySQL 之慢查詢相關操作MySql
- 表空間相關查詢
- 「Oracle」Oracle高階查詢介紹Oracle
- SQL中查詢語句內的相關應用SQL
- 查詢基表的相關檢視