Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0000572Openbravo ERPZ. Otherspublic2008-06-07 10:152008-07-01 17:56
jpabloae 
iperdomo 
immediatecriticalalways
closedfixed 
30Gentoo - 2.6.24
pi 
2.402.40alpha-r3 
No
Core
No
0000572: ReportCashFlow_data.xsql fails
     [java] 12753 [main] INFO org.openbravo.data.Sqlc - File: ./org/openbravo/erpCommon/ad_reports/ReportCashFlow_data.xsql processed
     [java] 12771 [main] ERROR org.openbravo.data.Sqlc - SQL error in query:
     [java]
     [java] SELECT ? as PARENT, AR.AD_ACCOUNTINGRPT_ELEMENT_ID AS ID, AR.NAME, AR.DESCRIPTION, AR.ISSUMMARY, AR.ISSHOWN,
     [java] AD_TREENODE.NODE_ID, COALESCE(CASE
     [java] AR.ISSUMMARY WHEN 'N' THEN sum(amount) ELSE 0 END,0) AS TOTAL, AR.FILTEREDBYORGANIZATION,
     [java] AR.TEMPORARYFILTERTYPE, '' AS VALUE, ? AS LEVEL_ACCOUNT, 'TEXT-INDENT: '||TO_CHAR(TO_NUMBER(?)*10)||'pt' AS CLASS_STYLE,
     [java] '' AS PADRE
     [java] FROM AD_ACCOUNTINGRPT_ELEMENT AR left join (SELECT AMOUNT, C_ACCTSCHEMA_ID
     [java] FROM FACT_ACCT, FACT_ACCT_CFS
     [java] WHERE FACT_ACCT.AD_CLIENT_ID IN ('1')
     [java] AND FACT_ACCT.AD_ORG_ID IN ('1')
     [java] AND FACT_ACCT.FACT_ACCT_ID = FACT_ACCT_CFS.FACT_ACCT_ID
     [java] AND 1=1) A on AR.C_ACCTSCHEMA_ID = A.C_ACCTSCHEMA_ID,
     [java] AD_TREE, AD_TREENODE
     [java] WHERE AD_TREE.AD_TREE_ID = AD_TREENODE.AD_TREE_ID
     [java] AND AD_TREENODE.NODE_ID = AR.AD_ACCOUNTINGRPT_ELEMENT_ID
     [java] AND AR.AD_ACCOUNTINGRPT_ELEMENT_ID = TO_NUMBER(?)
     [java] AND A.C_ACCTSCHEMA_ID = TO_NUMBER(?)
     [java] AND AD_TREE.TREETYPE = 'AR'
     [java] GROUP BY REPORT_TYPE, AR.AD_ACCOUNTINGRPT_ELEMENT_ID, AR.NAME, AR.DESCRIPTION, AR.ISSUMMARY, AR.ISSHOWN,
     [java] AD_TREENODE.NODE_ID,
     [java] AR.FILTEREDBYORGANIZATION, AR.TEMPORARYFILTERTYPE
     [java]
     [java] Exception:java.sql.SQLException: Invalid column index
     [java] java.sql.SQLException: Invalid column index
1. Get the latest trunk (r4882 at the moment).
2. Run "ant install.source"
No tags attached.
Issue History
2008-06-07 10:15jpabloaeNew Issue
2008-06-07 10:15jpabloaeAssigned To => cromero
2008-06-07 10:15jpabloaeOBNetwork customer => N
2008-06-07 10:17jpabloaeOBNetwork customerN =>
2008-06-07 11:47iperdomoNote Added: 0000454
2008-06-09 09:51cromeroStatusnew => scheduled
2008-06-09 09:51cromeroAssigned Tocromero => iperdomo
2008-06-09 09:52iperdomoNote Added: 0000458
2008-06-09 09:52iperdomoStatusscheduled => resolved
2008-06-09 09:52iperdomoFixed in Version => trunk
2008-06-09 09:52iperdomosvn_revision => 4899
2008-06-09 09:52iperdomoResolutionopen => fixed
2008-06-11 12:46cromeroTarget Version => 2.40
2008-06-11 14:50cromeroFixed in Versiontrunk => 2.40alpha r3
2008-06-19 11:14plujanStatusresolved => closed
2008-07-01 17:56anonymoussf_bug_id0 => 2007936

Notes
(0000454)
iperdomo   
2008-06-07 11:47   
svn log -v -r4887 --limit 1

r4887 | hennadzi | 2008-06-06 18:04:48 +0200 (Fri, 06 Jun 2008) | 1 line
Changed paths:
   M /trunk/src/org/openbravo/erpCommon/ad_actionButton/CopyFromOrder_data.xsql
   M /trunk/src/org/openbravo/erpCommon/ad_process/CreateAccountingReport_data.xsql
   M /trunk/src/org/openbravo/erpCommon/ad_process/CreateTaxReport_data.xsql
   M /trunk/src/org/openbravo/erpCommon/ad_reports/ReportCashFlow_data.xsql
   M /trunk/src/org/openbravo/erpCommon/ad_reports/ReportCashflowForecast_data.xsql
   M /trunk/src/org/openbravo/erpCommon/ad_reports/ReportInvoiceDiscount_data.xsql
   M /trunk/src/org/openbravo/erpReports/RptC_BpartnerSales_data.xsql

Bug fixed. [ 1733700 ] Old CSS classes in xsql files
(0000458)
iperdomo   
2008-06-09 09:52   
svn log -v -r4899
------------------------------------------------------------------------
r4899 | iperdomo | 2008-06-09 09:49:58 +0200 (Mon, 09 Jun 2008) | 1 line
Changed paths:
   M /trunk/src/org/openbravo/erpCommon/ad_actionButton/CopyFromOrder_data.xsql
   M /trunk/src/org/openbravo/erpCommon/ad_process/CreateAccountingReport_data.xsql
   M /trunk/src/org/openbravo/erpCommon/ad_process/CreateTaxReport_data.xsql
   M /trunk/src/org/openbravo/erpCommon/ad_reports/ReportCashFlow_data.xsql
   M /trunk/src/org/openbravo/erpCommon/ad_reports/ReportCashflowForecast_data.xsql
   M /trunk/src/org/openbravo/erpCommon/ad_reports/ReportInvoiceDiscount_data.xsql
   M /trunk/src/org/openbravo/erpReports/RptC_BpartnerSales_data.xsql

Reverted changes from commit 4887