IDEMPIERE-2706 : auto validate invoice payment schedule when create new record (#2034)

This commit is contained in:
Zuhri Utama 2023-10-02 09:02:46 +07:00 committed by GitHub
parent 21b6ec1016
commit e61eab3901
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -243,7 +243,7 @@ public class MInvoicePaySchedule extends X_C_InvoicePaySchedule
{
if (!success)
return success;
if (is_ValueChanged("DueAmt") || is_ValueChanged("IsActive"))
if (newRecord || is_ValueChanged("DueAmt") || is_ValueChanged("IsActive"))
{
log.fine("afterSave");
getParent();