Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0030220Openbravo ERP09. Financial managementpublic2015-06-12 14:102015-06-23 17:17
vmromanos 
aferraz 
normalmajoralways
closedfixed 
5
 
3.0PR15Q2.3 
vmromanos
Core
No
0030220: Generic UpdatePaymentPlan module script
Currently the UpdatePaymentPlan module script fixes the wrong data related to issue 0028236.

However we have found other bugs that create wrong payment plan too, so it makes sense to adapt this module script to be more generic, trying to fix any possible mismatch between payment plan and the details.

This module script improvement should be included in core only if we first verify that it has no significant negative impact into the performance
NA
Approved
blocks defect 00301703.0PR15Q3 closed aferraz Generic UpdatePaymentPlan module script 
Issue History
2015-06-22 11:45vmromanosTypedefect => backport
2015-06-22 11:45vmromanosTarget Version3.0PR15Q3 => 3.0PR15Q2.3
2015-06-23 15:53dmitry_mezentsevTag Attached: Approved
2015-06-23 17:14hgbotCheckin
2015-06-23 17:14hgbotNote Added: 0078445
2015-06-23 17:14hgbotStatusscheduled => resolved
2015-06-23 17:14hgbotResolutionopen => fixed
2015-06-23 17:14hgbotFixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR15Q2.3/rev/3007307bc045d633303d42f60e73410f30be17b5 [^]
2015-06-23 17:17vmromanosReview Assigned To => vmromanos
2015-06-23 17:17vmromanosNote Added: 0078453
2015-06-23 17:17vmromanosStatusresolved => closed

Notes
(0078445)
hgbot   
2015-06-23 17:14   
Repository: erp/backports/3.0PR15Q2.3
Changeset: 3007307bc045d633303d42f60e73410f30be17b5
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Mon Jun 22 18:36:18 2015 +0200
URL: http://code.openbravo.com/erp/backports/3.0PR15Q2.3/rev/3007307bc045d633303d42f60e73410f30be17b5 [^]

Fixes issue 30220: Generic UpdatePaymentPlan module script

Select query in UpdatePaymentPlan has been changed to make it generic.
Now it will fix all fin_payment_schedule related to an order or an invoice which paidamt or outstandingamt does not match with the sum of its fin_payment_scheduledetail amount.

---
M src-util/modulescript/build/classes/org/openbravo/modulescript/UpdatePaymentPlanData.class
M src-util/modulescript/src/org/openbravo/modulescript/UpdatePaymentPlan_data.xsql
---
(0078453)
vmromanos   
2015-06-23 17:17   
Code review + testing OK