Choose your path Increase your proficiency with the Dynamics 365 applications that you already use and learn more about the apps that interest you. Up your game with a learning path tailored to today's Dynamics 365 masterminds and designed to prepare you for industry-recognized Microsoft certifications.
Visit Microsoft Learn
2020 release wave 1Discover the latest updates and new features to Dynamics 365 planned through September 2020
Release overview guides and videos Release Plan | Preview 2020 Release Wave 1 TimelineWatch the 2020 Release Wave 1 virtual launch event
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Upcoming TechTalks
My problem is to find the Trainee who has different employers between 2 entities.
I have 2 entities. 1. Training Unit Standards and 2. Training program.
I need to create an advanced find to check whether the trainee has 2 different employers.
if Trainee is enrolled in "AAA" company, I want to show the same employer in both entities. To do so, I need to find how many trainees are entered as different employers. ?
Here is my advanced find.
The result of this showing all trainees with their employers. I have added employer from both entities via edit columns. But I want to see only the different employers in both entities.
Hope, someone can resolve my issue.
Are the entities "Training Unit Standards" and "Training program" in a N: N relationship?
If so, then I would recommend you create a manual N: N relationship for the entities "Training Unit Standards" and "Training program".
In this way, we can query by the intersecting entity. Because there are lookup fields of "Training Unit Standards" and "Training program" in the intersecting entity, we can use these two lookup fields to obtain their respective "Employer" values, and then determine whether the two "Employer" values are equal.
Please refer to this blog on manually creating N: N relationship: carldesouza.com/.../
Thanks for replying.
"Training Unit Standards" and "Training program" entities are already in an N: N relationship. I've created a manual N: N relationship, but that's not helping me to find the different employers in both entities.
Can you please help me further?
I need to confirm two things.
1. Is the "Employer" field of "Training Unit Standards" and "Training program" entities a lookup field?
2. If so, does the "Employer" entity have a field that marks the record ID like auto-number field?
You cannot achieve this need in Advanced Find you cannot add a condition to compare two fields.
What I suggest is the below:
1. In your intersect entity, add 3 fields: 2 lookups to the employer entity and 1 boolean field to indicate if the two lookups values are the same or not
2. Create a workflow that will be trigerred on create of the intersect entity and on update of the lookups Training Unit Standards and Training program
3. In the workflow, add the below steps
a. Set one lookup employer of the intersect entity to the employer of the Training Unit Standards entity and the other employer lookup to the Training program employer
b. Add a condition, if the Employer of Training Unit Standards is different than the employer of the Training program = > set the boolean field to true
4. You can now use the Advanced Find by searching for the intersect records with the boolean value = true. You can of course display the two emaployers lookup fields in your result
Business Applications communities