Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0025156 | Openbravo ERP | Z. Others | public | 2013-11-14 12:53 | 2013-11-24 16:24 |
|
Reporter | daniOpenbravo | |
Assigned To | dmiguelez | |
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 30 | OS Version | 13.04 |
Product Version | 3.0MP28.2 | |
Target Version | 3.0MP31 | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | pramakrishnan |
OBNetwork customer | OBPS |
Web browser | Google Chrome |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0025156: Error when reversing payment in closed period. |
Description | When we are going to reverse a payment, we must select the payment and click "Reverse Payment" button. This action opens a pop up in which we should fill "Payment date" field. The problem is that, if we select a date from a closed period for the reversed payment, an error is shown (look at attached file). |
Steps To Reproduce | - Create a payment (for example in Payment Out window).
- Once the payment is created, click "Reverse Payment" button.
- Fill Pop up´s "Payment date" field with a date of a closed period.
- When clicking on "OK" button, the following error appears: (see attached file)
ERROR: insert or update on table "fin_payment" violates foreign key constraint "fin_payment_reversed" Detail: Key (fin_rev_payment_id)=(5D1D55E4E6094B5EAC230D3F7404A90D) is not present in table "fin_payment".
|
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | ERRReversePayment.png (486,666) 2013-11-14 12:53 https://issues.openbravo.com/file_download.php?file_id=6503&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2013-11-14 12:53 | daniOpenbravo | New Issue | |
2013-11-14 12:53 | daniOpenbravo | Assigned To | => dmiguelez |
2013-11-14 12:53 | daniOpenbravo | File Added: ERRReversePayment.png | |
2013-11-14 12:53 | daniOpenbravo | Web browser | => Google Chrome |
2013-11-14 12:53 | daniOpenbravo | Modules | => Core |
2013-11-14 12:53 | daniOpenbravo | OBNetwork customer | => Yes |
2013-11-14 12:53 | daniOpenbravo | Triggers an Emergency Pack | => No |
2013-11-21 12:33 | gauravdeshmukh | Note Added: 0062320 | |
2013-11-24 08:48 | hgbot | Checkin | |
2013-11-24 08:48 | hgbot | Note Added: 0062353 | |
2013-11-24 08:48 | hgbot | Status | new => resolved |
2013-11-24 08:48 | hgbot | Resolution | open => fixed |
2013-11-24 08:48 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/95c10342f5db9599b7f17f4e8b02cdbf9138abd0 [^] |
2013-11-24 08:50 | pramakrishnan | Review Assigned To | => pramakrishnan |
2013-11-24 08:50 | pramakrishnan | Note Added: 0062354 | |
2013-11-24 08:50 | pramakrishnan | Status | resolved => closed |
2013-11-24 16:24 | hudsonbot | Checkin | |
2013-11-24 16:24 | hudsonbot | Note Added: 0062358 | |
Notes |
|
|
Login with group admin role
1.GoTo Payment Out window
2.Click on Reverse Payment window
3.Fill Pop up´s "Payment date" field with a date of a closed period.
4.When clicking on "OK" button ,It Shows error message as"The Period does not
exist or it is not opened". |
|
|
(0062353)
|
hgbot
|
2013-11-24 08:48
|
|
Repository: erp/devel/pi
Changeset: 95c10342f5db9599b7f17f4e8b02cdbf9138abd0
Author: Gaurav Deshmukh <gaurav.deshmukh <at> geotechinfo.in>
Date: Thu Nov 21 16:55:01 2013 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/95c10342f5db9599b7f17f4e8b02cdbf9138abd0 [^]
Fixes Issue 25156:Error when reversing payment in closed period
---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_PaymentProcess.java
---
|
|
|
|
Code Review + Testing - OK. |
|
|
|
|