最新消息:ww12345678 的部落格重装上线,希望大家继续支持。

D365: Refresh entity list batch job failing

网络文摘 William 420浏览 0评论

Purpose:

Recently, I encountered an error on my DEV box while I was running Refresh entity list batch job after making some changes to one of the data entities. In this post, we’ll learn how can we resolve this issue.

Application:

Dynamics 365 for Finance and Operations

Error:

Entity * not removed because it belongs to the follow definition group or template.

Change Tracking is not enabled on the database: SQL Server Change Tracking.

Error encountered while creating entity data. Please contact your administrator if this persists.

Error encountered while creating entity data. Please contact your administrator if this persists.

Solution:

To resolve the issue, we need to enable change tracking for the SQL database. Given you have access to the database as this is your development environment, you need to run the following SQL command to enable change tracking for the database.

SQL

ALTER DATABASE AxDB  
SET CHANGE_TRACKING = ON  
(CHANGE_RETENTION = 2 DAYS, AUTO_CLEANUP = ON)
发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

This website stores cookies on your computer. These cookies are used to provide a more personalized experience and to track your whereabouts around our website in compliance with the European General Data Protection Regulation. If you decide to to opt-out of any future tracking, a cookie will be setup in your browser to remember this choice for one year.

Accept or Deny