General ODBC Error: [Microsoft][ODBC SQL Server Driver][SQL Server]The DELETE statement conflicted with the REFERENCE constraint FK_EA7CLASSTERMS_EA7TERMSID". The conflict occurred in database "FrancisParker", table "dbo.EA7CLASSTERMS", column 'EA7TERMSI

After deleting Terms and saving an Academic Year users may receive the following error:

General ODBC Error: [Microsoft][ODBC SQL Server Driver][SQL Server]The DELETE statement conflicted with the REFERENCE constraint "FK_EA7CLASSTERMS_EA7TERMSID". The conflict occurred in database "[Table]", table "dbo.EA7CLASSTERMS", column 'EA7TERMSID'. Native error:547 [Microsoft][ODBC SQL Server Driver][SQL Server]The statement has been terminated. Native error:3621
Delete all saved scheduling scenarios using the session containing the terms you wish to delete. To do this:

1. Go to Scheduling and select the appropriate academic year
2. Select View, edit or restore scheduling scenarios
3. Find and delete all saved scheduling scenarios using the affected session. To delete a scheduling scenario, highlight it and select Delete. To delete all scheduling scenarios at once, select Delete All.

You should now be able to go into the Academic Year and delete the desired terms successfully.

Environment

 7.86.93, patch 3

Was this article helpful?