Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0030221Openbravo ERP09. Financial managementpublic2015-06-12 14:102015-06-29 11:30
vmromanos 
aferraz 
normalmajoralways
closedfixed 
5
 
3.0PR15Q1.6 
vmromanos
Core
No
0030221: 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.0PR15Q1.6
2015-06-23 15:53dmitry_mezentsevTag Attached: Approved
2015-06-23 17:15hgbotCheckin
2015-06-23 17:15hgbotNote Added: 0078447
2015-06-23 17:15hgbotStatusscheduled => resolved
2015-06-23 17:15hgbotResolutionopen => fixed
2015-06-23 17:15hgbotFixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR15Q1.6/rev/d7c4fba5faa582657a0711ab4c982b1175a0625e [^]
2015-06-23 17:17vmromanosReview Assigned To => vmromanos
2015-06-23 17:17vmromanosNote Added: 0078454
2015-06-23 17:17vmromanosStatusresolved => closed
2015-06-29 11:30eugeniIssue Monitored: eugeni

Notes
(0078447)
hgbot   
2015-06-23 17:15   
Repository: erp/backports/3.0PR15Q1.6
Changeset: d7c4fba5faa582657a0711ab4c982b1175a0625e
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.0PR15Q1.6/rev/d7c4fba5faa582657a0711ab4c982b1175a0625e [^]

Fixes issue 30221: 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
---
(0078454)
vmromanos   
2015-06-23 17:17   
Code review + testing OK