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

what are the important methods are called during import and export ( data entity )

(0) ShareShare
ReportReport
Posted on by 30

hi all,

please let me know what are the important methods are called during import and export ( data entity ) ?

please give me more shed on this.

thanks!

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

    The most important for a developer are:

    - postLoad (during export) - here you can populate virtual fields with x++ code

    - mapEntityToDataSource (during import) - here you can run some logic based on the imported record

  • @rp@n Profile Picture
    30 on at

    thanks Nikoloas,

    if i want to set "break point" during import or export, in those methods ( postload , mapEntityToDataSource ) i can put rite?

  • @rp@n Profile Picture
    30 on at

    in which class, i got those methods -- ( postload , mapEntityToDataSource ) ?

  • Verified answer
    nmaenpaa Profile Picture
    101,160 Moderator on at

    The methods are in the data entity itself. Yes, you can put a breakpoint there.

    If you don't see those methods in your entity, you need to override them in order to modify or debug them.

  • @rp@n Profile Picture
    30 on at

    thanks

    post load method -- it is used to read records from database ( tables)

    is it rite?

  • Verified answer
    Martin Dráb Profile Picture
    237,948 Most Valuable Professional on at

    No, it's not right.

    It's called after reading a record. That's why it's called postLoad().

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
Martin Dráb Profile Picture

Martin Dráb 559 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 250 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans