
Announcements
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
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.