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

Announcements

News and Announcements icon
Community site session details

Community site session details

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

Using Temporary Tables On Data Entities

(0) ShareShare
ReportReport
Posted on by 170

Hello, 

     Can anyone tell me how to add a temporary table on data entity on dynamics 365 ax 2012.

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

    Is your question about Dynamics 365 for Finance and Operations or AX2012?

    I guess you would like to use a temporary table as a data source for export. I think that's not possible, rather you have to populate a real physical table, export the data and then remove the records from your physical table.

  • Suggested answer
    Sukrut Parab Profile Picture
    71,741 Moderator on at

    Adding temporary table is not possible. Why you want to add temp table ?

  • André Arnaud de Calavon Profile Picture
    306,632 Super User 2026 Season 2 on at

    Hi Uzair,

    Have you perhaps data on a form that is build up with temporary data which you would like to export? In that case, follow the procedure mentioned by Nikolaos or create a view on tables if the temporary data logic is simple to catch in a view.

  • uzk_dynamics Profile Picture
    170 on at

    It is about dynamics 365. Actually in our scenerio, we want to import some data from Legacy System, and process run AX process based on that temporary data. We dont want to store the imported data permanently, but either use it for some AX process, using odata entity

  • uzk_dynamics Profile Picture
    170 on at

    It is about dynamics 365. Actually in our scenerio, we want to import some data from Legacy System, and process run AX process based on that temporary data. We dont want to store the imported data permanently, but either use it for some AX process, using odata entity

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

    The correct solution is to read the data into a normal table (non-temporary) and clean it up after it's not needed.

    If you don't use OData, instead data management project, the data is imported to staging tables. Perhaps you can then put your code in the data entity, staging to target process. And finally clean up your staging data with standard D365FO functionality.

  • uzk_dynamics Profile Picture
    170 on at

    Thanks

  • Kurt.Warner Profile Picture
    55 on at

    If the data entity populates the regular table, then how does the entity distinguish records it has just populate for the current session user from other session entity user records?

    Thanks in advance.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

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

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 310 Super User 2026 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 276 Most Valuable Professional

#3
Anton Venter Profile Picture

Anton Venter 266 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans