Error: Data could not be saved. The DELETE statement conflicted with the REFERENCE constraint FK_MERCHANDISEPRODUCTINSTANCE_VENDORID". The conflict occurred in database "3256_18116fda-3d8e-4818-8980-1a83f9cbb44f", table "dbo.MERCHANDISEPRODUCTINSTANCE"

When trying to merge or delete a vendor record; you may encounter the error Data could not be saved. The DELETE statement conflicted with the REFERENCE constraint "FK_MERCHANDISEPRODUCTINSTANCE_VENDORID". The conflict occurred in database "3256_18116fda-3d8e-4818-8980-1a83f9cbb44f", table "dbo.MERCHANDISEPRODUCTINSTANCE", column 'VENDORID'.
This issue has been resolved in version 4.5 of Altru.  All sites were updated in October 2015.

This message may be received when attempting to merge two vendors, where you would like to delete the Source Constituent record. Since each vendor is associated with Merchandise, we are unable to fully delete the vendor record. Instead we should select to Inactivate the Source Constituent: 
  1. Go to Constituents>Duplicates>Merge two Constituents
  2. Select a Source Constituent to be marked Inactive.
  3. Select a Target Constituent that will become the active record.
  4. Select a Merge Configuration.
  5. Select the bubble that says "Mark Source Constituent Inactive."
  6. Fill in the Inactive reason and details, if necessary.
  7. Click Merge.

Steps to Duplicate

  1. Go to Merchandise > Vendor Search.
  2. Pull up the vendor you want to delete.
  3. Click Delete vendor under Tasks.
  4. Receive error: Data could not be saved.   The DELETE statement conflicted with the REFERENCE constraint "FK_MERCHANDISEPRODUCTINSTANCE_VENDORID". The conflict occurred in database "50919_d59b4778-f328-4ad0-9e58-a1d76ff763e7", table "dbo.MERCHANDISEPRODUCTINSTANCE", column 'VENDORID'.

Environment

 Altru Arts & Cultural
 Yes
 4.1

Was this article helpful?


Thanks for your feedback! Did this solve your issue?

Comments (optional):


Thanks for your feedback!
We're glad it was helpful but sorry it didn’t solve your issue. If you need assistance, click Chat with Support below.
We’re sorry to hear that. Please tell us why.

 I don't like how this works.

 The answer is confusing.

 The answer didn't match what I was searching for.

Additional Comments (optional):


Thanks for your feedback! If you need assistance, click Chat with Support below.
Thanks for your feedback. Help us make our products even better by sharing details in our Idea Banks or our online Community.
Thanks for letting us know. We'll work on clarifying the information in the article. If you need assistance, click Chat with Support below.
Thanks for letting us know. We'll work on updating the search engine to return more relevant results.