Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0037263 | Openbravo ERP | 09. Financial management | public | 2017-11-08 13:15 | 2018-01-03 12:39 | |||||||
Reporter | maite | |||||||||||
Assigned To | collazoandy4 | |||||||||||
Priority | urgent | Severity | major | Reproducibility | always | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | 3.0PR18Q1 | ||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | dmiguelez | |||||||||||
OBNetwork customer | OBPS | |||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Support ticket | 49318 | |||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0037263: "Last register amount" wrongly calculated by "Create VAT registers" process in Tax Payment window | |||||||||||
Description | Problem is that the process is not currently filtering by organization so, depending on your data, it is considering information form another organization | |||||||||||
Steps To Reproduce | 1. Create record in Tax Register Type window for * organization, name "purchase" set any gl item and "sales transaction" not checked 2. Create record in Tax Register Type window for * organization, name "sales" set any gl item and "sales transaction" checked. Add Lines: 2.1. Tax "Entregas IVA 21% - IVA Normal" and "AR Invoice" document type 2.2. Tax "NY Sales Tax - US State Sales Tax" and "AR Invoice" document type 3. Register Sales Invoice for "F&B US, Inc." organization, "Healthy Food Supermarkets, Co." business partner, Invoice Date = 19-10-2017. Add any line, process and post invoice. Write down below amounts: Taxable amount i.e 2.04 Tax amount i.e 0.08 (as the tax rate selected was NY Sales Tax. 4. Create record in Tax Payment window for "F&B US, Inc." organization, "Healthy Food Supermarkets, Co." business partner, "USD" currency, Starting Date= 01-10-2017, Ending Date=31-10-2017, "Generate Payment"=N. 5. Run "Create VAT registers" process and realize that "Tax Total Amount" is properly calculated for "sales" line (i.e.Tax Total Amount = 0.08, Last Register Amount = 0.00). Process Tax Payment record 6. Register Sales Invoice for "F&B España, S.A" organization, "Alimentos y Supermercados, S.A" business partner, Invoice Date = 08-11-2017. Add any line, process and post invoice. Write down below amounts: Taxable Amount i.e. 1.53 Tax Amount i.e. 0.32 7. Create a record in Tax Payment window for "F&B España, S.A" organization, "Alimentos y Supermercados, S.A" business partner, "EUR" currency, Starting Date= 01-11-2017, Ending Date=30-11-2017, "Generate Payment"=Y. 8. Run "Create VAT registers" process and realize that "Tax Total Amount" is properly calculated for "sales" line, that is 0.32. But problem is in "Last Register Amount", where information form another legal organization ("F&B US, Inc.") is being considered i.e. 0.08 | |||||||||||
Proposed Solution | Problem seems to be in "updateRegAccumAmt" method in TaxRegister.java file | |||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2017-11-08 13:15 | maite | New Issue | ||||||||||
2017-11-08 13:15 | maite | Assigned To | => Triage Finance | |||||||||
2017-11-08 13:15 | maite | OBNetwork customer | => Yes | |||||||||
2017-11-08 13:15 | maite | Modules | => Core | |||||||||
2017-11-08 13:15 | maite | Support ticket | => 49318 | |||||||||
2017-11-08 13:15 | maite | Resolution time | => 1511910000 | |||||||||
2017-11-08 13:15 | maite | Triggers an Emergency Pack | => No | |||||||||
2017-11-08 13:15 | maite | Issue Monitored: networkb | ||||||||||
2017-11-08 15:26 | psanjuan | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=16251#r16251 | |||||||||
2017-11-08 18:23 | dmiguelez | Assigned To | Triage Finance => collazoandy4 | |||||||||
2017-11-08 19:30 | collazoandy4 | Status | new => scheduled | |||||||||
2017-11-09 16:49 | collazoandy4 | Note Added: 0100389 | ||||||||||
2017-11-14 14:13 | maite | Relationship added | related to 0037186 | |||||||||
2017-11-14 14:13 | maite | Relationship deleted | related to 0037186 | |||||||||
2017-11-14 17:11 | collazoandy4 | Relationship added | related to 0037292 | |||||||||
2017-11-17 12:47 | hgbot | Checkin | ||||||||||
2017-11-17 12:47 | hgbot | Note Added: 0100579 | ||||||||||
2017-11-17 12:47 | hgbot | Status | scheduled => resolved | |||||||||
2017-11-17 12:47 | hgbot | Resolution | open => fixed | |||||||||
2017-11-17 12:47 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/12b3fad83754c5c3cc0c942c3c05058ce142bb5a [^] | |||||||||
2017-11-17 12:47 | hgbot | Checkin | ||||||||||
2017-11-17 12:47 | hgbot | Note Added: 0100580 | ||||||||||
2017-11-17 12:47 | dmiguelez | Review Assigned To | => dmiguelez | |||||||||
2017-11-17 12:47 | dmiguelez | Note Added: 0100581 | ||||||||||
2017-11-17 12:47 | dmiguelez | Status | resolved => closed | |||||||||
2017-11-17 13:03 | dmiguelez | Fixed in Version | => 3.0PR18Q1 | |||||||||
2018-01-03 12:39 | hudsonbot | Checkin | ||||||||||
2018-01-03 12:39 | hudsonbot | Note Added: 0101433 | ||||||||||
2018-01-03 12:39 | hudsonbot | Checkin | ||||||||||
2018-01-03 12:39 | hudsonbot | Note Added: 0101434 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|