Fixed Parent's Total amount recalculation upon Details deletion on RetailPurchaseInvoice, RetailSalesInvoice, and CustomPurchaseInvoice