Error: Data could not be saved insert duplicate key - When processing transactions in Daily Sales

Description:  When working in daily sales you may experience the error Data could not be saved. Cannot insert duplicate key row in object' dbo.CACHEDDISCOUNTRESULT' with unique index 'UIX_CACHEDDISCOUNTRESULT_INPUTHASH_LASTUSED'. The duplicate key value is. This error may occur when trying to process any kind of transaction.

 
We are currently evaluating this issue and will update this article when we have more information.

Steps to Duplicate


Steps to Duplicate:
1. Click on sales and then daily sales
2. Purchase a membership
3. Purchase an admission ticket
4. Apply a discount to the order
5. Click the payment method you're paying with
6. Click complete

The error message may display after clicking on the complete button

Environment

 Altru Arts & Cultural

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.