#36619
JMM
Participante

Hola!
Efectivamente, me arroja un error: “column c_tipo_oc.isactive does not exist”
Entre al log y estuve viendo que trata de recuperar campos que yo nunca definí, como “isactive”.
Adjunto el archivo de log completo.
¿Tendría que agregar esos campos a la tabla?
Adjunto también capturas de pantalla de
– Definición de la tabla C_Tipo_OC, encabezado y columnas
– Definición de la columna C_Tipo_OC_ID en la tabla C_Order

Saludos!!

Juan

Archivo de log:


===========> MLookup.run: C_Tipo_Oc.C_Tipo_Oc_ID: Loader – SELECT C_Tipo_Oc.C_Tipo_Oc_ID,NULL,C_Tipo_Oc.Descripcion,C_Tipo_Oc.IsActive FROM C_Tipo_Oc WHERE C_Tipo_Oc.AD_Client_ID IN(0,1010016) AND C_Tipo_Oc.AD_Org_ID IN(0,1010053,1010071,1010072) ORDER BY 3 [289]
org.postgresql.util.PSQLException: ERROR: column c_tipo_oc.isactive does not exist
Position: 58; State=42703; ErrorCode=0
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2102)
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1835)
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)
at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:500)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:388)
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:273)
at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.postgresql.ds.jdbc23.AbstractJdbc23PooledConnection$StatementHandler.invoke(AbstractJdbc23PooledConnection.java:455)
at $Proxy1.executeQuery(Unknown Source)
at org.openXpertya.util.CPreparedStatement.executeQuery(CPreparedStatement.java:205)
at org.openXpertya.model.MLookup$MLoader.run(MLookup.java:945)

[attachment=265]c_order.jpg[/attachment]

[attachment=266]encabezadoTipoOC.JPG.jpg[/attachment]

[attachment=267]col1.jpg[/attachment]

[attachment=268]col2.jpg[/attachment]