Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0026121
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] Z. Othersmajoralways2014-03-28 13:462015-01-13 18:32
ReportermaiteView Statuspublic 
Assigned ToAtulOpenbravo 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revision51d72e493b90
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Topramakrishnan
Web browser
ModulesAdvanced Payables and Receivables Mngmt
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0026121: Wrong payment schedule detail generated when running Reverse Payment process from Write-off payment

DescriptionNew pending schedule detail related with invoice is not correctly created so invoice can not be paid again
Steps To Reproduce1. Register sales invoice for any BP and Organization. Add any line and process.
2. Register Payment In for that invoice, setting payment amount =0.00 and writeoff amount= total invoice amount. Process
3. Run "Reverse Payment" process from previously created payment and realize that counter payment is correctly created.
However, if you access again to sales invoice and try to pay it you can verify that pending amount is 0.00

fin_payment_scheduledetail has been created in database for zero amoun, when it should have total invoice's amount.

Note: if you follow same process over an standard payment (not writeoff payment) you will be able to correctly paid invoice again

Modulescript is needed in order to correct already generated scheduledetails
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
causes defect 0028591 closedAtulOpenbravo Reversing a payment is creating wrong invoice payment plan details 

-  Notes
(0066530)
hgbot (developer)
2014-04-22 15:34

Repository: erp/devel/pi
Changeset: 51d72e493b90896a089dca36e1a362347c15761a
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Tue Apr 22 16:52:22 2014 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/51d72e493b90896a089dca36e1a362347c15761a [^]

Fixes Issue 26121 Wrong Payment Schedule Detail amount when reversing payment

---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_PaymentProcess.java
A modules/org.openbravo.advpaymentmngt/build/classes/org/openbravo/advpaymentmngt/modulescript/UpdatePaymentScheduledetail.class
A modules/org.openbravo.advpaymentmngt/build/classes/org/openbravo/advpaymentmngt/modulescript/UpdatePaymentScheduledetailData.class
A modules/org.openbravo.advpaymentmngt/src-util/modulescript/src/org/openbravo/advpaymentmngt/modulescript/UpdatePaymentScheduledetail.java
A modules/org.openbravo.advpaymentmngt/src-util/modulescript/src/org/openbravo/advpaymentmngt/modulescript/UpdatePaymentScheduledetail_data.xsql
A modules/org.openbravo.advpaymentmngt/src-util/modulescript/src/src/org/openbravo/advpaymentmngt/modulescript/UpdatePaymentScheduledetailData.java
---
(0066531)
pramakrishnan (developer)
2014-04-22 15:40

Code review + Testing - OK.
(0066959)
hudsonbot (developer)
2014-05-07 18:12

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/02ca2648bcdc [^]
Maturity status: Test

- Issue History
Date Modified Username Field Change
2014-03-28 13:46 maite New Issue
2014-03-28 13:46 maite Assigned To => dmiguelez
2014-03-28 13:46 maite Modules => Advanced Payables and Receivables Mngmt
2014-03-28 13:46 maite Resolution time => 1397426400
2014-03-28 13:46 maite Triggers an Emergency Pack => No
2014-03-28 13:47 maite Issue Monitored: networkb
2014-03-28 13:47 maite Steps to Reproduce Updated View Revisions
2014-04-02 11:17 mmarquez Issue Monitored: mmarquez
2014-04-10 09:52 AtulOpenbravo Assigned To dmiguelez => AtulOpenbravo
2014-04-10 10:06 AtulOpenbravo Status new => scheduled
2014-04-10 10:06 AtulOpenbravo fix_in_branch => pi
2014-04-22 15:34 hgbot Checkin
2014-04-22 15:34 hgbot Note Added: 0066530
2014-04-22 15:34 hgbot Status scheduled => resolved
2014-04-22 15:34 hgbot Resolution open => fixed
2014-04-22 15:34 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/51d72e493b90896a089dca36e1a362347c15761a [^]
2014-04-22 15:40 pramakrishnan Review Assigned To => pramakrishnan
2014-04-22 15:40 pramakrishnan Note Added: 0066531
2014-04-22 15:40 pramakrishnan Status resolved => closed
2014-05-07 18:12 hudsonbot Checkin
2014-05-07 18:12 hudsonbot Note Added: 0066959
2015-01-13 18:32 ngarcia Relationship added causes 0028591


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker