******** ERROR detallestabla.onopen(-1)
SQL Error: select
distinct u.denominacion as unidad,
u.notas as notasunidad,
if(t.descripcion like '%cesion%', '', t.descripcion) as concepto,
t.importe * -1 as importe,
t.saldo * -1 as saldo,
t.moneda as moneda
from emdocobra d
join emtransobra t on d.id = t.documento
join ocomobra as o on d.ocom = o.id
join rcomobra as r on d.ocom = r.operacioncomercial
join Unidadesobra as u on r.unidadId = u.id
where
o.estado not in ('Anulada', 'Inactiva')
and t.descripcion not like 'FR %'
and t.descripcion not like '%FR'
and t.descripcion != 'SALDO'
/**and (t.descripcion in ('Gastos funcionamiento', 'Gastos de equipamiento', 'Ingresos Brutos') or t.descripcion like '%Posesi%')**/
and if(t.contabilidad is null,t.contabilidad is null,t.contabilidad != 'G')
and d.tipo = 'ov'
and t.tipo = 'M'
/**and t.moneda = 'ARS'**/
/** mostrar todos los saldos
and
if(''= 1,
t.vencimiento < date_add('', interval '' day),
t.vencimiento < date_add(current_date(), interval '' day)
)
and (
(abs(t.saldo) > 10 and t.moneda = 'ARS')
or (abs(t.saldo) > 1 and t.moneda = 'UVA')
or (abs(t.saldo) > 1 and t.moneda = 'USD')
)
**/
and d.estado = '+Emitida'
and d.empresa = (select empresa from uv1066_quartier.Emprendimientos where id = 'qbajo')
and t.estado != "ANULADA"
and t.estado != "Anulada"
and d.ocom in (select id from uv1066_quartier.ocom where estado !="ANULADA" and estado not like 'Reserva%' and estado not like 'Oferta%' /** and clase = 'Fiduciante A' **/)
and u.tipou = 'D'
and u.denominacion = '1 RIO 5 6'
/** group by 2, t.vencimiento **/
order by 2,t.vencimiento,t.id
Table 'uv1066_quartier.emdocobra' doesn't exist
SQLSTATE 42S02
******** ERROR cuentacorrientetabla.onopen(-1)
SQL Error: select
/** CUOTAS **/
d.id as iddoc,
t.id as idtctacte,
t.vencimiento as fecha,
concat(
t.descripcion,
' ',
ifnull(
(
select
group_concat(descripcion)
from
emtransobra
where
aplica = t.id
and tipo = 'V'
),
''
)
) as descripcion,
- t.importe as importe,
t.moneda,
t.id as orden
from
emtransobra as t
cross join emdocobra as d on t.documento = d.id
where
t.moneda = ''
and t.estado != 'ANULADA'
and t.tipo = 'M'
/** vencimientos de OV **/
and (
t.vencimiento <= date_add(current_date(), INTERVAL DAY)
or abs(t.aplicaciones) > 100
)
/** anterior a los proximos dias ó ya pagado **/
and (
'' = 'FR'
or (
t.descripcion not like 'FR %'
and t.descripcion not like '%FR'
)
)
/**
and (
'' = ''
or t.contabilidad not in ("")
)
**/
and t.descripcion not like 'honorarios%'
and t.documento in (
select
id
from
emdocobra
where
ocom = ''
and tipo = 'OV'
)
/** vencimientos de OV **/
/**
and d.empresa = (select empresa from Emprendimientos where id = (select emprendimiento from ocom where id = ''))
and (if(t.tipo='M', t.vencimiento, d.fechaemision) <= date_add(current_date(), INTERVAL 15 DAY)
or t.tipo='C' or t.saldo != t.importe)
and d.contacto not in (select id from cmcont where razonsocial like '%CLIENTES%')
and t.estado != 'ANULADA'
**/
union
all
select
/** CONCEPTOS DE RECIBOS **/
d.id as iddoc,
t.id as idtctacte,
d.fechaemision as fecha,
/** concat(d.descripcion, '
', group_concat(left(t.descripcion, 30))) as descripcion, **/
d.descripcion as descripcion,
sum(
if(
t.moneda = '',
t.importe,
t.importe / (
select
tipocambio
from
emtransobra
where
id = t.aplica
)
)
) as importe,
/** t.moneda, **/
'' as moneda,
999999999999 as orden
from
emtransobra as t
cross join emdocobra as d on t.documento = d.id
where
t.tipo = 'C'
/** conceptos de RC **/
and (
'' = 'FR'
or (
t.descripcion not like 'FR %'
and t.descripcion not like '%FR'
)
)
and t.descripcion not like 'honorarios%'
and (
d.sucursal not in ('99', '98')
or d.sucursal is null
)
and (
t.aplica in (
/** quien aplique a vencimientos de OV de la moneda y operacion **/
select
id
from
emtransobra as t3
where
t3.moneda = ''
and t3.documento in (
select
id
from
emdocobra
where
ocom = ''
and tipo = 'OV'
)
)
or t.aplica in (
/** quien aplique a vencimientos de facturas que apliquen a vencimientos de OV de la moneda y operacion **/
select
id
from
emtransobra as t4
where
t4.tipo = 'V'
and t4.aplica in (
select
id
from
emtransobra as t3
where
t3.moneda = ''
and t3.documento in (
select
id
from
emdoc
where
ocom = ''
and tipo = 'OV'
)
)
)
)
group by
d.id
order by
fecha,
orden
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')
or abs(t.aplicaciones) > 100
)
/** anterior a los proximos dia' at line 34
SQLSTATE 42000
******** ERROR verunidad.onopen(106)
java.lang.Exception: ERROR unidades4/verunidad:verunidad.onopen(106) i312: java.sql.SQLSyntaxErrorException: Table 'uv1066_quartier.icautorizacion' doesn't exist
java.sql.SQLSyntaxErrorException: Table 'uv1066_quartier.icautorizacion' doesn't exist
at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:121)
at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
at com.mysql.cj.jdbc.StatementImpl.executeInternal(StatementImpl.java:763)
at com.mysql.cj.jdbc.StatementImpl.execute(StatementImpl.java:648)
at flexa.fb.LibDb.sqlexec(LibDb.java:212)
at flexa.fb.LibDb.call(LibDb.java:36)
at flexa.fb.FContext.call(FContext.java:681)
at flexa.fb.FContext.call(FContext.java:664)
at flexa.fb.EFI.runBytecode(EFI.java:871)
at flexa.fb.FComponent.event(FComponent.java:692)
at flexa.ff.window.event(window.java:46)
at flexa.fb.FComponent.executeEvent(FComponent.java:717)
at flexa.fb.CompManager.processAction(CompManager.java:693)
at flexa.fb.ComponentServlet.doGetOrPost(ComponentServlet.java:465)
at flexa.fb.ComponentServlet.doGet(ComponentServlet.java:159)
at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:564)
at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:205)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:166)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:676)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:341)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:390)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:894)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1741)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)
at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.base/java.lang.Thread.run(Thread.java:829)
at flexa.fb.EFI.runBytecode(EFI.java:1083)
at flexa.fb.FComponent.event(FComponent.java:692)
at flexa.ff.window.event(window.java:46)
at flexa.fb.FComponent.executeEvent(FComponent.java:717)
at flexa.fb.CompManager.processAction(CompManager.java:693)
at flexa.fb.ComponentServlet.doGetOrPost(ComponentServlet.java:465)
at flexa.fb.ComponentServlet.doGet(ComponentServlet.java:159)
at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:564)
at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:205)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:166)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:676)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:341)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:390)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:894)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1741)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)
at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)
at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.base/java.lang.Thread.run(Thread.java:829)
******** ERROR cuentacorrienteusdtabla.onopen(-1)
SQL Error: select
/** CUOTAS **/
d.id as iddoc,
t.id as idtctacte,
t.vencimiento as fecha,
concat(
t.descripcion,
' ',
ifnull(
(
select
group_concat(descripcion)
from
emtransobra
where
aplica = t.id
and tipo = 'V'
),
''
)
) as descripcion,
- t.importe as importe,
t.moneda,
t.id as orden
from
emtransobra as t
cross join emdocobra as d on t.documento = d.id
where
t.moneda = 'USD'
and t.estado != 'ANULADA'
and t.tipo = 'M'
/** vencimientos de OV **/
and (
t.vencimiento <= date_add(current_date(), INTERVAL DAY)
or abs(t.aplicaciones) > 100
)
/** anterior a los proximos dias ó ya pagado **/
and (
'' = 'FR'
or (
t.descripcion not like 'FR %'
and t.descripcion not like '%FR'
)
)
/**
and (
'' = ''
or t.contabilidad not in ("")
)
**/
and t.descripcion not like 'honorarios%'
and t.documento in (
select
id
from
emdocobra
where
ocom = ''
and tipo = 'OV'
)
/** vencimientos de OV **/
/**
and d.empresa = (select empresa from Emprendimientos where id = (select emprendimiento from ocom where id = ''))
and (if(t.tipo='M', t.vencimiento, d.fechaemision) <= date_add(current_date(), INTERVAL 15 DAY)
or t.tipo='C' or t.saldo != t.importe)
and d.contacto not in (select id from cmcont where razonsocial like '%CLIENTES%')
and t.estado != 'ANULADA'
**/
union
all
select
/** CONCEPTOS DE RECIBOS **/
d.id as iddoc,
t.id as idtctacte,
d.fechaemision as fecha,
/** concat(d.descripcion, '
', group_concat(left(t.descripcion, 30))) as descripcion, **/
d.descripcion as descripcion,
sum(
if(
t.moneda = 'USD',
t.importe,
t.importe / (
select
tipocambio
from
emtransobra
where
id = t.aplica
)
)
) as importe,
/** t.moneda, **/
'USD' as moneda,
999999999999 as orden
from
emtransobra as t
cross join emdocobra as d on t.documento = d.id
where
t.tipo = 'C'
/** conceptos de RC **/
and (
'' = 'FR'
or (
t.descripcion not like 'FR %'
and t.descripcion not like '%FR'
)
)
and t.descripcion not like 'honorarios%'
and (
d.sucursal not in ('99', '98')
or d.sucursal is null
)
and (
t.aplica in (
/** quien aplique a vencimientos de OV de la moneda y operacion **/
select
id
from
emtransobra as t3
where
t3.moneda = 'USD'
and t3.documento in (
select
id
from
emdocobra
where
ocom = ''
and tipo = 'OV'
)
)
or t.aplica in (
/** quien aplique a vencimientos de facturas que apliquen a vencimientos de OV de la moneda y operacion **/
select
id
from
emtransobra as t4
where
t4.tipo = 'V'
and t4.aplica in (
select
id
from
emtransobra as t3
where
t3.moneda = 'USD'
and t3.documento in (
select
id
from
emdoc
where
ocom = ''
and tipo = 'OV'
)
)
)
)
group by
d.id
order by
fecha,
orden
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')
or abs(t.aplicaciones) > 100
)
/** anterior a los proximos dia' at line 34
SQLSTATE 42000
CONTEXT:
textores=Habilitar Reservas String
ultimoingresoinquilino=null
estadounidad= panel
texttitular=Cuando la unidad esté habitada podrá solicitar cambio de titular String
textalquileres=Cuando la unidad esté habitada podrá agregar alquileres a su unidad String
textotros=Cuando la unidad esté habitada podrá registrar autorizados String
textresi=Cuando la unidad esté habitada podrá registrar residentes String
textemg=Cuando la unidad esté habitada podrá registrar contactos de emergencia String
inhreserva=btn-flat-success String
temppiso=2 String
inhabilitareserva=null
visual=none String
id=11819 String
ultimoingreso=null
alquilerespendientesnoconfirmados=0 Long
textinq=Cuando la unidad esté habitada podrá registrar inquilinos String
temptorre=1 CIUDAD String
tempdenominacion=1 CIUDAD 2 1 String
textmasc=Cuando la unidad esté habitada podrá registrar mascotas String
saldo=null
disablecambiarestado= String
textcont=Cuando la unidad esté habitada podrá registrar contactos principales String
_module=unidades4 String
tempdepartamento=1 String
tempcodigo= String
textveh=Cuando la unidad esté habitada podrá registrar sus vehiculos String
completadoinquilino=N String
disable=disable String
alquiler=null
textserv=Cuando la unidad esté habitada podrá registrar personal de servicio String
idalquiler=null
cantidad=0 Long
completado=S String
component
request_
idunidad=11819 String
_c=unidades4/verunidad String
_v=6140 String
_x=onopen String
_mv=939 String
_h=Cz19hARxT5FipF72MKoM String
_sessionid=Cz19hARxT5FipF72MKoM String
_servername=miquartier.com.ar String
_url=https://miquartier.com.ar/miquartier/index.html String
u_
u_posesiones=0 Long
u_proyecto=[qbajo@emprendimientos4.emprendimiento]
u_totalproyectos=4 Long
s_
s_usuario=[103485@consorcios4.persona]
s_loggedin=yes String
s_perfil=Superusuario String
s_verreservaamenitie=S String
s_idcontacto= String
s_phpurl=https://qbajo.flexaconsorcios.com/consorcios3/ String
s_unidadrel= String
proyecto=qbajo String
s_estadoperfil=Activo String
s_idunidad=null
s_mudanza=157177 Integer
s_unidad=null
s_idusuario=103485 Integer
s_unidadestado= String
g_
g_expensa=null
g_base=.. String
g_proyecto=null
_e=uv1066_quartier String