Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

How can I map subgrid records from lead to opportunity?

(0) ShareShare
ReportReport
Posted on by 175
Hello,
 
I created a Many to Many Relationship between Leads and a custom table called 'Funding Entities'. In the Leads Form, I added a subgrid showing the related Funding Entities of that lead.
When I qualify that Lead to Opportunity, how can I map the records in that Lead's subgrid to the subgrid in the Opportunity Form?
 
If I go to the Lead's Field mappings to Opportunity, there is no field like 'Funding Entities'.
 
Any help will be highly appreciated.
Thank you in advance
  • Suggested answer
    Leah Ju Profile Picture
    Leah Ju Microsoft Employee on at
    How can I map subgrid records from lead to opportunity?
    An N:N (many-to-many) relationship depends on a special relationship table (intersect table)
    In power automate, the schema we need will look something like 'relationshiptableset'.
    Here are the blog I referenced:

    I hope you can mark my answer verified if it is helpful! If you have any questions, please feel free to contact me.
    Regards,
    Leah
  • Joseph Nasr Profile Picture
    Joseph Nasr 175 on at
    How can I map subgrid records from lead to opportunity?
    Hello Leah,
     
    How did you get the  'cr0e8_fundingentities_leadset' ?
     
    Regards, 
  • Suggested answer
    Leah Ju Profile Picture
    Leah Ju Microsoft Employee on at
    How can I map subgrid records from lead to opportunity?
    Field mapping is only supported for 1:N relationships, and there is no OOB functionality for mapping N:N relationships at Qualifying Lead.
    Before that, you will have to use plugins.
    Now, you can use power automate to create one flow to achieve it.
    Please refer to the following steps:
    1.Make sure that there is also a N:N relationship between Opportunity and this custom table.
    2.Power Automate
    1)Trigger
    --When you qualify one lead to opportunity, ‘Originating Lead’ field will be populated this lead automatically on opportunity.
    --Using opportunity creation as trigger and this field as filter:
    2)List rows--retrieve relationship entity.
    -- The schema will look something like relationshipentitynameset
    3)Get a row by ID
    4)Relate rows:
     

    I hope you can mark my answer verified if it is helpful! If you have any questions, please feel free to contact me.
    Regards,
    Leah

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,234 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,994 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans