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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

MapEntityDataSource and InsertEntityDatasource begin called in data entity?

(0) ShareShare
ReportReport
Posted on by 56

Hi

When MapEntityDataSource and InsertEntityDatasource begin called in data entity?

Please give me more shed on this 

I have the same question (0)
  • Verified answer
    Blue Wang Profile Picture
    Microsoft Employee on at

    Hi @rp@n,

    Please check this entity method called sequence:

    axatoz.wordpress.com/.../

  • @rp@n Profile Picture
    56 on at

    Thanks Blue,

    Those methods ( MapEntityDataSource and InsertEntityDstaSource ) is called during Staging to Target also?

    Please give me more shed on this

  • @rp@n Profile Picture
    56 on at

    Hi,

    Please anyone clarify me on this

  • Verified answer
    Gunjan Bhattachayya Profile Picture
    35,423 on at

    Hi Arpan,

    mapEntityToDatasource is used to map the staging field to target data source. For an example, in CustCustomerV3Entity,  this method is used to map EmployeeResponsibleNumber to MainContractWorker. In this entity, EmployeeResponsibleNumber is an unmapped field and MainContracWorker is marked with an access modifier "Private".

    pastedimage1609494433993v1.png

    insertEntityDataSource method is used to perform additional operations while inserting new records. In the same entity as mentioned above,  this method has been overridden to validate customer record if an invoice account is being mentioned (different from the customer account).

    pastedimage1609494514396v2.png

    Both of these will be executed during writing from staging to target.

  • @rp@n Profile Picture
    56 on at

    Thanks Gunjan

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 659

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 465 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 304 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans