private void deleteInvoicePaySchedule(int C_Invoice_ID,String trxName){
  String sql="DELETE C_InvoicePaySchedule WHERE C_Invoice_ID=" + C_Invoice_ID;
  int no=DB.executeUpdate(sql,trxName);
  log.fine("C_Invoice_ID=" + C_Invoice_ID + " - #"+ no);
}

private void deleteInvoicePaySchedule ( int C_Invoice_ID , String trxName ) { String sql = "DELETE C_InvoicePaySchedule WHERE C_Invoice_ID=" + C_Invoice_ID ; int no = DB . executeUpdate ( sql , trxName ) ; log . fine ( "C_Invoice_ID=" + C_Invoice_ID + " - #" + no ) ; }
delete existing invoice payment schedule
