Can't Cancel Sales Invoice with Serial and Batch Bundle

I have sales invoice with serial and batch bundle. When I want to cancel it. It shows an “error Cannot delete or cancel because Serial and Batch Bundle [XXXXX] is linked with Sales Invoice [XXXXXX]”. So I cancel the first serial and batch bundle and automatically sales invoice is cancelled. But the problem when I have many serial and batch bundle. I can’t cancel from serial and batch bundle because the sales invoice has many SABB. So I couldn’t cancel both sales invoice and SABB

Screenshot 2023-12-27 at 10.35.21
Screenshot 2023-12-27 at 10.37.08
Screenshot 2023-12-27 at 10.37.14

Has anyone experienced this?