Error: General ODBC Error: [Microsoft][ODBC SQL Server Driver][SQL Server]The DELETE statement conflicted with the REFERENCE constraint when merging records

When merging records in Student Billing, you receive the following exceptions on the control report for one or more records:

General ODBC Error: [Microsoft][ODBC SQL Server Driver][SQL Server]The DELETE statement conflicted with the REFERENCE constraint
"FK_PAYMENTHEADERS7_RECEIPTADDRESSID". The conflict occurred in database "[database name]", table "dbo.PAYMENTHEADERS7", column
'RECEIPTADDRESSID'.
Native error:547

[Microsoft][ODBC SQL Server Driver][SQL Server]The statement has been terminated.
Native error:3621

Note : Before you proceed with the following instructions, back up the database. If your organization integrates multiple Blackbaud products, refer to the Additional Requirements section of the backup article.

If merging specific records, switch the order of the records selected on the Preview tab so that the record listed as Primary is listed as the duplicate, and the duplicate is listed as Primary.

Environment

 7.82.104, patch 13

Was this article helpful?