Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0014849 | Openbravo ERP | 09. Financial management | public | 2010-10-11 11:20 | 2010-12-21 00:00 |
|
Reporter | networkb | |
Assigned To | adrianromero | |
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | 2.40MP12 | |
Target Version | 2.40MP13 | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | OBPS |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0014849: Error when modifying element value which is referenced from more than one accounting combination, in Oracle |
Description | Error when modifying element value which is referenced from more than one accounting combination, in Oracle |
Steps To Reproduce | 1. Financial Management || Accounting || Setup || Account Combination || Combination : create record with details
Alias=%
Organization=B
Account=435
2. Navigate to Account 435 and try to modify it, for example, dis-active it.
You will obtain the following error message:
The search gives back more than one row.You may check the data
Error is given by C_ELEMENTVALUE_TRG because when trying to execute this clause:
SELECT name INTO v_orgName FROM ad_org WHERE ad_org_id in (SELECT ad_org_id FROM c_validcombination WHERE account_id=:new.C_ElementValue_ID);
when it returns more than one organization. |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | depends on | backport | 0014954 | 2.40MP13 | closed | adrianromero | Error when modifying element value which is referenced from more than one accounting combination, in Oracle | related to | backport | 0015130 | 2.50MP26 | closed | dalsasua | Bad behaviour in the Account Tree || Element >> Element Value if you change data in the Account Combination |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2010-10-11 11:20 | networkb | New Issue | |
2010-10-11 11:20 | networkb | Assigned To | => dalsasua |
2010-10-11 11:20 | networkb | OBNetwork customer | => Yes |
2010-10-21 12:25 | adrianromero | Issue cloned | 0014954 |
2010-10-21 12:25 | adrianromero | Relationship added | blocks 0014954 |
2010-10-21 12:25 | adrianromero | Relationship replaced | depends on 0014954 |
2010-10-21 12:26 | adrianromero | Assigned To | dalsasua => adrianromero |
2010-11-10 09:37 | hgbot | Checkin | |
2010-11-10 09:37 | hgbot | Note Added: 0032527 | |
2010-11-10 09:37 | hgbot | Status | new => resolved |
2010-11-10 09:37 | hgbot | Resolution | open => fixed |
2010-11-10 09:37 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/f339093e1da96cfcbe4307c35e9ae6e5c7838d29 [^] |
2010-11-10 11:16 | adrianromero | Note Added: 0032532 | |
2010-11-10 16:55 | adrianromero | Relationship added | related to 0015130 |
2010-11-10 20:06 | hudsonbot | Checkin | |
2010-11-10 20:06 | hudsonbot | Note Added: 0032543 | |
2010-12-20 13:07 | psarobe | Note Added: 0033287 | |
2010-12-20 13:07 | psarobe | Status | resolved => closed |
2010-12-21 00:00 | anonymous | sf_bug_id | 0 => 3140990 |
Notes |
|
(0032527)
|
hgbot
|
2010-11-10 09:37
|
|
Repository: erp/devel/pi
Changeset: f339093e1da96cfcbe4307c35e9ae6e5c7838d29
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Fri Nov 05 09:08:56 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/f339093e1da96cfcbe4307c35e9ae6e5c7838d29 [^]
Fixes issue 0014849: Error when modifying element value which is referenced from more than one accounting combination, in Oracle
It has been modified the sentence that updates the C_VALIDCOMBINATION table in the trigger of the table C_ELEMENTVALUE to not to throw a mutating tables error
---
M src-db/database/model/triggers/C_ELEMENTVALUE_TRG.xml
---
|
|
|
|
* Testing the issue
** Follow the steps to test and verify that any error is thrown.
** Verify also that it is possible to modify the Element record modifying other fields in the window and that also if only account combination is related to the Element modified.
** Check this issue in both database engines Postgres and Oracle.
* Other areas affected
** It only has been modified the sentence that updates account combinations in trigger of table Element values. So the only windows affected are: Element Values and Account Combinations. |
|
|
|
|
|
|
Due to lack of infrastructure only tested in postgres. Works fine |
|