MPaymentTerm: Replace SQL code on deleteOrderPaySchedule and deleteInvoicePaySchedule

Description

Looking into MPaymentTerm class we have a DB.executeUpdate that delete records from C_OrderPaySchedule and C_InvoicePaySchedule before (re)applying a payschedule.

to improve extensibility (for example, if i need to check something BEFORE delete a invoice pay schedule) , i'm proposing a small change with this patch attached, to replace the SQL code.

Environment

None

Attachments

1

Activity

Show:
Fixed

Details

Assignee

Reporter

Labels

Priority

Created July 6, 2015 at 11:29 PM
Updated September 1, 2015 at 3:33 PM
Resolved July 29, 2015 at 2:42 AM