Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0000257Openbravo ERP09. Financial managementpublic2008-05-11 18:192008-08-14 16:15
plujan 
cromero 
urgentcriticalalways
closedfixed 
5
2.35 
2.40alpha 
Core
No
0000257: AT235mp4 - On PostgreSQL I cannot create lines for Settlements
When I create a new Settlement and I try to create lines by using "Create Lines From" button I get a "ProcessRunError" error message and I cannot continue. On openbravo.log I get this:

15:59:14 [http-8080-1] ERROR org.openbravo.erpCommon.ad_actionButton.CreateFromSettlementData - SQL error in query: SELECT COUNT(*) FROM C_DEBT_PAYMENT DP WHERE DP.C_DEBT_PAYMENT_ID = ? AND C_DEBT_PAYMENT_STATUS(DP.C_Settlement_Cancel_ID, DP.Cancel_Processed, DP.Generate_Processed, DP.IsPaid, DP.IsValid, DP.C_CashLine_ID, DP.C_BankStatementLine_ID)='P' AND NOT EXISTS (SELECT * FROM C_BankStatementLine l WHERE DP.C_DEBT_Payment_ID=l.C_DEBT_PAYMENT_ID) AND NOT EXISTS (SELECT * FROM C_CashLine l WHERE DP.C_DEBT_Payment_ID=l.C_DEBT_PAYMENT_ID) Exception:org.postgresql.util.PSQLException: The column name COUNT(*) was not found in this ResultSet.
15:59:14 [http-8080-1] WARN org.openbravo.erpCommon.ad_actionButton.CreateFrom - Rollback in transaction
# Login as userA
# Go to Financial management->Receivables and payables->Transactions->Settlement
# Click New and fill mandatory fields. Save
# Click "Create lines from"
No tags attached.
blocks defect 00002542.35MP4 closed cromero AT235mp4 - On PostgreSQL I cannot create lines for Settlements 
Issue History
2008-05-11 18:19cromeroNew Issue
2008-05-11 18:19cromeroAssigned To => cromero
2008-05-11 18:19cromeroStatusnew => scheduled
2008-05-11 18:25cromeroStatusscheduled => resolved
2008-05-11 18:25cromeroFixed in Version => 2.40 pre alpha
2008-05-11 18:25cromeroResolutionopen => fixed
2008-05-11 18:25cromeroNote Added: 0000132
2008-07-04 18:02psarobeStatusresolved => closed
2008-08-14 16:15jaimetorresf_bug_id0 => 2051541

Notes
(0000132)
cromero   
2008-05-11 18:25   
Fixed in the 2.40 pre alpha branch in revision 4110