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

Notifications

Announcements

No record found.

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 30

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
    on at

    Hi @rp@n,

    Please check this entity method called sequence:

    axatoz.wordpress.com/.../

  • @rp@n Profile Picture
    30 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
    30 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
    30 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 456 Super User 2025 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 429 Most Valuable Professional

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans