AXForum  
Вернуться   AXForum > Microsoft Dynamics CRM > Dynamics CRM: Blogs
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск Все разделы прочитаны

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 30.11.2017, 01:14   #1  
Blog bot is offline
Blog bot
Участник
 
25,459 / 846 (79) +++++++
Регистрация: 28.10.2006
powerobjects: The Elusive “NOT IN” Query Option
Источник: https://www.powerobjects.com/2017/11...-query-option/
==============


If you’ve used Dynamics 365 you’ve likely encountered the need to create a query only to find records that do not have related records of another type. Think: “Find all accounts that don’t have a contact,” these are common queries that are used for cleansing data or identifying a list of accounts which need follow-up. Until now, there has not been an easy way for users to create these queries on their own using the Advanced Find tool in Dynamics 365.

A new option has been added that now makes this not only possible, but also easy for any user who is comfortable with creating Advanced Finds.

Example: Search for ‘Accounts’ which do not have any activities

  1. Start a new Advanced Find
  2. Select the primary entity that you are looking for (eg. Accounts)
  3. Add criteria, if desired, to the primary entity (eg. Status Equals Active)
  4. Select the related entity that doesn’t have any records (eg. Activities)
  5. Choose Does Not Have Data’
*Note: While you can add additional criteria for the primary entity, you cannot include additional criteria for the related entity. In our example above, we could have searched for accounts based on the status, but we could not find accounts that didn’t have activities in the last year. For a more detailed query, you will still rely on previous options for “Not In” queries.

Learn other tips and tricks that may help you stand out from the rest by subscribing to our blog!

Happy Dynamics 365’ing!



Источник: https://www.powerobjects.com/2017/11...-query-option/
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
Быстродействие метда TaxParameters::find Ace of Database DAX: Программирование 7 01.06.2017 11:46
crminthefield: Podcast and Overview: Microsoft Dynamics CRM 2011 Update Rollup 16 Blog bot Dynamics CRM: Blogs 0 23.01.2014 03:15
Platform updates overview - 3.70.B - NAV2009 R2 Blog bot Dynamics CRM: Blogs 0 07.02.2011 22:06
wiki.dynamicsbook: Changes Made in Navision Attain 3.60 Blog bot Dynamics CRM: Blogs 0 02.09.2008 13:23
Опции темы Поиск в этой теме
Поиск в этой теме:

Расширенный поиск
Опции просмотра

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 15:52.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.