web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Lookup for worker

(0) ShareShare
ReportReport
Posted on by 313
Hello everyone,
 
I have a request from my users to add the ability to add multiple workers to one NCR (It's what we use for defects on our machines)
So let's say we have NCR 00001, users want to be able to add multiple workers to it who have worked on it
 
I have a table called InventNonConformanceTable that holds all the NCRs.
I have created a table called InventNonConformanceWorker and added 2 fields
- InventNonConformanceID
- InventTestResponsible (an EDT that extends HcmWorkerRecId)
 
I created relations in my table.  One to the InventNonConformanceTable and one to HCMWorker
 
When I choose a worker, the lookup from the EDT relation is working correctly, and I get a list of all the workers with their names, etc, but after I choose someone, I just see their worker ID.  I want to see their name.  I'm thinking this is something very simple I'm forgetting.
 
 
Can someone please help?
I have the same question (0)
  • Verified answer
    Martin Dráb Profile Picture
    240,532 Most Valuable Professional on at
    When you drag HcmWorkerRecId to your table, you should get this dialog:
     
     
    If you click "Yes", a foreign key relation is added automatically. When you then drag the field from a data source to form design, a reference group should be created.
     
    I think you have Int64 control in your form instead of a reference group.
  • Verified answer
    GirishS Profile Picture
    27,843 Moderator on at
    Hi Andrew,
     
    I think you have created normal relation for HcmWorker table. It will be better to drag and drop the EDT into a table fields instead of creating fields manually. This will create foreign key relation automatically if there is any.
     
    Thanks,
    Girish S.
  • Andrew Huisman Profile Picture
    313 on at
    Thank you Martin and Girish, you were absolutely right!  I redid it with dragging the HCMWorkerRecId over and now it's working perfectly, thanks!
     
    I have another question about this form and form part, but I'll start a new post.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 330 Most Valuable Professional

#2
CU10121822-0 Profile Picture

CU10121822-0 310

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 242 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans