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

Enable change tracking for DIXF entity using x++ code

(0) ShareShare
ReportReport
Posted on by

Hi team,

I have a requirement to use X++ code to export data using DMF entities and also I need to enable change tracking in the code. So that whenever the code runs, it will take the latest/new record. Is that possible? Or I have to use the standard interface for data management?

Regards

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

    Why did you decide to not use the standard data projects? Those would be available without any development.

  • SayanikaSM Profile Picture
    on at

    Hi,

    This is a custom requirement so that all of the users won't b able to access the DIXF interface. They will use a custom interface which will send the data to an remote FTP location. And while exporting data we want to use DMF entity along with change tracking enabled. Is it a possible?

    Thanks

  • nmaenpaa Profile Picture
    101,160 Moderator on at

    But not all users are able to access Data Management projects.

  • SayanikaSM Profile Picture
    on at

    Yes. For those users, they will not use the manual process to export data. They will automate it from a custom interface and also put the data to FTP. So they want to enable change tracking as well in that process.

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

    My recommendation is to set up a recurring data job with change tracking. Then use LogicApps or other integration platform to read files from D365FO endpoint and send to FTP.

    But if you want to make change tracking queries directly in x++, it seems possible: devblog.sertanyaman.com/.../

  • SayanikaSM Profile Picture
    on at

    Hi Nikolaos,

    Thanks for the reply. In the URL , I believe it is showing the details of changes made to a table.

    I understood the option of logic app and will try that out.

    But what I need is to export the new set of data (updated/ added) through code. Is there any clue if that is possible?

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

    Well, with the help of the blog you can write a select statement that gives you the new/changed data.

    Next you need to put that data into file programmatically.

    Finally you need to send the file to FTP.

    The last 2 things are covered by many blog posts and discussions, so I suggest using web search. 

  • SayanikaSM Profile Picture
    on at

    Thanks Nikolaos. Will try that out.

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 664 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 303 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans