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, ...
Suggested Answer

Copy executionId to Target Table

(0) ShareShare
ReportReport
Posted on by

I have created a custom entity for a new Table. I need to copy the value of the execution Id from staging table to target table. Please guide the best way to achieve this. 

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    303,706 Super User 2026 Season 1 on at

    Hi Martin,

    I have not heard of this requirement before. Just curious, for what reason do you need to have this?

    You can try to create a computed column or virtual field for this. You have to be aware of a performance penalty when you are using virtual fields. See also the documentation: Computed columns and virtual fields in data entities - Finance & Operations | Dynamics 365 | Microsoft Docs

  • Martin Gumbs Profile Picture
    on at

    Hi André ,

    I need to track the data inserted during each import (Similar to the staging table) and perform some action (Invoicing Sales order)only for that set of data.  I guess execution Id is most approriate.

  • André Arnaud de Calavon Profile Picture
    303,706 Super User 2026 Season 1 on at

    Hi Martin.

    Thanks. You can check the documentation I provided above.

  • Martin Gumbs Profile Picture
    on at

    I am unable to get the value of the execution ID in any of DataEntity methods.

  • Martin Dráb Profile Picture
    239,029 Most Valuable Professional on at

    You already have the data in the staging table (in cases when staging tables are used, of course, e.g. not when using OData or X++). Can't you simply read it from there?

    Copying such data to the actual tables looks like a bad data model to me.

  • Suggested answer
    Sergei Minozhenko Profile Picture
    23,095 on at

    Hi Martin,

    1. >> I need to track the data inserted during each import (Similar to the staging table) and perform some action (Invoicing Sales order)only for that set of data.  I guess execution Id is most appropriate.

    Another option could be to add the checkbox "Invoice posted" and fill it in after sales invoicing. In this case, you will know what data was posted and what data is not posted.

    2. One more option is to use postTargetProcess method, where you add post logic

    ievgensaxblog.wordpress.com/.../

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