Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0000525Openbravo ERP01. General setuppublic2008-06-02 17:092008-07-01 17:56
psarobe 
gorkaion 
urgentcriticalalways
closedfixed 
5
2.40alpha-r2 
2.402.40alpha-r3 
No
Core
No
0000525: Due to Clean-up project Conversion rates window crash
Steps:
1. Go to General setup->Application->Conversion rate
2. Click new

Please see the log:
Error of SQL in query: SELECT td0.C_Currency_ID AS ID, (TO_CHAR(td0.ISO_Code)) AS NAME, '' AS DESCRIPTION
FROM C_Currency td0
WHERE td0.AD_Client_ID IN (0,1000000)
AND td0.AD_Org_ID IN (0,1000001,1000000)
AND td0.IsEMUMember='N'
AND (td0.isActive = 'Y' OR td0.C_Currency_ID = (?) )
ORDER BY td0.ISO_CodeException:java.sql.SQLException: ORA-00904: "TD0"."ISEMUMEMBER": identificador no vĂ¡lido
The column isEMUMember is not longer present in the table C_CURRENCY but the problem has to do with the column C_Currency in table C_CONVERSION_RATE. Taht column is defined as Table with reference search key "C_Conversion_Rate Currencies". This reference has associated a "SQL Where Clause=C_Currency.IsEMUMember='N'" in Table reference tab. Please remove this SQL Where Clause

The same problem happens with column C_Currency_ID_To in the same table
No tags attached.
Issue History
2008-06-02 17:09psarobeNew Issue
2008-06-02 17:09psarobeAssigned To => gorkaion
2008-06-02 17:09psarobeOBNetwork customer => N
2008-06-02 17:10psarobeStatusnew => scheduled
2008-06-03 13:15svnbotCheckin
2008-06-03 13:15svnbotNote Added: 0000420
2008-06-03 13:15svnbotStatusscheduled => resolved
2008-06-03 13:15svnbotResolutionopen => fixed
2008-06-03 13:15svnbotsvn_revision => 4751
2008-06-11 12:46cromeroTarget Version => 2.40
2008-06-11 14:33cromeroFixed in Version => 2.40alpha r3
2008-06-19 11:26plujanStatusresolved => closed
2008-07-01 17:56anonymoussf_bug_id0 => 2007918

Notes
(0000420)
svnbot   
2008-06-03 13:15   
Repository: openbravo
Revision: 4751
Author: gorkaion
Date: 2008-06-03 13:15:17 +0200 (Tue, 03 Jun 2008)

Bug fixed 525. Removed from the application dictionary all references to IsEMUMember column, deleted in the cleanup project.

---
U trunk/src-db/database/sourcedata/AD_FIELD.xml
U trunk/src-db/database/sourcedata/AD_MESSAGE.xml
U trunk/src-db/database/sourcedata/AD_REF_TABLE.xml
---

https://dev.openbravo.com/websvn/openbravo/?rev=4751&sc=1 [^]