Error: Data could not be saved. The DELETE statement conflicted with the REFERENCE constraint;FK_SALESORDERITEMMEMBERSHIPGUESTPASS_MEMBERSHIPLEVELBENEFITID - When editing Benefits in a Membership Program

You may be attempting to edit your Benefits in a membership, which include guest passes, but when you try to save, you receive this error message: 
Data could not be saved. The DELETE statement conflicted with the REFERENCE constraint "FK_SALESORDERITEMMEMBERSHIPGUESTPASS_MEMBERSHIPLEVELBENEFITID". The conflict occurred in database "XXXXX", table "dbo.SALESORDERITEMMEMBERSHIPGUESTPASS", column 'MEMBERSHIPLEVELBENEFITID'

You may be trying to update the number of guest passes issued and update when they expire, but receive the message when you try to save.
This issue has been resolved in version 5.0. All sites have been updated in April 2018. If you experience this error, please chat with support to provide the exact steps that were taken.

Steps to Duplicate

1. Go to Memberships, click the name of the appropriate Membership Program, and click on the Benefits tab.
2. Click Edit.
3. Click Save. Receive the error message.
4. Cancel out, and go to Terms and Levels tab.
5. Click Edit, and uncheck every box next to the different levels in your database under the Active column, except 1.
6. Repeat steps 1-3, receive the same error message 

Environment

 Altru Arts & Cultural
 Yes
 4.98
 5.0

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.