Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||||||||||||||||
View Issue Details | ||||||||||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||||||||||||||||
0036745 | Openbravo ERP | 07. Sales management | public | 2017-08-29 20:11 | 2017-10-19 10:49 | |||||||||||||||||||||
Reporter | collazoandy4 | |||||||||||||||||||||||||
Assigned To | collazoandy4 | |||||||||||||||||||||||||
Priority | normal | Severity | major | Reproducibility | always | |||||||||||||||||||||
Status | closed | Resolution | no change required | |||||||||||||||||||||||
Platform | OS | 5 | OS Version | |||||||||||||||||||||||
Product Version | ||||||||||||||||||||||||||
Target Version | Fixed in Version | |||||||||||||||||||||||||
Merge Request Status | ||||||||||||||||||||||||||
Review Assigned To | ||||||||||||||||||||||||||
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 | 0036745: Purchase order schedule details is not updated when same purchase order line is invoiced twice and second invoice have a negativ | |||||||||||||||||||||||||
Description | Purchase order schedule details is not updated when same purchase order line is invoiced twice and second invoice is changed to a a negative qty | |||||||||||||||||||||||||
Steps To Reproduce | Go to Payment Term and create a new record: Name: 30-60 Offset month due: 2 Add line with "percentage due" = 50 and "offset month due" = 1 Go to Business Partner window and relate this new payment term to "Bebidas Alegres" BP. Register Purchase Order for Bebidas Alegres using "30-60" payment term. (order no 1000190) Add line for any product and qty=800, price = 1.00 and exempt VAT (Compras exentas). Add another line for different product and qty=200, price = 1.00 and exempt VAT. Process the Order and check total gross amount of the order is 1,000.00 Register a Purchase Invoice for Bebidas Alegres using "30-60" payment term. (invoice no 10000946) Run "Create lines from" and select line of 800 units line from the order. DO NOT process invoice. Register another Purchase Invoice for Bebidas Alegres using "30-60" payment term. (invoice no 10000947) Run "Create lines from" and select line of 800 units once more from the order. Edit the line to set qty=-320 units. DO NOT process invoice Process first invoice (invoice no 10000946). Run "Add payment" in this first invoice and realize that details are correct : Outstanding Amount = 400.00, (order no 1000190, invoice no 10000946) Outstanding Amount = 400.00, (order no 1000190, invoice no 10000946) Select the details and press DONE. Check: A new Payment Out is created related to the order and the invoice. The Invoice is paid (Payment Complete = Yes) Go to the Payment Plan tab and realize that two records was created wit outstanding amount = 0. Go back to the order (order no 1000190). Refresh and go to Payment Out Plan, realize that payment plan has been updated Paid = 800 Outstanding = 200. It is correct!!! Process second invoice (invoice no 10000947). Run "Add payment" in this second invoice and realize that details are not correct the order is not related in the payment: Outstanding Amount = -160.00, (invoice no 10000947) Outstanding Amount = -160.00, (invoice no 10000947) Select the details and press DONE. Check: A new Payment Out is created related to the invoice and not to the order. The Invoice is paid (Payment Complete = Yes) Go to the Payment Plan tab and realize that two records was created with outstanding amount = 0. Go back to the order (order no 1000190). Refresh and go to Payment Out Plan, realize that payment plan has not been updated wich is incorrect the payment plan should be updated with the payment made to the second invoice. | |||||||||||||||||||||||||
Proposed Solution | ||||||||||||||||||||||||||
Additional Information | ||||||||||||||||||||||||||
Tags | No tags attached. | |||||||||||||||||||||||||
Relationships |
| |||||||||||||||||||||||||
Attached Files | ||||||||||||||||||||||||||
Issue History | ||||||||||||||||||||||||||
Date Modified | Username | Field | Change | |||||||||||||||||||||||
2017-08-29 20:11 | collazoandy4 | New Issue | ||||||||||||||||||||||||
2017-08-29 20:11 | collazoandy4 | Assigned To | => Triage Finance | |||||||||||||||||||||||
2017-08-29 20:11 | collazoandy4 | Modules | => Core | |||||||||||||||||||||||
2017-08-29 20:11 | collazoandy4 | Triggers an Emergency Pack | => No | |||||||||||||||||||||||
2017-08-30 09:33 | psanjuan | Description Updated | bug_revision_view_page.php?rev_id=15759#r15759 | |||||||||||||||||||||||
2017-09-06 15:44 | collazoandy4 | Assigned To | Triage Finance => collazoandy4 | |||||||||||||||||||||||
2017-09-06 15:45 | collazoandy4 | Status | new => scheduled | |||||||||||||||||||||||
2017-09-12 03:03 | collazoandy4 | Note Added: 0098961 | ||||||||||||||||||||||||
2017-09-12 09:40 | aferraz | Relationship added | related to 0025312 | |||||||||||||||||||||||
2017-09-12 09:40 | aferraz | Relationship added | related to 0026951 | |||||||||||||||||||||||
2017-09-12 09:41 | aferraz | Relationship added | related to 0033500 | |||||||||||||||||||||||
2017-09-20 11:31 | aferraz | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=15947#r15947 | |||||||||||||||||||||||
2017-10-19 10:48 | psanjuan | Note Added: 0099957 | ||||||||||||||||||||||||
2017-10-19 10:49 | psanjuan | Status | scheduled => closed | |||||||||||||||||||||||
2017-10-19 10:49 | psanjuan | Resolution | open => no change required |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|