Openbravo Issue Tracking System - Openbravo ERP |
| View Issue Details |
|
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0029110 | Openbravo ERP | 09. Financial management | public | 2015-03-03 12:25 | 2015-03-13 19:49 |
|
| Reporter | Sandrahuguet | |
| Assigned To | AtulOpenbravo | |
| Priority | immediate | Severity | minor | Reproducibility | have not tried |
| Status | closed | Resolution | fixed | |
| Platform | | OS | 20 | OS Version | |
| Product Version | | |
| Target Version | | Fixed in Version | | |
| Merge Request Status | |
| Review Assigned To | aferraz |
| OBNetwork customer | No |
| Web browser | |
| Modules | Core |
| Support ticket | |
| Regression level | |
| Regression date | 2013-12-31 |
| Regression introduced in release | 3.0MP31 |
| Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/fcb87e990fcd [^] |
| Triggers an Emergency Pack | No |
|
| Summary | 0029110: It is not possible to change currency in header tab in G/L Journal |
| Description | It is not possible to change currency in header tab in G/L Journal working in oracle. |
| Steps To Reproduce | -Go to G/L Journal and create new record to "F&B España" Organization
-Navigate to header and create new record:
·Organization: F&B España
·Currency: EUR
-Navigate to lines and create a new line
-Return to the header and try to change currency to USD, the following error is shown:
Error
Saving failed. ORA-04091: table ERP_PI_ORACLE.GL_JOURNAL is mutating, trigger/function may not see it ORA-06512: at "ERP_PI_ORACLE.GL_JOURNALLINE2_TRG", line 41 ORA-04088: error during execution of trigger 'ERP_PI_ORACLE.GL_JOURNALLINE2_TRG' ORA-06512: at "ERP_PI_ORACLE.GL_JOURNAL_TRG", line 35 ORA-04088: error during execution of trigger 'ERP_PI_ORACLE.GL_JOURNAL_TRG' |
| Proposed Solution | |
| Additional Information | |
| Tags | No tags attached. |
| Relationships | | related to | defect | 0029092 | 3.0PR15Q2 | closed | AugustoMauch | Data is not refreshed in form view after changing it with a trigger | | depends on | backport | 0029250 | 3.0PR15Q1.2 | closed | AtulOpenbravo | It is not possible to change currency in header tab in G/L Journal | | depends on | backport | 0029251 | 3.0PR14Q3.8 | closed | AtulOpenbravo | It is not possible to change currency in header tab in G/L Journal | | caused by | defect | 0025414 | | closed | jecharri | Wrong currency rate is applied when posting a GL Journal line |
|
| Attached Files | |
|
| Issue History |
| Date Modified | Username | Field | Change |
| 2015-03-03 12:25 | Sandrahuguet | New Issue | |
| 2015-03-03 12:25 | Sandrahuguet | Assigned To | => AtulOpenbravo |
| 2015-03-03 12:25 | Sandrahuguet | OBNetwork customer | => No |
| 2015-03-03 12:25 | Sandrahuguet | Modules | => Core |
| 2015-03-03 12:25 | Sandrahuguet | Triggers an Emergency Pack | => No |
| 2015-03-03 12:28 | Sandrahuguet | Description Updated | bug_revision_view_page.php?rev_id=7824#r7824 |
| 2015-03-04 05:07 | AtulOpenbravo | Status | new => scheduled |
| 2015-03-04 05:07 | AtulOpenbravo | fix_in_branch | => pi |
| 2015-03-06 10:07 | AtulOpenbravo | Note Added: 0075230 | |
| 2015-03-10 14:38 | aferraz | Regression date | => 2013-12-31 |
| 2015-03-10 14:38 | aferraz | Regression introduced in release | => 3.0MP31 |
| 2015-03-10 14:38 | aferraz | Regression introduced by commit | => https://code.openbravo.com/erp/devel/pi/rev/fcb87e990fcd [^] |
| 2015-03-10 14:38 | aferraz | fix_in_branch | pi => |
| 2015-03-12 09:38 | aferraz | Relationship added | related to 0029092 |
| 2015-03-12 10:08 | aferraz | Status | scheduled => acknowledged |
| 2015-03-12 10:08 | aferraz | Status | acknowledged => scheduled |
| 2015-03-12 10:30 | hgbot | Checkin | |
| 2015-03-12 10:30 | hgbot | Note Added: 0075469 | |
| 2015-03-12 10:30 | hgbot | Status | scheduled => resolved |
| 2015-03-12 10:30 | hgbot | Resolution | open => fixed |
| 2015-03-12 10:30 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/bb7b3752a14dcddad480dbbacb94fa64c3b31e63 [^] |
| 2015-03-12 10:30 | hgbot | Checkin | |
| 2015-03-12 10:30 | hgbot | Note Added: 0075470 | |
| 2015-03-12 10:31 | aferraz | Review Assigned To | => aferraz |
| 2015-03-12 10:31 | aferraz | Note Added: 0075471 | |
| 2015-03-12 10:31 | aferraz | Status | resolved => closed |
| 2015-03-12 17:10 | hudsonbot | Checkin | |
| 2015-03-12 17:10 | hudsonbot | Note Added: 0075499 | |
| 2015-03-12 17:10 | hudsonbot | Checkin | |
| 2015-03-12 17:10 | hudsonbot | Note Added: 0075500 | |
| 2015-03-13 19:49 | dmitry_mezentsev | Relationship added | caused by 0025414 |
|
Notes |
|
|
|
Test Plan
- Go to G/L Journal and create new record to "F&B España" Organization.
- Navigate to header and create new record.
- Organization: F&B España
- Currency: EUR
- Navigate to lines and create a new line.
- Return to the header and try to change currency to USD.
- Check that Journal Lines get updated properly as per conversion rate and there is no error as earlier. |
|
|
|
(0075469)
|
|
hgbot
|
|
2015-03-12 10:30
|
|
Repository: erp/devel/pi
Changeset: bb7b3752a14dcddad480dbbacb94fa64c3b31e63
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Wed Mar 11 11:48:22 2015 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/bb7b3752a14dcddad480dbbacb94fa64c3b31e63 [^]
Fixes Issue 29110:It is not possible to change currency in header tab in G/L
Journal
As there is trigger mutating error, updation of gl journal line currency and
currency rate is moved to a event handler from gl_journal_trg trigger.
---
M src-db/database/model/triggers/GL_JOURNAL_TRG.xml
A src/org/openbravo/event/GLJournalEventHandler.java
---
|
|
|
|
(0075470)
|
|
hgbot
|
|
2015-03-12 10:30
|
|
Repository: erp/devel/pi
Changeset: ac9670b7bfddfbe3831839948a7b70ce2d3e82e1
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Wed Mar 11 13:23:31 2015 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/ac9670b7bfddfbe3831839948a7b70ce2d3e82e1 [^]
Related to issue 29110: Added a clear inside the loop
Added a clear inside the loop to avoid performance problems
---
M src/org/openbravo/event/GLJournalEventHandler.java
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|