Olá a todos.
Estou obtendo o seguinte erro:
[code]
[/code]org.postgresql.util.PSQLException: ERROR: function invoiceopen(numeric, numeric)
does not exist; State=42883; ErrorCode=0
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryEx
ecutorImpl.java:1548)
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutor
Impl.java:1316)
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.ja
va:191)
at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Stat
ement.java:452)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(Abstract
Jdbc2Statement.java:351)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc
2Statement.java:255)
at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewPr
oxyPreparedStatement.java:76)
at org.compiere.util.CPreparedStatement.executeQuery(CPreparedStatement.
java:121)
at org.compiere.util.DB.getSQLValueBD(DB.java:1474)
at org.compiere.model.MMeasure.updateCalculatedGoals(MMeasure.java:273)
at org.compiere.model.MMeasure.updateGoals(MMeasure.java:162)
at org.compiere.model.MGoal.updateGoal(MGoal.java:384)
at org.compiere.model.MGoal.getUserGoals(MGoal.java:70)
at org.adempiere.apps.graph.PAPanel.get(PAPanel.java:49)
at org.compiere.apps.AMenu.jbInit(AMenu.java:343)
at org.compiere.apps.AMenu.(AMenu.java:131)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
===========> BarGraph.loadData: SELECT COALESCE(SUM(currencyBase(invoiceOpen(C_I
nvoice_ID, C_InvoicePaySchedule_ID),C_Currency_ID, DateAcct, AD_Client_ID, AD_Or
g_ID)),0)
,TRUNC(DateInvoiced,‘MM’) FROM C_Invoice_v C_Invoice WHERE IsSOTrx=‘Y’ AND Proce
ssed=‘Y’ AND C_Invoice.AD_Client_ID IN(0,11) AND C_Invoice.AD_Org_ID IN(0,11,12)
GROUP BY TRUNC(DateInvoiced,‘MM’) ORDER BY TRUNC(DateInvoiced,‘MM’)
org.postgresql.util.PSQLException: ERROR: function invoiceopen(numeric, numeric)
does not exist; State=42883; ErrorCode=0
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryEx
ecutorImpl.java:1548)
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutor
Impl.java:1316)
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.ja
va:191)
at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Stat
ement.java:452)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(Abstract
Jdbc2Statement.java:351)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc 2Statement.java:255)
at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeQuery(NewPr oxyPreparedStatement.java:76)
at org.compiere.util.CPreparedStatement.executeQuery(CPreparedStatement. java:121)
at org.adempiere.apps.graph.BarGraph.loadData(BarGraph.java:137)
at org.adempiere.apps.graph.BarGraph.(BarGraph.java:82)
at org.adempiere.apps.graph.PAPanel.init(PAPanel.java:140)
at org.adempiere.apps.graph.PAPanel.(PAPanel.java:64)
at org.adempiere.apps.graph.PAPanel.get(PAPanel.java:52)
at org.compiere.apps.AMenu.jbInit(AMenu.java:343)
at org.compiere.apps.AMenu.(AMenu.java:131)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct orAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC onstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at org.compiere.Adempiere.main(Adempiere.java:584)[/code]
Me parece ser um problema com o PL Java.
Para instalar, eu segui os passos descritos no primeiro artigo da revista Linux Magazine. Alguma sugestão?
Desde já agradeço a atenção.
[]'s Geert Vieira Gosch