Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0033987 | Openbravo ERP | Z. Others | public | 2016-09-14 10:25 | 2016-09-26 22:05 |
|
Reporter | maite | |
Assigned To | markmm82 | |
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 3.0PR16Q4 | |
Merge Request Status | |
Review Assigned To | aferraz |
OBNetwork customer | OBPS |
Web browser | |
Modules | Advanced Payables and Receivables Mngmt |
Support ticket | 43651 |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0033987: It is not possible to VOID a payment that generates credit |
Description | Error 20501 is obtained when trying to void a payment that generates credit |
Steps To Reproduce | 0. Access Financial Account "Cuenta de Banco" and configure "Transferencia" payment method as "automatic", "Simple Execution Process" and "deferred=yes"
1. Access Payment In window and create record for "Cuenta de Banco", "transferencia", "Alimentos y Supermercados" and Amount=500
2. Run Add details process, NOT select any invoice and set option "Leave the credit to be used later". Process payment
3. Press "Reactivate" button and select VOID option
4. Error 20501 is raised
|
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2016-09-14 10:25 | maite | New Issue | |
2016-09-14 10:25 | maite | Assigned To | => Triage Finance |
2016-09-14 10:25 | maite | OBNetwork customer | => Yes |
2016-09-14 10:25 | maite | Modules | => Advanced Payables and Receivables Mngmt |
2016-09-14 10:25 | maite | Support ticket | => 43651 |
2016-09-14 10:25 | maite | Resolution time | => 1475532000 |
2016-09-14 10:25 | maite | Triggers an Emergency Pack | => No |
2016-09-14 10:25 | maite | Issue Monitored: networkb | |
2016-09-15 11:13 | aferraz | Assigned To | Triage Finance => markmm82 |
2016-09-20 17:30 | markmm82 | Status | new => scheduled |
2016-09-20 20:13 | markmm82 | Note Added: 0090122 | |
2016-09-23 14:46 | hgbot | Checkin | |
2016-09-23 14:46 | hgbot | Note Added: 0090208 | |
2016-09-23 14:46 | hgbot | Status | scheduled => resolved |
2016-09-23 14:46 | hgbot | Resolution | open => fixed |
2016-09-23 14:46 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/a570fdbe9083a550e3c628e7157f73af6efc56aa [^] |
2016-09-23 14:47 | aferraz | Review Assigned To | => aferraz |
2016-09-23 14:47 | aferraz | Note Added: 0090209 | |
2016-09-23 14:47 | aferraz | Status | resolved => closed |
2016-09-23 14:47 | aferraz | Fixed in Version | => 3.0PR16Q4 |
2016-09-26 22:05 | hudsonbot | Checkin | |
2016-09-26 22:05 | hudsonbot | Note Added: 0090276 | |
Notes |
|
|
Test Plan:
0. Access Financial Account "Cuenta de Banco" and configure "Transferencia" payment method as "automatic", "Simple Execution Process" and "deferred=yes"
1. Access Payment In window and create record for "Cuenta de Banco", "transferencia", "Alimentos y Supermercados" and Amount=500
2. Run Add details process, NOT select any invoice and set option "Leave the credit to be used later". Process payment
3. Press "Reactivate" button and select VOID option
4. Notice the process is completed successfully and Payment has Status = Void. |
|
|
(0090208)
|
hgbot
|
2016-09-23 14:46
|
|
Repository: erp/devel/pi
Changeset: a570fdbe9083a550e3c628e7157f73af6efc56aa
Author: Mark <markmm82 <at> gmail.com>
Date: Thu Sep 22 07:12:39 2016 -0400
URL: http://code.openbravo.com/erp/devel/pi/rev/a570fdbe9083a550e3c628e7157f73af6efc56aa [^]
Fixes issue 33987: It is possible to VOID a payment that generates credit
While payment is processed, as it will be voided it updates its generated credit. When all changes are flushed and aprm_fin_pmt_check_trg function is fired, it also takes into account status of the NEW.STATUS object, to only compare differences between amounts and generated credits if the new status is different than RPVOID.
---
M modules/org.openbravo.advpaymentmngt/src-db/database/model/triggers/APRM_FIN_PMT_CHECK_TRG.xml
---
|
|
|
|
|
|
|
|