Openbravo Issue Tracking System - Openbravo ERP | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0038001 | Openbravo ERP | 09. Financial management | public | 2018-02-26 14:01 | 2018-03-13 17:23 |
| Reporter | ngarcia | ||||
| Assigned To | AtulOpenbravo | ||||
| Priority | urgent | Severity | major | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | OS | 5 | OS Version | ||
| Product Version | |||||
| Target Version | Fixed in Version | 3.0PR18Q2 | |||
| Merge Request Status | |||||
| Review Assigned To | dmiguelez | ||||
| OBNetwork customer | OBPS | ||||
| Web browser | |||||
| Modules | Core | ||||
| Support ticket | 337 | ||||
| Regression level | |||||
| Regression date | |||||
| Regression introduced in release | |||||
| Regression introduced by commit | |||||
| Triggers an Emergency Pack | No | ||||
| Summary | 0038001: Tax Payment process is not filtering the GL Item account by General Ledger when creating the GL Journal | ||||
| Description | Tax Payment process is not filtering the GL Item account by General Ledger when creating the GL Journal, it takes the one with highest identifier | ||||
| Steps To Reproduce | As group admin role: Go to G/L Item window and select International funds transfer (defined at *) Set the following values in Accounting tab: General Ledger: F&B International Group US/A/US Dollar Glitem debit acct: 1110 - Checking Account Glitem credit acct: 1110 - Checking Account General Ledger: F&B España, S.A. US/A/Euro Glitem debit acct: 10000 - Capital social Glitem credit acct: 10000 - Capital social Check through database that 1110 - Checking Account has a higher identifier than 10000 - Capital social Create the following Tax Register Type: Organization: F&B España, S.A G/L Item: International funds transfer Sales Transaction: N Add a line: Tax: Adquisiciones IVA 21% - IVA Normal Document Type: AP Invoice Create another Tax Register Type: Organization: F&B España, S.A G/L Item: International funds transfer Sales Transaction: Y Add a line: Tax: Entregas IVA 21% - IVA Normal Document Type: AR Invoice Create a Tax Payment: Organization: F&B España, S.A Business Partner: Bebidas Alegres, S.L. General Ledger: F&B España, S.A. US/A/Euro Starting date: 01-01-2017 Ending date: 31-12-2017 Generate Payment: Y Create Vat Registers Process it Navigate to the Journal Entry and check although G/L Journal header shows F&B España, S.A. US/A/Euro general ledger an account combination from a different general ledger is used in lines (1110 - Checking Account) | ||||
| Proposed Solution | Review the following query in c_taxpayment_post database function: select case when tt.issotrx='Y' then max(glitem_credit_acct) else max(glitem_debit_acct) end, max(tt.c_glitem_id) into v_glitem_acct, v_glitem_id from c_taxregister_type tt inner join c_glitem_acct gia on gia.c_glitem_id=tt.c_glitem_id where tt.isactive='Y' and gia.isactive='Y' and tt.issotrx= case when v_totalcredit - v_totaldebit > 0 then 'N' else 'Y' end group by tt.issotrx; | ||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2018-02-26 14:01 | ngarcia | New Issue | |||
| 2018-02-26 14:01 | ngarcia | Assigned To | => Triage Finance | ||
| 2018-02-26 14:01 | ngarcia | OBNetwork customer | => Yes | ||
| 2018-02-26 14:01 | ngarcia | Modules | => Core | ||
| 2018-02-26 14:01 | ngarcia | Support ticket | => 337 | ||
| 2018-02-26 14:01 | ngarcia | Resolution time | => 1521414000 | ||
| 2018-02-26 14:01 | ngarcia | Triggers an Emergency Pack | => No | ||
| 2018-02-26 14:01 | ngarcia | Issue Monitored: networkb | |||
| 2018-03-02 14:08 | dmiguelez | Assigned To | Triage Finance => AtulOpenbravo | ||
| 2018-03-08 21:51 | AtulOpenbravo | Status | new => scheduled | ||
| 2018-03-08 21:51 | AtulOpenbravo | Note Added: 0103104 | |||
| 2018-03-08 21:51 | AtulOpenbravo | Note Edited: 0103104 | bug_revision_view_page.php?bugnote_id=0103104#r16821 | ||
| 2018-03-09 12:01 | hgbot | Checkin | |||
| 2018-03-09 12:01 | hgbot | Note Added: 0103131 | |||
| 2018-03-09 12:01 | hgbot | Status | scheduled => resolved | ||
| 2018-03-09 12:01 | hgbot | Resolution | open => fixed | ||
| 2018-03-09 12:01 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/024449fcae93290bc0d2ccb8a431daec82a9c83a [^] | ||
| 2018-03-09 12:02 | dmiguelez | Review Assigned To | => dmiguelez | ||
| 2018-03-09 12:02 | dmiguelez | Note Added: 0103132 | |||
| 2018-03-09 12:02 | dmiguelez | Status | resolved => closed | ||
| 2018-03-09 12:02 | dmiguelez | Fixed in Version | => 3.0PR18Q2 | ||
| 2018-03-13 17:23 | hudsonbot | Checkin | |||
| 2018-03-13 17:23 | hudsonbot | Note Added: 0103208 | |||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||