Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Suggested answer

Data entity change tracking triggers incremental export for not evaluated fields

Posted on by 45
Hi everyone!
 
In my company we have created an export interface that uses an export project in data management. This project uses a custom data entity that joins some tables (12 tables in total to be precise, primary table is InventTable) and extracts only 20 fields from all the hundreds available from the joined tables.
As the above interface have to be incremental, we have enabled /all tables/ change tracking on the data entity, and set the export project to incremental push.
 
The problem we are having is that the change tracking triggers the export even if the 20 selected fields are not changed.
For example: my primary table is InventTable. Data entity read just ItemId, PmfProductType and a custom one from it. We expected to trigger the export if one of those fields change. Instead, if I change field /ItemType/, that's part of the table but not exported by DE, it exports the entire record again even if I am not interested in doing that.
As we have activated the change tracking on all the tables of DE, this happens for every field of all 12 tables!

This obviously create a large amount of unnecessary exported items, and a heavy workload both for the export on our side and the import on the other side when the file is read.
 
Is there a way to use change tracking and trigger the export just for the fields selected by the data entity?
We have looked in Microsoft documentation, in visual studio and searched online, but with no success.
Nevertheless, this interface has been in production environment for almost two years and we never noticed this problem: has Microsoft changed something in data entities behaviour in the latest updates?
  • Layan Jwei Profile Picture
    Layan Jwei 7,347 Super User 2024 Season 2 on at
    Data entity change tracking triggers incremental export for not evaluated fields
    Hi,

    Is your question answered, if yes then please verify the answers that helped
  • Hana Xue Profile Picture
    Hana Xue Microsoft Employee on at
    Data entity change tracking triggers incremental export for not evaluated fields
    Hi,
    As everyone said, the system only supports tracking changes for the entire record, if you want to know more about it, you can check out the link below:
    Enable change tracking for entities - Finance & Operations | Dynamics 365 | Microsoft Learn
    Best Regards,
    Hana
  • Suggested answer
    Layan Jwei Profile Picture
    Layan Jwei 7,347 Super User 2024 Season 2 on at
    Data entity change tracking triggers incremental export for not evaluated fields
    Hi Andrea,

    Change tracking doesn't work on field level.

    Here's a screenshot from Microsoft documentation that explains to you how change tracking works


    Thanks,
    Layan Jweihan
    Please mark this answer as "Verified" if it solved your issue. In order to help others who will face a similar issue in the future
  • Martin Dráb Profile Picture
    Martin Dráb 230,235 Most Valuable Professional on at
    Data entity change tracking triggers incremental export for not evaluated fields
    I'm afraid that your expectation isn't correct. The system checks whether the record has changed or not. It doesn't look at what fields you have mapped or used in code and it does not claim that the record didn't change if it did but the changes didn't include any of those fields.
    That's how it always worked, as far as I know.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans