Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Finance forum / DataEntity Import RefR...
Finance forum

DataEntity Import RefRecId default

(1) ShareShare
ReportReport
Posted on by 362

Hi All,

We have a dataentity with 2 data sources in which  the child data source is related to parent with RecId of parent record. When we are importing the new records using the entity i am trying to understand how i can default the newRecId created in parent in to the child record field. Request you to share your thoughts on this.

Regards

Venkat

  • Suggested answer
    nmaenpaa Profile Picture
    nmaenpaa 101,156 on at
    RE: DataEntity Import RefRecId default

    Generally speaking the data entity wizard should handle it for you automatically. But it doesn't always work out smoothly.

    I often just remove the child data source from the entity, add some unmapped fields instead, and handle the creation of records in other tables in mapEntityToDataSource method.

    In export, you can populate the unmapped fields in postLoad method.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans