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 virtual F&O data entity error: Change tracking cannot be enabled...

(2) ShareShare
ReportReport
Posted on by 3,087
Here is what I did to support this change:
  1.  Create extension of HcmWorkerEntity in F&O
  2. Set HcmWorkerEntity property 'Allow Row Version Change Tracking' to 'Yes'.
  3. Activate HcmWorkerEntity as virtual entity via power platform.
  4. After activation, go to activation form for virtual entity and select 'Change tracking'
After doing these steps I receive: Change tracking cannot be enabled since F&O entity HcmWorkerEntity uses a custom query
 
What 'custom' query is it referring?  Could this be the 'defaultCTQuery' that is on the HcmWorkerEntity?
 
  • Suggested answer
    Jakob Trasbo Profile Picture
    16 on at
    Enable 'Change tracking' for virtual F&O data entity error: Change tracking cannot be enabled...
    A custom query is not allowed for Row version change tracking. 
     
    Many exising entities use a custom query and they must be rewritten to support Row version change tracking. 
     
    Row version change tracking has some rules before the entity is valid. See https://learn.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/data-entities/rowversion-change-track
     
    Row version change tracking is needed to support features like Synapse integration.

    A long list of entities contains BIEntity is designed for Row version change tracking.
  • Suggested answer
    Martin Dráb Profile Picture
    231,947 Most Valuable Professional on at
    Enable 'Change tracking' for virtual F&O data entity error: Change tracking cannot be enabled...
    A custom query for change tracking in an F&O entity means writing an X++ method returning a query object rather than letting the system to analyze the entity structure and decide which tables needs to be taken into account. You can see an example in Enable change tracking for entities > Custom query for change tracking. It's used, for example, when the entity uses a view as a data source and you want to enable change tracking for those tables.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,274 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,947 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans