Not able to delete invoice-Even it is able to unpost it.

Issue No: AR-21238
Created 4/19/2024 3:37:47 AM
Type Bug
Priority Critical
Status Closed
Resolution Fixed
Fixed Version 22.1
Description *This issue relates to i21 Help Desk ticket:* [ HDTN-340097 - Not able to delete invoice-Even it is able to unpost it|https://helpdesk.irely.com/iRelyi21live/#/HD/Ticket/?ticket=HDTN-340097]   Not able to delete invoice-Even it is able to unpost it.   Steps:   * Create CM 1 > Post !pastedImage_d271608_0.jpg! * Create CM 2 or any invoice > go to *Prepaids and Credit Memos* tab (just load the CMs available) > Post !pastedImage_d271608_1.jpg! * Unpost CM 1 > Delete CM * Will display the error message. !pastedImage_d271608_2.jpg!   Acceptance: To be able to delete the cprov without the error message.