Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0000256Openbravo ERP09. Financial managementpublic2008-05-11 18:192008-12-02 13:01
plujan 
cromero 
urgentcriticalalways
closedfixed 
5
2.35 
pi 
Core
No
0000256: 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:22cromeroStatusscheduled => resolved
2008-05-11 18:22cromeroFixed in Version => trunk
2008-05-11 18:22cromeroResolutionopen => fixed
2008-05-11 18:22cromeroNote Added: 0000131
2008-05-21 19:51cromeroTarget Versiontrunk => R2.40alpha r2
2008-09-03 21:33psarobeRegression testing => No
2008-09-03 21:33psarobeStatusresolved => closed
2008-12-02 13:01jaimetorresf_bug_id0 => 2377015

Notes
(0000131)
cromero   
2008-05-11 18:22   
Fixed in the trunk in revision 4109