Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0018942 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Openbravo ERP] Z. Others | major | always | 2011-09-09 15:01 | 2011-11-04 11:57 | |||
Reporter | mirurita | View Status | public | |||||
Assigned To | mirurita | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | 2.50 | Fixed in SCM revision | 48c3203cdb56 | |||
Projection | none | ETA | none | Target Version | 2.50MP36 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | ||||||||
Web browser | ||||||||
Modules | Advanced Payables and Receivables Mngmt | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0018942: A validation in payment process is not allowing to pay a negative invoice (invoicing totally an order) which has a discount | |||||||
Description | A '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 Reproduce | 1) 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 | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
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 |