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

Data Management: Missing Entities

网络文摘 William 1336浏览 0评论

If you find that you are missing entities listed in the Data entities form, you can try the following steps.

Run the following SQL Script:

— This source code or script is freeware and is provided on an “as is” basis without warranties of any kind,

— whether express or implied, including without limitation warranties that the code is free of defect,

— fit for a particular purpose or non-infringing. The entire risk as to the quality and performance of

— the code is with the end user.

— Create backups of the tables first

SELECT *

INTO DMFEntity_backup

FROM DMFEntity

GO

SELECT *

INTO DMFTargetXML_backup

FROM DMFTargetXML

GO

SELECT *

INTO DMFTargetXMLToEntityMap_backup

FROM DMFTargetXMLToEntityMap

GO

SELECT *

INTO DMFTargetEntityHierarchy_backup

FROM DMFTargetEntityHierarchy

GO

— Truncate the tables

TRUNCATE TABLE DMFENTITY

GO

TRUNCATE TABLE DMFTargetXML

GO

TRUNCATE TABLE DMFTargetXMLToEntityMap

GO

TRUNCATE TABLE DMFTargetEntityHierarchy

GO

 

Then in AX, do the following:

Go to: Data Management and select “Framework Parameters”

FrameworkParameters

Select Entity Settings, and click “Refresh entity list”

RefreshEntities

发表我的评论
取消评论

表情

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

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