Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0009359Openbravo ERPA. Platformpublic2009-06-06 10:452009-06-08 09:20
jpabloae 
dalsasua 
immediatecriticalalways
closedfixed 
30Gentoo - 2.6.26
2.40 
2.40MP5 
No
Core
No
0009359: GeneralAccountingReports_data.xsql fails to compile

[java] 18952 [main] INFO org.openbravo.data.Sqlc - File: ./org/openbravo/erpCommon/ad_reports/GeneralAccountingReports_data.xsql processed
     [java] 19055 [main] ERROR org.openbravo.data.Sqlc - SQL error in query:
     [java] SELECT A_O.AD_ORG_ID AS ID, A_O.NAME, '' as pagebreak, '' AS PADRE, '' AS START, '' AS END, '' AS PREVIOUS_YEAR, '' AS PREVIOUS_YEAR_ID
     [java] FROM AD_ORG A_O, AD_ROLE_ORGACCESS A_R_O, AD_ROLE R
     [java] WHERE A_R_O.AD_ORG_ID = A_O.AD_ORG_ID
     [java] AND A_R_O.ISACTIVE = 'Y'
     [java] AND A_R_O.AD_ROLE_ID = R.AD_ROLE_ID
     [java] AND R.ISACTIVE = 'Y'
     [java] AND A_R_O.AD_ROLE_ID = TO_NUMBER(?)
     [java] ORDER BY A_O.NAME
     [java] Exception:java.sql.SQLException: ORA-00923: FROM keyword not found where expected
Run "ant install.source" on rev id ccb53a51e7ef.
No tags attached.
blocks defect 0009358 closed dalsasua GeneralAccountingReports_data.xsql fails to compile 
Issue History
2009-06-07 01:53dalsasuaTypedefect => backport
2009-06-07 02:01hgbotCheckin
2009-06-07 02:01hgbotNote Added: 0017063
2009-06-07 02:01hgbotStatusscheduled => resolved
2009-06-07 02:01hgbotResolutionopen => fixed
2009-06-07 02:01hgbotFixed in SCM revision => http://code.openbravo.com/erp/stable/2.40/rev/98326538f3c4f6f7e4f1bedfe0abf34e56712585 [^]
2009-06-08 09:04psarobeStatusresolved => closed
2009-06-08 09:04psarobeFixed in Version => 2.40MP5
2009-06-08 09:05psarobeNote Added: 0017070
2009-06-08 09:20rafarodaAssigned Torafaroda => dalsasua

Notes
(0017063)
hgbot   
2009-06-07 02:01   
Repository: erp/stable/2.40
Changeset: 98326538f3c4f6f7e4f1bedfe0abf34e56712585
Author: David Alsasua <david.alsasua <at> openbravo.com>
Date: Sun Jun 07 01:59:49 2009 +0200
URL: http://code.openbravo.com/erp/stable/2.40/rev/98326538f3c4f6f7e4f1bedfe0abf34e56712585 [^]

Allow general accounting reports to calculate on the fly opening balance working with Oracle as well. Fixes Issue 9359: GeneralAccountingReports_data.xsql fails to compile

---
M src/org/openbravo/erpCommon/ad_reports/GeneralAccountingReports.java
M src/org/openbravo/erpCommon/ad_reports/GeneralAccountingReports_data.xsql
---
(0017070)
psarobe   
2009-06-08 09:05   
This night it compiled without any problems