D365 Data management: Activate change tracking

Goal: Activate CT for data sources in a data entity

In order to do this, we need to write a method that defines for which data sources of the entity we want to activate the CT.

  1. Add the method defaultCTQuery() to the entity code
  2. Define a Query (class) with the data sources (of the entity) for which you want to activate the CT.

Example: smmProspectEntity. In this case, the CT is activated for all data sources.

Leave a comment