Severity Code Description Project File Line Suppression State Error Infolog diagnostic message: 'Error synching entity metadata for entity - KRTProductEntity. Message - at Microsoft.Dynamics.Ax.MSIL.Interop.throwException(Int32 ExceptionValue, interpret* ip) 0 Error at Dynamics.AX.Application.DmfDataPopulation.syncEntityUpdate(DMFEntity dmfEntity, DictDataEntity dictDataEntity) 0 Error at Dynamics.AX.Application.DMFEntity.insert() in xppSource://Source/ApplicationFoundation\AxTable_DMFEntity.xpp:line 433 0 Error Infolog diagnostic message: 'Cannot create a record in Entity (DMFEntity). Entity: Items, KRTProductStaging. 0 Error at Dynamics.AX.Application.DmfDataPopulation.syncEntityUpdate(DMFEntity dmfEntity, DictDataEntity dictDataEntity, Boolean useTargetEntityName, Boolean @useTargetEntityName_IsDefaultSet) in xppSource://Source/ApplicationFoundation\AxClass_DmfDataPopulation.xpp:line 947 0 Error at Dynamics.AX.Application.DmfDataPopulation.syncEntityMetadata(StringCollection dataEntityViewCollection, StringCollection compositeEntityList) in xppSource://Source/ApplicationFoundation\AxClass_DmfDataPopulation.xpp:line 794.' on category 'Error'. 0 Error at Dynamics.AX.Application.DmfDataPopulation.syncEntityCreate(DictDataEntity dictDataEntity, Boolean useTargetEntityName, Boolean @useTargetEntityName_IsDefaultSet) in xppSource://Source/ApplicationFoundation\AxClass_DmfDataPopulation.xpp:line 899 0 Error at Dynamics.AX.Application.DmfDataPopulation.syncEntityCreate(DictDataEntity dictDataEntity, Boolean useTargetEntityName) 0 Error at Microsoft.Dynamics.Ax.Xpp.Common.Insert() 0 Error at Microsoft.Dynamics.Ax.MSIL.cqlCursorIL.insert(IntPtr table) 0 Error at Microsoft.Dynamics.Ax.Xpp.NativeCommonImplementation.Insert() 0 Error Database synchronization failed. You may have to do a full build of the package 'VKRetail' and all of its dependent packages. 0 Error The record already exists.' on category 'Error'. 0
class DeleteDMFEntity { public static void main(Args _args) { DMFEntity dmfEntity; DMFTargetXML dmfTargetXML; //ttsbegin; delete_from dmfEntity; delete_from dmfTargetXML; /*while select forupdate dmfEntity { dmfEntity.delete(); }*/ //ttscommit; info('Done'); } }
DaxOnline.org is free platform that allows you to quickly store and reuse snippets, notes, articles related to Dynamics AX.
Authors are allowed to set their own AdSense units.
Join us.