Ability to delete cancelled Credit Balance Adjustment

Reply
monique Support SME

Support SME

Support SME
Posts: 210
Registered: ‎01-06-2016

Ability to delete cancelled Credit Balance Adjustment

[ Edited ]

Question: I'm trying to delete A-AM123456789 and I received the following error "This amendment cannot be undone since invoicing has already occurred past the end of the previous version of the subscription." However there are no transactions or invoices(i deleted all the associated invoices) against Subscription: A-S123456789. Please advise what is limiting the deletion of this amendment. 

Answer: 

Once an invoice has been generated for an amended subscription, Zuora will no longer allow you to delete that amendment. If you attempt to delete an amendment that has already been invoiced, Zuora will pop-up an error message signaling that the action cannot be completed. The error message: This amendment cannot be undone since charges modified by this amendment have already been invoiced

You can also use the delete() API call on an Amendment object to erase the latest amendment made to a subscription only if an invoice has NOT been generated for it.

Possible workaround:
 If the invoices were not deleted 

The reason you are unable to delete the cancelled amendment is because the Bill Run that processed the invoices has locked the segment of the Amendment. If the Bill Run was ran for a single account then you can delete the Bill Run and then delete the amendment. This is by design to follow best practices and comply to audit trail.

Supported Article:https://knowledgecenter.zuora.com/kb/How_do_I_undo_a_change_made_to_a_subscription%3F#Delete_an_amen...



If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √