Skip to main content

Notifications

Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Creating a record from a subgrid auto populates account lookup on the form on all lookup fields

(0) ShareShare
ReportReport
Posted on by 390

Hi all,

so we have a subrid on Account entity where we list associated Opportunities. When creating a new opportunity the form auto populates the associated account in all account lookup fields on the opportunity form. Is this by design?

pastedimage1643703617536v1.png

thanks for the help

regards

Martin

  • Verified answer
    Bipin D365 Profile Picture
    Bipin D365 28,964 Super User 2024 Season 1 on at
    RE: Creating a record from a subgrid auto populates account lookup on the form on all lookup fields

    Hi,

    I was only asking you to delete mapping for fields which you don't need.

    Yes, You can also write JS code to clear lookup field value when Form Type is Create.

    Please mark my answer verified if this is helpful!

    Regards,

    Bipin Kumar

    Follow my Blog: xrmdynamicscrm.wordpress.com/

  • icimasa Profile Picture
    icimasa 390 on at
    RE: Creating a record from a subgrid auto populates account lookup on the form on all lookup fields

    Hi Bipin,

    thanks for your response, however we actually do need the account -> opportunity mapping which I guessed causes the problem. But my bet guess would be to just write some code to clear the field when its a new record to get around the problem.. :)

    regards

    Martin

  • Suggested answer
    Bipin D365 Profile Picture
    Bipin D365 28,964 Super User 2024 Season 1 on at
    RE: Creating a record from a subgrid auto populates account lookup on the form on all lookup fields

    Hi,

    I don't think this is by design.

    However, you can verify the Relationship mapping between Account and Opportunity to remove the mapping for other lookups which you don't need.

    docs.microsoft.com/.../map-entity-fields

    CR81.PNG

    Please mark my answer verified if this is helpful!

    Regards,

    Bipin Kumar

    Follow my Blog: xrmdynamicscrm.wordpress.com/

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

News and Announcements

Announcing Category Subscriptions!

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,359 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,370 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans