Openbravo Issue Tracking System - Openbravo ERP | |||||||||||||||||||
View Issue Details | |||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||
0034589 | Openbravo ERP | 09. Financial management | public | 2016-11-21 11:33 | 2017-04-01 12:06 | ||||||||||||||
Reporter | psanjuan | ||||||||||||||||||
Assigned To | rqueralta | ||||||||||||||||||
Priority | urgent | Severity | major | Reproducibility | always | ||||||||||||||
Status | closed | Resolution | fixed | ||||||||||||||||
Platform | OS | 30 | OS Version | Professional Appliance | |||||||||||||||
Product Version | |||||||||||||||||||
Target Version | Fixed in Version | 3.0PR17Q1 | |||||||||||||||||
Merge Request Status | |||||||||||||||||||
Review Assigned To | markmm82 | ||||||||||||||||||
OBNetwork customer | |||||||||||||||||||
Web browser | |||||||||||||||||||
Modules | Core | ||||||||||||||||||
Support ticket | |||||||||||||||||||
Regression level | |||||||||||||||||||
Regression date | |||||||||||||||||||
Regression introduced in release | |||||||||||||||||||
Regression introduced by commit | |||||||||||||||||||
Triggers an Emergency Pack | No | ||||||||||||||||||
Summary | 0034589: Error message needed in case of voiding an invoice having an "Awaiting Execution" or "Awaiting Payment" payment related. | ||||||||||||||||||
Description | Error message needed in case of voiding an invoice having an "Awaiting Execution" or "Awaiting Payment" payment related. | ||||||||||||||||||
Steps To Reproduce | 1) "Awaiting Execution" payment status: Create a Sales Invoice for F&B España, Alimentos business partner. Change payment method to an automatic payment method such as "Print Check Simple process" or "Remittance", set up as "Deferred" = Yes. Add any line to the invoice. Complete and Post the invoice. Partially pay the invoice and do NOT execute that payment, therefore payment created is in status "Awaiting Execution". Try to void the invoice. The invoice is voided, and a new payment is created in status "Payment Received" including remaining sales invoice to pay, and reverse sales invoice amount. This is not correct. An error message needs to be shown saying that "Invoice can not be voided as there is an awaiting execution or awaiting payment related. Please either execute that payment or cancel it". 2) "Awaiting Payment" payment status: Create a Sales Invoice for F&B España, Alimentos business partner. Change payment method to an automatic payment method such as "Print Check Simple process" or "Remittance", set up as "Deferred" = Yes. Add any line to the invoice. Complete and Post the invoice. Partially pay the invoice and do NOT execute that payment, therefore payment created is in status "Awaiting Execution". Go to the payment and press the button Reactivate. Choose "Reactivate" action, therefore payment status is "Awaiting Payment". Try to void the invoice. The invoice is voided, and a new payment is created in status "Payment Received" including remaining sales invoice amount to pay, and reverse sales invoice amount. This is not correct. An error message needs to be shown saying that "Invoice can not be voided as there is an awaiting execution or awaiting payment related. Please either execute that payment or cancel it". | ||||||||||||||||||
Proposed Solution | (*) Proposed scenario 1: partially paid invoice or totally paid invoice, but payment related do not executed. Once error is shown, the payment is Voided. Create a Sales Invoice for F&B España, Alimentos business partner. Change payment method to an automatic payment method such as "Print Check Simple process" or "Remittance", set up as "Deferred" = Yes. Add any line to the invoice. Complete and Post the invoice. Partially pay the invoice and do NOT execute that payment. Try to void the invoice. An error message is shown saying that "Invoice can not be voided as there is an awaiting execution payment related. Please either execute that payment or cancel it". Navigate to the payment and press Reactivate button, select "Void" action. Press OK. Go back to the invoice and void it once again. Check that the invoice has been voided by a reverse document. Go to payment plan tab and verify there are 2 payments. Go to Payment details tab and verify that first payment is in status Void and second one as "Payment Received". Navigate to that payment. Check it does have include the invoice and its reverse. Amount is 0.00 and status is "Payment Received". Repeat same test by using below listed actions in the payment window: - Navigate to the payment and press Reactivate button, select "Reactivate and Delete lines" action. Press OK. Same result is obtained. (*) Proposed scenario 2: partially paid invoice or totally paid invoice, but payment related do not executed. Once error is shown, the payment is Executed. Create a Sales Invoice for F&B España, Alimentos business partner. Change payment method to an automatic payment method such as "Print Check Simple process" or "Remittance", set up as "Deferred" = Yes. Add any line to the invoice. Complete and Post the invoice. Partially pay the invoice and do NOT execute that payment. Try to void the invoice. An error message is shown saying that "Invoice can not be voided as there is an awaiting execution payment related. Please either execute that payment or cancel it". Navigate to the payment and press Execute button to execute the payment. Go back to the invoice and void it once again. Check that the invoice has been voided by a reverse document and no additional payment in has been created. Go to payment plan tab and verify there is only payment. Reverse invoice does not have any payment related. (*) Proposed scenario 3: partially paid invoice or totally paid invoice, but payment related do not execute, but reactivated. Create a Sales Invoice for F&B España, Alimentos business partner. Change payment method to an automatic payment method such as "Print Check Simple process" or "Remittance", set up as "Deferred" = Yes. Add any line to the invoice. Complete and Post the invoice. Partially pay the invoice and do NOT execute that payment, but just Reactivate it by unsing the option "Reactivate", Action "Reactivate". Try to void the invoice. An error message is shown saying that "Invoice can not be voided as there is an awaiting execution payment related. Please either execute that payment or cancel it". Go back to the payment and press add details, select the invoice to pay and either execute the payment, or void it or reactivate it and delete its lines. | ||||||||||||||||||
Additional Information | |||||||||||||||||||
Tags | No tags attached. | ||||||||||||||||||
Relationships |
| ||||||||||||||||||
Attached Files | |||||||||||||||||||
Issue History | |||||||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||||||
2016-11-21 11:33 | psanjuan | New Issue | |||||||||||||||||
2016-11-21 11:33 | psanjuan | Assigned To | => Triage Finance | ||||||||||||||||
2016-11-21 11:33 | psanjuan | Modules | => Core | ||||||||||||||||
2016-11-21 11:33 | psanjuan | Triggers an Emergency Pack | => No | ||||||||||||||||
2016-11-21 11:38 | psanjuan | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=13847#r13847 | ||||||||||||||||
2016-11-21 11:56 | psanjuan | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=13848#r13848 | ||||||||||||||||
2016-11-21 11:56 | psanjuan | Relationship added | related to 0034322 | ||||||||||||||||
2016-11-21 11:58 | psanjuan | Proposed Solution updated | |||||||||||||||||
2016-11-21 12:06 | psanjuan | Proposed Solution updated | |||||||||||||||||
2016-11-21 12:11 | psanjuan | Proposed Solution updated | |||||||||||||||||
2016-11-21 12:18 | psanjuan | Note Added: 0091693 | |||||||||||||||||
2016-11-22 16:08 | rqueralta | Assigned To | Triage Finance => rqueralta | ||||||||||||||||
2016-11-22 16:09 | rqueralta | Status | new => scheduled | ||||||||||||||||
2016-12-21 15:10 | hgbot | Checkin | |||||||||||||||||
2016-12-21 15:10 | hgbot | Note Added: 0092907 | |||||||||||||||||
2016-12-21 15:10 | hgbot | Status | scheduled => resolved | ||||||||||||||||
2016-12-21 15:10 | hgbot | Resolution | open => fixed | ||||||||||||||||
2016-12-21 15:10 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/6b520396354e6df4f96f72121221c1729c0fe0c9 [^] | ||||||||||||||||
2016-12-21 15:10 | hgbot | Checkin | |||||||||||||||||
2016-12-21 15:10 | hgbot | Note Added: 0092908 | |||||||||||||||||
2016-12-21 15:19 | hgbot | Checkin | |||||||||||||||||
2016-12-21 15:19 | hgbot | Note Added: 0092909 | |||||||||||||||||
2016-12-21 15:25 | markmm82 | Review Assigned To | => markmm82 | ||||||||||||||||
2016-12-21 15:25 | markmm82 | Note Added: 0092910 | |||||||||||||||||
2016-12-21 15:25 | markmm82 | Status | resolved => closed | ||||||||||||||||
2016-12-21 15:25 | markmm82 | Fixed in Version | => 3.0PR17Q1 | ||||||||||||||||
2016-12-21 20:51 | hudsonbot | Checkin | |||||||||||||||||
2016-12-21 20:51 | hudsonbot | Note Added: 0092926 | |||||||||||||||||
2016-12-21 20:51 | hudsonbot | Checkin | |||||||||||||||||
2016-12-21 20:51 | hudsonbot | Note Added: 0092927 | |||||||||||||||||
2016-12-21 20:51 | hudsonbot | Checkin | |||||||||||||||||
2016-12-21 20:51 | hudsonbot | Note Added: 0092928 | |||||||||||||||||
2017-03-31 13:22 | hgbot | Checkin | |||||||||||||||||
2017-03-31 13:22 | hgbot | Note Added: 0095767 | |||||||||||||||||
2017-04-01 12:06 | hudsonbot | Checkin | |||||||||||||||||
2017-04-01 12:06 | hudsonbot | Note Added: 0095781 | |||||||||||||||||
2018-02-16 15:02 | ngarcia | Relationship added | related to 0037963 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|