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

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Autopopulate lookup values coming from parent entity

(0) ShareShare
ReportReport
Posted on by 903

Hello everyone,

With reference to this post: (+) Set field value on another table automatically after record creation - Dynamics 365 General Forum Community Forum that was solved based on   assistance, I have two tables linked as (Project Resource Table (1:N)-> Schedule table).

What I want to achieve is the below:

  • When I click on a new item from the grid and from the Project resource table which is the parent entity, I would like to populate the project name and the resource name fields that are coming from the Project Resource ID field that is being populated automatically on the form of the schedule table which is the child entity and that Project Resource ID already has those two values assigned on the parent entity (Project Resource Table).

Table-Aa.PNGTable-B.PNG

RelationshipType.PNG

I have tried to filter the lookup field as below but it is not populating the values when I click new item directly from the sub-grid:

8357.Capture.PNG

What is the best way to achieve the above? I am doing something wrong or it should be done in a different way?

I would highly appreciate if you can provide an example.

Best regards,
EBMRay

I have the same question (0)
  • Verified answer
    Bipin D365 Profile Picture
    28,981 Moderator on at
    RE: Autopopulate lookup values coming from parent entity

    Hi,

    You can achieve your requirement with calculated field as well

    docs.microsoft.com/.../define-calculated-fields

    If mapping mentioned in above post does not work then try with calculated field. Also you can use Real Time Workflow to auto populate those fields value and you can mark read only on from.

    Please mark my answer verified if this is helpful!

    Regards,

    Bipin Kumar

    Follow my Blog: xrmdynamicscrm.wordpress.com/

  • EBMRay Profile Picture
    903 on at
    RE: Autopopulate lookup values coming from parent entity

    Hi a33ik ,

    Thank you so much for providing this amazing post.

    I was able to achieve my requirements.

    Btw I am one of your followers and keep up the good work!

    Best regards,

    EBMRay

  • Verified answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at
    RE: Autopopulate lookup values coming from parent entity

    Hello,

    The easiest way for you is to use "Mapping". Check this post that can help you - www.marksgroup.net/.../

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
DAnny3211 Profile Picture

DAnny3211 433

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 137 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 67 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans