Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0004769Openbravo ERP09. Financial managementpublic2008-08-30 14:502008-09-01 09:51
Wimt 
cromero 
normalcriticalalways
closedduplicate 
20Ubuntu 8.04
2.40beta 
 
No
Core
No
0004769: Unable to create Bank statement lines
When I try to create bank statement lines I get an error:
14:41:15 [http-8180-Processor21] ERROR org.openbravo.erpWindows.BankStatement.LinesData - SQL error in query: SELECT (CASE WHEN C_CURRENCY_ID = ? THEN 'N' ELSE 'Y' END) FROM C_DEBT_PAYMENT WHERE C_DEBT_PAYMENT_ID = ? Exception:org.postgresql.util.PSQLException: The column name (CASEWHENC_CURRENCY_ID=:1THEN'N'ELSE'Y'END) was not found in this ResultSet.
14:41:15 [http-8180-Processor21] ERROR org.openbravo.base.secureApp.HttpSecureAppServlet - Error captured: javax.servlet.ServletException: @CODE=0@The column name (CASEWHENC_CURRENCY_ID=:1THEN'N'ELSE'Y'END) was not found in this ResultSet.

This happens when I try to create a line manually and alos if if I do this via "Crealet Lines From"
Start with a new setup of BO 2.40 beta with no example data.
Configure everything according "Little Setup Guide".
1 Create purchase order
2 Receive goods
3 Create purchase invoice manually
4 Create Bank Statement header
5 Create bank statement line and select the purchase invoice
6 Error occurs (see log).

When you go to the bank statement header and select "Lines" you also get the error:
(CASEWHENC_CURRENCY_ID=:1THEN'N'ELSE'Y'END) was not found in this ResultSet.

You can now only click "Back"
No tags attached.
duplicate of defect 0004626 closed jpabloae Installing from binaries, window bankstatement does not work 
Issue History
2008-08-30 14:50WimtNew Issue
2008-08-30 14:50WimtAssigned To => cromero
2008-08-30 14:50Wimtsf_bug_id0 => 2083946
2008-09-01 09:51psarobeRegression testing => No
2008-09-01 09:51psarobeRelationship addedduplicate of 0004626
2008-09-01 09:51psarobeStatusnew => closed
2008-09-01 09:51psarobeNote Added: 0008796
2008-09-01 09:51psarobeDuplicate ID0 => 4626
2008-09-01 09:51psarobeResolutionopen => duplicate

Notes
(0008796)
psarobe   
2008-09-01 09:51   
Hi Wimt,

The workaround is very easy. You have to compile the window writing:

ant compile -Dtab=bankstatement

Regards