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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Init fields from employee

(1) ShareShare
ReportReport
Posted on by 4

Hello guys! I have a custom form in D365 f&o that has employee ID, name, phone and email fields. Now, on the basis of Employee ID (if i select employee Id in my custom form), it should auto populate all other fields in that form from standard from HcmWorker. 
Which method should I override in my custom form to achieve this?

I have the same question (0)
  • Suggested answer
    Mohamed Amine Mahmoudi Profile Picture
    26,779 Super User 2026 Season 1 on at
    Hi,
     
    try to override modified method on datasource.
     
    Best regards,
    Mohamed Amine MAHMOUDI
  • Suggested answer
    Waed Ayyad Profile Picture
    9,061 Super User 2026 Season 1 on at
    Hi,
     
    You can add your code to the modified method of the Id field on the data source, but I have one question, why you added the same fields (name, phone and email fields) on your table? you can add relation between your table and HcmWorker and only retrieve your data on the form without needing to refill new fields on your custom table?
     
     
    Thanks,
    Waed Ayyad
    If this helped, please mark it as "Verified" for others facing the same issue
     
  • Suggested answer
    Judy Profile Picture
    Microsoft Employee on at
    Hi, you can use the display method to populate linked field d365fo, please follow the detailed steps described in the blog:
    Hope it helps.
     
    Best Regards,
    Judy
  • Waed Ayyad Profile Picture
    9,061 Super User 2026 Season 1 on at
    Hi,
     
    Is your issue resolved? If yes, please verify the answers that helped you.
     
    Thanks,
    Waed Ayyad,
     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 583 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 378

#3
Diego Mancassola Profile Picture

Diego Mancassola 255

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans