Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Error creating Credit Memo
 
keyzo
Jr. Member
 
Total Posts:  23
Joined:  2011-02-12
 

Magento version 1.7.2

When we’re creating a cridt memo we get the following error:

Cannot save the credit memo.

Can anybody please help?

 
Magento Community Magento Community
Magento Community
Magento Community
 
keyzo
Jr. Member
 
Total Posts:  23
Joined:  2011-02-12
 

After checking the logs I realised that it was a primary key violation.

This was because after testing the system we’d truncated all the sales orders tables but forgot the credit memos.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top