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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Forums / Finance forum / DataEntity Import RefR...
Finance forum

DataEntity Import RefRecId default

(1) ShareShare
ReportReport
Posted on by 364

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

I have the same question (0)
  • Suggested answer
    nmaenpaa Profile Picture
    101,166 Moderator on at

    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 > Finance

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans