Hello All
In the log file I get the below error. This below is in the AOTComp.txt file.
!!! X++ execution error: Cannot execute a stored procedure
!!! X++ execution error: [Microsoft][SQL Server Native Client 11.0][SQL Server]The INSERT statement conflicted with the
Looking at the trace log
Error occurred:
User ID: -AOS-
Time: 11:34:24 am 7/7/2017
Version: Microsoft Dynamics AX 6.3 (Build number 1000.309)
Database: Microsoft SQL Server
SQL statement: { CALL [AX2012R3DEV02_model].[dbo].[XU_InsertByParentHandle](?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) } [ID=0, Reused=@sys2048]
Error text: [Microsoft][SQL Server Native Client 11.0][SQL Server]The INSERT statement conflicted with the FOREIGN KEY constraint "FK_ModelElementData_HasModelId_LayerId". The conflict occurred in database "AX2012R3DEV_Model", table "dbo.Model".
SQL error code: 547
Has anyone come across this ?
Thanks
Abby