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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0026649
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] Z. Othersmajoralways2014-05-21 16:242014-08-08 18:52
ReportermaiteView Statuspublic 
Assigned Topramakrishnan 
PriorityurgentResolutionfixedFixed in Version3.0PR14Q4
StatusclosedFix in branchFixed in SCM revisioncf89ea93bdfc
ProjectionnoneETAnoneTarget Version3.0PR14Q4
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned TodaniOpenbravo
Web browser
ModulesAdvanced Payables and Receivables Mngmt
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0026649: Wrong payment details when "using credit" but total amount to pay is negative

DescriptionWrong payment details when "using credit" but total amount to pay is negative
Steps To Reproduce1. Register Payment Out for "Bebidas Alegres" and set "Generate Credit" =50. Process payment
2. Register Purchase Invoice for "Bebidas Alegres", add any line and set unit price=60. Process invoice and DO NOT use credit to pay it
3. Register other Purchase Invoice for "Bebidas Alegres", add any line and set negative price=-100. Process invoice
4. Register Payment Out for "Bebidas Alegres" and "Add details". Select option "use available credit" and also select previous invoices (positive and negative one). Process payment and verify that details are not correct and that credit has not really been used
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0035054 closedAtulOpenbravo It is not possible to pay a negative purchase invoice using credit and selecting "Refund amount to customer" 

-  Notes
(0067339)
maite (developer)
2014-05-21 16:25

modulescript required to fix erroneous data
(0068532)
hgbot (developer)
2014-07-03 18:35

Repository: erp/devel/pi
Changeset: cf89ea93bdfc35190ab1982be4e7e01bebbe19f9
Author: Daniel Ruiz <daniel.ruiz <at> openbravo.com>
Date: Thu Jul 03 18:33:48 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/cf89ea93bdfc35190ab1982be4e7e01bebbe19f9 [^]

Fixes Issue 26649:Wrong payment details when using credit but total amount to pay is negative

---
M modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_MESSAGE.xml
M modules/org.openbravo.advpaymentmngt/web/org.openbravo.advpaymentmngt/js/ob-aprm-addPayment.js
---
(0068533)
daniOpenbravo (developer)
2014-07-03 18:38

Finally there is no bug.

Used Credit is 0 as it is not necessary to use that credit because there is no amount to be paid (60 - 100= -40, so there is nothing to pay but credit is going to be generated).

Amount of 40 is left as credit.

Amount of the payment is 0 as a result of Total Amount of purchase invoices plus generated credit.

We have added a message in order to be shown when using credit is not necessary.
(0068534)
daniOpenbravo (developer)
2014-07-03 18:47

Verified. Added note.
(0069134)
hudsonbot (developer)
2014-08-08 18:52

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/4450016dee64 [^]
Maturity status: Test

- Issue History
Date Modified Username Field Change
2014-05-21 16:24 maite New Issue
2014-05-21 16:24 maite Assigned To => dmiguelez
2014-05-21 16:24 maite Modules => Advanced Payables and Receivables Mngmt
2014-05-21 16:24 maite Triggers an Emergency Pack => No
2014-05-21 16:25 maite Resolution time => 1403820000
2014-05-21 16:25 maite Note Added: 0067339
2014-05-21 16:25 maite Assigned To dmiguelez => pramakrishnan
2014-06-30 12:35 eduardo_Argal Target Version PR14Q3 => PR14Q4
2014-07-03 18:35 hgbot Checkin
2014-07-03 18:35 hgbot Note Added: 0068532
2014-07-03 18:35 hgbot Status new => resolved
2014-07-03 18:35 hgbot Resolution open => fixed
2014-07-03 18:35 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/cf89ea93bdfc35190ab1982be4e7e01bebbe19f9 [^]
2014-07-03 18:38 daniOpenbravo Note Added: 0068533
2014-07-03 18:47 daniOpenbravo Review Assigned To => daniOpenbravo
2014-07-03 18:47 daniOpenbravo Note Added: 0068534
2014-07-03 18:47 daniOpenbravo Status resolved => closed
2014-07-03 18:48 daniOpenbravo Fixed in Version => PR14Q4
2014-08-08 18:52 hudsonbot Checkin
2014-08-08 18:52 hudsonbot Note Added: 0069134
2017-03-29 13:51 aferraz Relationship added related to 0035054


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker