I am developing a tuition management module. I have 2 entities TuitionBill and TuitionBillItem with 1-n relationship. I want before deleting a TuitionBillItem to update the total amount of TuitionBill(amount). I based on the documentation given by the jmix developer but it seems to be incorrect or out of date. I would really appreciate it if you guys have any advice on how I can get TuitionBIll in my case.
Below is information on how I am doing. Thanks
Jmix Document : Entity Events :: Jmix Documentation
Debug:
Database: