DELETE FROM A_AmortizationLine WHERE amortizationamt = 0 AND amortization_percentage = 0;