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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0018942
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] Z. Othersmajoralways2011-09-09 15:012011-11-04 11:57
ReportermiruritaView Statuspublic 
Assigned Tomirurita 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branch2.50Fixed in SCM revision48c3203cdb56
ProjectionnoneETAnoneTarget Version2.50MP36
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesAdvanced Payables and Receivables Mngmt
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0018942: A validation in payment process is not allowing to pay a negative invoice (invoicing totally an order) which has a discount

DescriptionA 'validateAmount' method in payment process is failing when you try to pay an negative invoice with the following details:
 - Invoices totally a negative order
 - The invoice has a discount
Steps To Reproduce1) Create a Sales Order
 1.1) Lines
       - Product: Any
       - Quantity: -10
       - Unit Price: 1€
 1.2) Complete. Total of the order: -10€

2) Invoice totally previous order and add a discount of 10%
 2.1) Complete the invoice. Total of the invoice will be 9€ after applying the discount.

3) Click on Add Payment Details button. When the pop-up is opened click on Process button.

4) Notice that the validation is failing.
Error: Amount out of range: -10.00 cannot be used as outstanding amount is -9.00
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 00184913.0MP5 closedmirurita A validation in payment process is not allowing to pay a negative invoice (invoicing totally an order) which has a discount 

-  Notes
(0042408)
hgbot (developer)
2011-10-31 12:54

Repository: erp/pmods/org.openbravo.advpaymentmngt
Changeset: 48c3203cdb56c2598729434af9637f008268e6f7
Author: Mikel Irurita <mikel.irurita <at> openbravo.com>
Date: Mon Oct 31 12:53:49 2011 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.advpaymentmngt/rev/48c3203cdb56c2598729434af9637f008268e6f7 [^]

Fixes issue 18942: validation in payment process is failing.
Validation is failing under some circunstancies (see issue notes).
The validation was preventing to pay more than expected in the payment plan (overpayments).
But due to how payment schedule details are created (in extension point), temporary overpayments
are allowed. In this case the validation was showing an error and it was not possible to
process the payment.
The only case in which the validation is adding value is when the payment plan info does not match
with the payment schedule details. This can happen because of an issue. We already have alerts for
checking this scenarios and the APRM payment monitor is able to fix incorrect payment plans.
The validation has been removed

---
M src/org/openbravo/advpaymentmngt/process/FIN_PaymentProcess.java
---
(0042529)
maite (developer)
2011-11-04 11:57

verified

- Issue History
Date Modified Username Field Change
2011-10-31 11:52 mirurita Type defect => backport
2011-10-31 11:52 mirurita fix_in_branch => 2.50
2011-10-31 11:53 mirurita Target Version 3.0MP5 => 2.50MP36
2011-10-31 12:54 hgbot Checkin
2011-10-31 12:54 hgbot Note Added: 0042408
2011-10-31 12:54 hgbot Status scheduled => resolved
2011-10-31 12:54 hgbot Resolution open => fixed
2011-10-31 12:54 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.advpaymentmngt/rev/48c3203cdb56c2598729434af9637f008268e6f7 [^]
2011-11-04 11:57 maite Note Added: 0042529
2011-11-04 11:57 maite Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker