==== NUEVO DIA: 2026-10-17 ==== [2026-10-17 06:07:00] 2026-10-17 06:07:00.677 WARN 5176 --- [MI TCP Accept-0] sun.rmi.transport.tcp : RMI TCP Accept-0: accept loop for ServerSocket[addr=0.0.0.0/0.0.0.0,localport=62461] throws [2026-10-17 06:07:00] [2026-10-17 06:07:00] java.io.IOException: The server sockets created using the LocalRMIServerSocketFactory only accept connections from clients running on the host where the RMI remote objects have been exported. [2026-10-17 06:07:00] at jdk.management.agent/sun.management.jmxremote.LocalRMIServerSocketFactory$1.accept(LocalRMIServerSocketFactory.java:114) ~[na:na] [2026-10-17 06:07:00] at java.rmi/sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop(TCPTransport.java:394) ~[na:na] [2026-10-17 06:07:00] at java.rmi/sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run(TCPTransport.java:366) ~[na:na] [2026-10-17 06:07:00] at java.base/java.lang.Thread.run(Thread.java:834) ~[na:na] [2026-10-17 06:07:00] [2026-10-17 06:31:06] select count(*) from sh_principal.tbl_gen_notificacion_usuario where notificacion_usuario_usuario_id=14 and notificacion_usuario_leida=false [2026-10-17 06:31:06] select empresa_id, coalesce(empresa_imagen,'') as empresa_imagen from sh_principal.tbl_gen_empresa where empresa_bloqueada=false order by empresa_id [2026-10-17 06:31:07] select 1 from sh_principal.tbl_gen_usuario_empresa inner join sh_principal.tbl_gen_empresa on empresa_id=usuario_empresa_empresa_id where usuario_empresa_usuario_id=14 and usuario_empresa_empresa_id=1 and empresa_bloqueada=false limit 1 [2026-10-17 06:31:07] select count(*) filter (where pedido_registro::date = current_date) as pedidos_hoy, coalesce(sum(pedido_total) filter (where pedido_registro::date = current_date),0) as monto_dia, coalesce(sum(pedido_total) filter (where date_trunc('month',pedido_registro)=date_trunc('month',current_date)),0) as monto_mes from sh_principal.tbl_ven_pedido where pedido_usuario_id=14 and pedido_empresa_id=1 and pedido_anulado=false [2026-10-17 06:31:07] begin; [2026-10-17 06:31:07] select 1 from sh_principal.tbl_gen_usuario_empresa inner join sh_principal.tbl_gen_empresa on empresa_id=usuario_empresa_empresa_id where usuario_empresa_usuario_id=14 and usuario_empresa_empresa_id=1 and empresa_bloqueada=false limit 1 [2026-10-17 06:31:07] select count(*) from sh_principal.tbl_gen_notificacion_usuario where notificacion_usuario_usuario_id=14 and notificacion_usuario_leida=false [2026-10-17 06:31:07] select pedido_id,to_char(pedido_registro,'DD/MM/YYYY HH24:MI') as registro,to_char(pedido_fecha,'DD/MM/YYYY') as fecha,pedido_comentario,usuario_nombre,pedido_total,pedido_nombre,pedido_nit,case when pedido_anulado then 'ANULADO' when pedido_id in (select venta_pedido_id from sh_principal.tbl_ven_venta) then 'FACTURADO' ELSE 'PENDIENTE DE FACTURAR' END as estado,pedido_direccion,pedido_telefono,pedido_email,vendedor_descripcion,transporte_descripcion from sh_principal.tbl_ven_pedido inner join sh_principal.tbl_ven_transporte on pedido_transporte_id=transporte_id inner join sh_principal.tbl_gen_usuario on pedido_usuario_id=usuario_id inner join sh_principal.tbl_ven_vendedor on vendedor_id=pedido_vendedor_id where 1=1 and pedido_empresa_id=1 and usuario_id =14 order by pedido_registro desc limit 200 [2026-10-17 06:31:07] select pedidod_pedido_id,producto_id,producto_codigo,producto_descripcion,pedidod_cantidad,pedidod_descuento,pedidod_descuento_monto,pedidod_precio,pedidod_total from sh_principal.tbl_ven_pedidodet inner join sh_principal.tbl_inv_producto on pedidod_producto_id=producto_id where pedidod_pedido_id in (8715,9744,8213,8214,8215,9754,8730,8732,8733,9759,9762,8740,9253,8229,8232,8235,8237,8756,9269,9270,8759,9789,8253,9278,9279,8768,9794,9795,8272,8278,9815,9817,9307,9309,9315,8299,8300,9839,9328,9841,9337,8313,9339,9340,8316,7806,9858,8836,9353,8847,8336,9877,8341,8342,7831,9891,9383,9902,7854,9391,7855,9393,8882,8885,8886,9912,9408,9412,8905,9930,9932,8908,8397,9422,9423,8911,8400,7888,8914,7890,7891,8917,8918,7894,8919,7895,9433,8921,8922,7899,9950,9444,8937,9966,8431,8432,8438,9976,8441,9467,9469,7933,9470,9472,9480,8462,8978,9499,10016,8993,8994,9509,9511,9512,9513,9514,10031,9521,7987,9526,8504,7992,9529,9018,9019,9535,8511,8512,8513,8515,8516,9032,8521,9548,9037,10078,10079,9055,9056,8035,8548,10085,8040,8041,9579,10093,10094,10097,8561,10098,9596,8069,8071,8584,8586,9612,10131,9108,9621,8597,8085,8598,9111,8600,10142,10143,8607,9636,9124,9637,8101,9126,9130,9131,10156,9132,10157,8111,8633,8640,8138,9164,9167,9169,8145,9690,9692,9184,8672,8673,9699,8675,8677,8678,8680,8681,10219,8691,8694,9208) order by pedidod_pedido_id, pedidod_id [2026-10-17 06:31:07] commit; [2026-10-17 06:31:10] begin; [2026-10-17 06:31:10] select cliente_id,cliente_nombre_comercial,cliente_razon_social,cliente_nit,cliente_correo_electronico,cliente_direccion,cliente_bloqueado,cliente_limite_credito,cliente_dias_credito,municipio_geografico_descripcion,departamento_geografico_descripcion,vendedor_descripcion,cliente_telefono from sh_principal.tbl_ven_cliente inner join sh_principal.tbl_gen_municipio_geografico on cliente_municipio_geografico_id=municipio_geografico_id inner join sh_principal.tbl_gen_departamento_geografico on municipio_geografico_departamento_id=departamento_geografico_id inner join sh_principal.tbl_ven_vendedor on vendedor_id=cliente_vendedor_id where 1=1 and cliente_bloqueado=false order by cliente_nombre_comercial [2026-10-17 06:31:10] commit; [2026-10-17 06:31:16] begin; [2026-10-17 06:31:16] select 1 from sh_principal.tbl_gen_usuario_empresa inner join sh_principal.tbl_gen_empresa on empresa_id=usuario_empresa_empresa_id where usuario_empresa_usuario_id=14 and usuario_empresa_empresa_id=1 and empresa_bloqueada=false limit 1 [2026-10-17 06:31:16] select venta_id,venta_serie,venta_numero,to_char(venta_fecha,'DD/MM/YYYY') as fecha,venta_total,rsaldo as saldo FROM sh_principal.tbl_ven_venta inner join sh_principal.tbl_ven_cliente on cliente_id=venta_cliente_id inner join sh_principal.fn_ven_saldo_ventas(0,0) on venta_id=rventa_id where 1=1 and venta_empresa_id=1 and rsaldo<>0 and venta_anulada=false and cliente_id =571 order by venta_fecha desc [2026-10-17 06:31:16] commit; [2026-10-17 06:31:33] begin; [2026-10-17 06:31:33] select 1 from sh_principal.tbl_gen_usuario_empresa inner join sh_principal.tbl_gen_empresa on empresa_id=usuario_empresa_empresa_id where usuario_empresa_usuario_id=14 and usuario_empresa_empresa_id=1 and empresa_bloqueada=false limit 1 [2026-10-17 06:31:33] select count(*) from sh_principal.tbl_gen_notificacion_usuario where notificacion_usuario_usuario_id=14 and notificacion_usuario_leida=false [2026-10-17 06:31:33] select 1 from sh_principal.tbl_gen_usuario_empresa inner join sh_principal.tbl_gen_empresa on empresa_id=usuario_empresa_empresa_id where usuario_empresa_usuario_id=14 and usuario_empresa_empresa_id=1 and empresa_bloqueada=false limit 1 [2026-10-17 06:31:33] select pedido_id,to_char(pedido_registro,'DD/MM/YYYY HH24:MI') as registro,to_char(pedido_fecha,'DD/MM/YYYY') as fecha,pedido_comentario,usuario_nombre,pedido_total,pedido_nombre,pedido_nit,case when pedido_anulado then 'ANULADO' when pedido_id in (select venta_pedido_id from sh_principal.tbl_ven_venta) then 'FACTURADO' ELSE 'PENDIENTE DE FACTURAR' END as estado,pedido_direccion,pedido_telefono,pedido_email,vendedor_descripcion,transporte_descripcion from sh_principal.tbl_ven_pedido inner join sh_principal.tbl_ven_transporte on pedido_transporte_id=transporte_id inner join sh_principal.tbl_gen_usuario on pedido_usuario_id=usuario_id inner join sh_principal.tbl_ven_vendedor on vendedor_id=pedido_vendedor_id where 1=1 and pedido_empresa_id=1 and usuario_id =14 order by pedido_registro desc limit 200 [2026-10-17 06:31:33] select count(*) filter (where pedido_registro::date = current_date) as pedidos_hoy, coalesce(sum(pedido_total) filter (where pedido_registro::date = current_date),0) as monto_dia, coalesce(sum(pedido_total) filter (where date_trunc('month',pedido_registro)=date_trunc('month',current_date)),0) as monto_mes from sh_principal.tbl_ven_pedido where pedido_usuario_id=14 and pedido_empresa_id=1 and pedido_anulado=false [2026-10-17 06:31:33] select pedidod_pedido_id,producto_id,producto_codigo,producto_descripcion,pedidod_cantidad,pedidod_descuento,pedidod_descuento_monto,pedidod_precio,pedidod_total from sh_principal.tbl_ven_pedidodet inner join sh_principal.tbl_inv_producto on pedidod_producto_id=producto_id where pedidod_pedido_id in (8715,9744,8213,8214,8215,9754,8730,8732,8733,9759,9762,8740,9253,8229,8232,8235,8237,8756,9269,9270,8759,9789,8253,9278,9279,8768,9794,9795,8272,8278,9815,9817,9307,9309,9315,8299,8300,9839,9328,9841,9337,8313,9339,9340,8316,7806,9858,8836,9353,8847,8336,9877,8341,8342,7831,9891,9383,9902,7854,9391,7855,9393,8882,8885,8886,9912,9408,9412,8905,9930,9932,8908,8397,9422,9423,8911,8400,7888,8914,7890,7891,8917,8918,7894,8919,7895,9433,8921,8922,7899,9950,9444,8937,9966,8431,8432,8438,9976,8441,9467,9469,7933,9470,9472,9480,8462,8978,9499,10016,8993,8994,9509,9511,9512,9513,9514,10031,9521,7987,9526,8504,7992,9529,9018,9019,9535,8511,8512,8513,8515,8516,9032,8521,9548,9037,10078,10079,9055,9056,8035,8548,10085,8040,8041,9579,10093,10094,10097,8561,10098,9596,8069,8071,8584,8586,9612,10131,9108,9621,8597,8085,8598,9111,8600,10142,10143,8607,9636,9124,9637,8101,9126,9130,9131,10156,9132,10157,8111,8633,8640,8138,9164,9167,9169,8145,9690,9692,9184,8672,8673,9699,8675,8677,8678,8680,8681,10219,8691,8694,9208) order by pedidod_pedido_id, pedidod_id [2026-10-17 06:31:33] commit; [2026-10-17 06:31:59] select count(*) from sh_principal.tbl_gen_notificacion_usuario where notificacion_usuario_usuario_id=14 and notificacion_usuario_leida=false [2026-10-17 06:31:59] select 1 from sh_principal.tbl_gen_usuario_empresa inner join sh_principal.tbl_gen_empresa on empresa_id=usuario_empresa_empresa_id where usuario_empresa_usuario_id=14 and usuario_empresa_empresa_id=1 and empresa_bloqueada=false limit 1 [2026-10-17 06:31:59] begin; [2026-10-17 06:31:59] select 1 from sh_principal.tbl_gen_usuario_empresa inner join sh_principal.tbl_gen_empresa on empresa_id=usuario_empresa_empresa_id where usuario_empresa_usuario_id=14 and usuario_empresa_empresa_id=1 and empresa_bloqueada=false limit 1 [2026-10-17 06:31:59] select count(*) filter (where pedido_registro::date = current_date) as pedidos_hoy, coalesce(sum(pedido_total) filter (where pedido_registro::date = current_date),0) as monto_dia, coalesce(sum(pedido_total) filter (where date_trunc('month',pedido_registro)=date_trunc('month',current_date)),0) as monto_mes from sh_principal.tbl_ven_pedido where pedido_usuario_id=14 and pedido_empresa_id=1 and pedido_anulado=false [2026-10-17 06:31:59] select pedido_id,to_char(pedido_registro,'DD/MM/YYYY HH24:MI') as registro,to_char(pedido_fecha,'DD/MM/YYYY') as fecha,pedido_comentario,usuario_nombre,pedido_total,pedido_nombre,pedido_nit,case when pedido_anulado then 'ANULADO' when pedido_id in (select venta_pedido_id from sh_principal.tbl_ven_venta) then 'FACTURADO' ELSE 'PENDIENTE DE FACTURAR' END as estado,pedido_direccion,pedido_telefono,pedido_email,vendedor_descripcion,transporte_descripcion from sh_principal.tbl_ven_pedido inner join sh_principal.tbl_ven_transporte on pedido_transporte_id=transporte_id inner join sh_principal.tbl_gen_usuario on pedido_usuario_id=usuario_id inner join sh_principal.tbl_ven_vendedor on vendedor_id=pedido_vendedor_id where 1=1 and pedido_empresa_id=1 and usuario_id =14 order by pedido_registro desc limit 200 [2026-10-17 06:31:59] select pedidod_pedido_id,producto_id,producto_codigo,producto_descripcion,pedidod_cantidad,pedidod_descuento,pedidod_descuento_monto,pedidod_precio,pedidod_total from sh_principal.tbl_ven_pedidodet inner join sh_principal.tbl_inv_producto on pedidod_producto_id=producto_id where pedidod_pedido_id in (8715,9744,8213,8214,8215,9754,8730,8732,8733,9759,9762,8740,9253,8229,8232,8235,8237,8756,9269,9270,8759,9789,8253,9278,9279,8768,9794,9795,8272,8278,9815,9817,9307,9309,9315,8299,8300,9839,9328,9841,9337,8313,9339,9340,8316,7806,9858,8836,9353,8847,8336,9877,8341,8342,7831,9891,9383,9902,7854,9391,7855,9393,8882,8885,8886,9912,9408,9412,8905,9930,9932,8908,8397,9422,9423,8911,8400,7888,8914,7890,7891,8917,8918,7894,8919,7895,9433,8921,8922,7899,9950,9444,8937,9966,8431,8432,8438,9976,8441,9467,9469,7933,9470,9472,9480,8462,8978,9499,10016,8993,8994,9509,9511,9512,9513,9514,10031,9521,7987,9526,8504,7992,9529,9018,9019,9535,8511,8512,8513,8515,8516,9032,8521,9548,9037,10078,10079,9055,9056,8035,8548,10085,8040,8041,9579,10093,10094,10097,8561,10098,9596,8069,8071,8584,8586,9612,10131,9108,9621,8597,8085,8598,9111,8600,10142,10143,8607,9636,9124,9637,8101,9126,9130,9131,10156,9132,10157,8111,8633,8640,8138,9164,9167,9169,8145,9690,9692,9184,8672,8673,9699,8675,8677,8678,8680,8681,10219,8691,8694,9208) order by pedidod_pedido_id, pedidod_id [2026-10-17 06:31:59] commit; [2026-10-17 09:18:46] select empresa_id, coalesce(empresa_imagen,'') as empresa_imagen from sh_principal.tbl_gen_empresa where empresa_bloqueada=false order by empresa_id [2026-10-17 09:18:46] select count(*) from sh_principal.tbl_gen_notificacion_usuario where notificacion_usuario_usuario_id=17 and notificacion_usuario_leida=false [2026-10-17 09:18:46] select 1 from sh_principal.tbl_gen_usuario_empresa inner join sh_principal.tbl_gen_empresa on empresa_id=usuario_empresa_empresa_id where usuario_empresa_usuario_id=17 and usuario_empresa_empresa_id=1 and empresa_bloqueada=false limit 1 [2026-10-17 09:18:46] select count(*) filter (where pedido_registro::date = current_date) as pedidos_hoy, coalesce(sum(pedido_total) filter (where pedido_registro::date = current_date),0) as monto_dia, coalesce(sum(pedido_total) filter (where date_trunc('month',pedido_registro)=date_trunc('month',current_date)),0) as monto_mes from sh_principal.tbl_ven_pedido where pedido_usuario_id=17 and pedido_empresa_id=1 and pedido_anulado=false [2026-10-17 09:18:46] select count(*) from sh_principal.tbl_gen_notificacion_usuario where notificacion_usuario_usuario_id=17 and notificacion_usuario_leida=false [2026-10-17 09:18:46] begin; [2026-10-17 09:18:46] select 1 from sh_principal.tbl_gen_usuario_empresa inner join sh_principal.tbl_gen_empresa on empresa_id=usuario_empresa_empresa_id where usuario_empresa_usuario_id=17 and usuario_empresa_empresa_id=1 and empresa_bloqueada=false limit 1 [2026-10-17 09:18:46] select pedido_id,to_char(pedido_registro,'DD/MM/YYYY HH24:MI') as registro,to_char(pedido_fecha,'DD/MM/YYYY') as fecha,pedido_comentario,usuario_nombre,pedido_total,pedido_nombre,pedido_nit,case when pedido_anulado then 'ANULADO' when pedido_id in (select venta_pedido_id from sh_principal.tbl_ven_venta) then 'FACTURADO' ELSE 'PENDIENTE DE FACTURAR' END as estado,pedido_direccion,pedido_telefono,pedido_email,vendedor_descripcion,transporte_descripcion from sh_principal.tbl_ven_pedido inner join sh_principal.tbl_ven_transporte on pedido_transporte_id=transporte_id inner join sh_principal.tbl_gen_usuario on pedido_usuario_id=usuario_id inner join sh_principal.tbl_ven_vendedor on vendedor_id=pedido_vendedor_id where 1=1 and pedido_empresa_id=1 and usuario_id =17 order by pedido_registro desc limit 200 [2026-10-17 09:18:46] commit; [2026-10-17 09:18:48] select empresa_id, coalesce(empresa_imagen,'') as empresa_imagen from sh_principal.tbl_gen_empresa where empresa_bloqueada=false order by empresa_id [2026-10-17 09:18:49] select count(*) from sh_principal.tbl_gen_notificacion_usuario where notificacion_usuario_usuario_id=17 and notificacion_usuario_leida=false [2026-10-17 09:18:50] begin; [2026-10-17 09:18:50] select 1 from sh_principal.tbl_gen_usuario_empresa inner join sh_principal.tbl_gen_empresa on empresa_id=usuario_empresa_empresa_id where usuario_empresa_usuario_id=17 and usuario_empresa_empresa_id=2 and empresa_bloqueada=false limit 1 [2026-10-17 09:18:50] select producto_id,producto_descripcion,proveedor_nombre,especie_producto_descripcion,especificacion_producto_descripcion,producto_precio,producto_bien,producto_servicio,producto_codigo,producto_codigo_barra,producto_maneja_existencia,producto_precio_editable,sum(rcantidad) as existencia,producto_bloqueado,exists(select 1 from sh_multimedia.tbl_inv_producto_multimedia m where m.producto_id=tbl_inv_producto.producto_id and coalesce(m.producto_imagen,'')<>'') as tiene_imagen from sh_principal.tbl_inv_producto inner join sh_principal.tbl_inv_proveedor on proveedor_id=producto_proveedor_id inner join sh_principal.tbl_inv_especie_producto on especie_producto_id=producto_especie_id inner join sh_principal.tbl_inv_especificacion_producto on especificacion_producto_id=producto_especificacion_id inner join sh_principal.fn_inv_saldo_productos_bodega_completo() on rproducto_id=producto_id inner join sh_principal.tbl_gen_empresa on empresa_id=producto_empresa_id inner join sh_principal.tbl_inv_bodega on bodega_id=rbodega_id and bodega_empresa_id=empresa_id where 1=1 and producto_empresa_id=2 and bodega_permitida_venta and producto_bloqueado=false and producto_precio>0 group by producto_id,producto_descripcion,proveedor_nombre,especie_producto_descripcion,especificacion_producto_descripcion,producto_precio,producto_bien,producto_servicio,producto_codigo,producto_codigo_barra,producto_maneja_existencia,producto_precio_editable,producto_bloqueado order by producto_descripcion [2026-10-17 09:18:51] commit; [2026-10-17 09:39:01] begin; [2026-10-17 09:39:01] select 1 from sh_principal.tbl_gen_usuario_empresa inner join sh_principal.tbl_gen_empresa on empresa_id=usuario_empresa_empresa_id where usuario_empresa_usuario_id=16 and usuario_empresa_empresa_id=2 and empresa_bloqueada=false limit 1 [2026-10-17 09:39:01] select pedido_id,to_char(pedido_registro,'DD/MM/YYYY HH24:MI') as registro,to_char(pedido_fecha,'DD/MM/YYYY') as fecha,pedido_comentario,usuario_nombre,pedido_total,pedido_nombre,pedido_nit,case when pedido_anulado then 'ANULADO' when pedido_id in (select venta_pedido_id from sh_principal.tbl_ven_venta) then 'FACTURADO' ELSE 'PENDIENTE DE FACTURAR' END as estado,pedido_direccion,pedido_telefono,pedido_email,vendedor_descripcion,transporte_descripcion from sh_principal.tbl_ven_pedido inner join sh_principal.tbl_ven_transporte on pedido_transporte_id=transporte_id inner join sh_principal.tbl_gen_usuario on pedido_usuario_id=usuario_id inner join sh_principal.tbl_ven_vendedor on vendedor_id=pedido_vendedor_id where 1=1 and pedido_empresa_id=2 and usuario_id =16 order by pedido_registro desc limit 200 [2026-10-17 09:39:01] select pedidod_pedido_id,producto_id,producto_codigo,producto_descripcion,pedidod_cantidad,pedidod_descuento,pedidod_descuento_monto,pedidod_precio,pedidod_total from sh_principal.tbl_ven_pedidodet inner join sh_principal.tbl_inv_producto on pedidod_producto_id=producto_id where pedidod_pedido_id in (10160,10036,10026,10029) order by pedidod_pedido_id, pedidod_id [2026-10-17 09:39:01] commit; [2026-10-17 09:39:01] begin; [2026-10-17 09:39:01] select 1 from sh_principal.tbl_gen_usuario_empresa inner join sh_principal.tbl_gen_empresa on empresa_id=usuario_empresa_empresa_id where usuario_empresa_usuario_id=16 and usuario_empresa_empresa_id=2 and empresa_bloqueada=false limit 1 [2026-10-17 09:39:01] select pedido_id,to_char(pedido_registro,'DD/MM/YYYY HH24:MI') as registro,to_char(pedido_fecha,'DD/MM/YYYY') as fecha,pedido_comentario,usuario_nombre,pedido_total,pedido_nombre,pedido_nit,case when pedido_anulado then 'ANULADO' when pedido_id in (select venta_pedido_id from sh_principal.tbl_ven_venta) then 'FACTURADO' ELSE 'PENDIENTE DE FACTURAR' END as estado,pedido_direccion,pedido_telefono,pedido_email,vendedor_descripcion,transporte_descripcion from sh_principal.tbl_ven_pedido inner join sh_principal.tbl_ven_transporte on pedido_transporte_id=transporte_id inner join sh_principal.tbl_gen_usuario on pedido_usuario_id=usuario_id inner join sh_principal.tbl_ven_vendedor on vendedor_id=pedido_vendedor_id where 1=1 and pedido_empresa_id=2 and usuario_id =16 order by pedido_registro desc limit 200 [2026-10-17 09:39:02] select pedidod_pedido_id,producto_id,producto_codigo,producto_descripcion,pedidod_cantidad,pedidod_descuento,pedidod_descuento_monto,pedidod_precio,pedidod_total from sh_principal.tbl_ven_pedidodet inner join sh_principal.tbl_inv_producto on pedidod_producto_id=producto_id where pedidod_pedido_id in (10160,10036,10026,10029) order by pedidod_pedido_id, pedidod_id [2026-10-17 09:39:02] commit; [2026-10-17 09:39:02] select 1 from sh_principal.tbl_gen_usuario_empresa inner join sh_principal.tbl_gen_empresa on empresa_id=usuario_empresa_empresa_id where usuario_empresa_usuario_id=16 and usuario_empresa_empresa_id=2 and empresa_bloqueada=false limit 1 [2026-10-17 09:39:02] select count(*) filter (where pedido_registro::date = current_date) as pedidos_hoy, coalesce(sum(pedido_total) filter (where pedido_registro::date = current_date),0) as monto_dia, coalesce(sum(pedido_total) filter (where date_trunc('month',pedido_registro)=date_trunc('month',current_date)),0) as monto_mes from sh_principal.tbl_ven_pedido where pedido_usuario_id=16 and pedido_empresa_id=2 and pedido_anulado=false [2026-10-17 09:39:02] select count(*) from sh_principal.tbl_gen_notificacion_usuario where notificacion_usuario_usuario_id=16 and notificacion_usuario_leida=false [2026-10-17 09:39:03] begin; [2026-10-17 09:39:03] select 1 from sh_principal.tbl_gen_usuario_empresa inner join sh_principal.tbl_gen_empresa on empresa_id=usuario_empresa_empresa_id where usuario_empresa_usuario_id=16 and usuario_empresa_empresa_id=2 and empresa_bloqueada=false limit 1 [2026-10-17 09:39:03] select pedido_id,to_char(pedido_registro,'DD/MM/YYYY HH24:MI') as registro,to_char(pedido_fecha,'DD/MM/YYYY') as fecha,pedido_comentario,usuario_nombre,pedido_total,pedido_nombre,pedido_nit,case when pedido_anulado then 'ANULADO' when pedido_id in (select venta_pedido_id from sh_principal.tbl_ven_venta) then 'FACTURADO' ELSE 'PENDIENTE DE FACTURAR' END as estado,pedido_direccion,pedido_telefono,pedido_email,vendedor_descripcion,transporte_descripcion from sh_principal.tbl_ven_pedido inner join sh_principal.tbl_ven_transporte on pedido_transporte_id=transporte_id inner join sh_principal.tbl_gen_usuario on pedido_usuario_id=usuario_id inner join sh_principal.tbl_ven_vendedor on vendedor_id=pedido_vendedor_id where 1=1 and pedido_empresa_id=2 and usuario_id =16 order by pedido_registro desc limit 200 [2026-10-17 09:39:03] select 1 from sh_principal.tbl_gen_usuario_empresa inner join sh_principal.tbl_gen_empresa on empresa_id=usuario_empresa_empresa_id where usuario_empresa_usuario_id=16 and usuario_empresa_empresa_id=2 and empresa_bloqueada=false limit 1 [2026-10-17 09:39:03] select count(*) filter (where pedido_registro::date = current_date) as pedidos_hoy, coalesce(sum(pedido_total) filter (where pedido_registro::date = current_date),0) as monto_dia, coalesce(sum(pedido_total) filter (where date_trunc('month',pedido_registro)=date_trunc('month',current_date)),0) as monto_mes from sh_principal.tbl_ven_pedido where pedido_usuario_id=16 and pedido_empresa_id=2 and pedido_anulado=false [2026-10-17 09:39:03] select pedidod_pedido_id,producto_id,producto_codigo,producto_descripcion,pedidod_cantidad,pedidod_descuento,pedidod_descuento_monto,pedidod_precio,pedidod_total from sh_principal.tbl_ven_pedidodet inner join sh_principal.tbl_inv_producto on pedidod_producto_id=producto_id where pedidod_pedido_id in (10160,10036,10026,10029) order by pedidod_pedido_id, pedidod_id [2026-10-17 09:39:03] commit; [2026-10-17 10:30:16] 2026-10-17 10:30:16.567 WARN 5176 --- [MI TCP Accept-0] sun.rmi.transport.tcp : RMI TCP Accept-0: accept loop for ServerSocket[addr=0.0.0.0/0.0.0.0,localport=62461] throws [2026-10-17 10:30:16] [2026-10-17 10:30:16] java.io.IOException: The server sockets created using the LocalRMIServerSocketFactory only accept connections from clients running on the host where the RMI remote objects have been exported. [2026-10-17 10:30:16] at jdk.management.agent/sun.management.jmxremote.LocalRMIServerSocketFactory$1.accept(LocalRMIServerSocketFactory.java:114) ~[na:na] [2026-10-17 10:30:16] at java.rmi/sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop(TCPTransport.java:394) ~[na:na] [2026-10-17 10:30:16] at java.rmi/sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run(TCPTransport.java:366) ~[na:na] [2026-10-17 10:30:16] at java.base/java.lang.Thread.run(Thread.java:834) ~[na:na] [2026-10-17 10:30:16] [2026-10-17 10:31:15] 2026-10-17 10:31:15.116 WARN 5176 --- [MI TCP Accept-0] sun.rmi.transport.tcp : RMI TCP Accept-0: accept loop for ServerSocket[addr=0.0.0.0/0.0.0.0,localport=62461] throws [2026-10-17 10:31:15] [2026-10-17 10:31:15] java.io.IOException: The server sockets created using the LocalRMIServerSocketFactory only accept connections from clients running on the host where the RMI remote objects have been exported. [2026-10-17 10:31:15] at jdk.management.agent/sun.management.jmxremote.LocalRMIServerSocketFactory$1.accept(LocalRMIServerSocketFactory.java:114) ~[na:na] [2026-10-17 10:31:15] at java.rmi/sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop(TCPTransport.java:394) ~[na:na] [2026-10-17 10:31:15] at java.rmi/sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run(TCPTransport.java:366) ~[na:na] [2026-10-17 10:31:15] at java.base/java.lang.Thread.run(Thread.java:834) ~[na:na] [2026-10-17 10:31:15] [2026-10-17 10:39:41] select empresa_id, coalesce(empresa_imagen,'') as empresa_imagen from sh_principal.tbl_gen_empresa where empresa_bloqueada=false order by empresa_id [2026-10-17 10:39:41] begin; [2026-10-17 10:39:41] select 1 from sh_principal.tbl_gen_usuario_empresa inner join sh_principal.tbl_gen_empresa on empresa_id=usuario_empresa_empresa_id where usuario_empresa_usuario_id=17 and usuario_empresa_empresa_id=1 and empresa_bloqueada=false limit 1 [2026-10-17 10:39:41] select 1 from sh_principal.tbl_gen_usuario_empresa inner join sh_principal.tbl_gen_empresa on empresa_id=usuario_empresa_empresa_id where usuario_empresa_usuario_id=17 and usuario_empresa_empresa_id=1 and empresa_bloqueada=false limit 1 [2026-10-17 10:39:41] select pedido_id,to_char(pedido_registro,'DD/MM/YYYY HH24:MI') as registro,to_char(pedido_fecha,'DD/MM/YYYY') as fecha,pedido_comentario,usuario_nombre,pedido_total,pedido_nombre,pedido_nit,case when pedido_anulado then 'ANULADO' when pedido_id in (select venta_pedido_id from sh_principal.tbl_ven_venta) then 'FACTURADO' ELSE 'PENDIENTE DE FACTURAR' END as estado,pedido_direccion,pedido_telefono,pedido_email,vendedor_descripcion,transporte_descripcion from sh_principal.tbl_ven_pedido inner join sh_principal.tbl_ven_transporte on pedido_transporte_id=transporte_id inner join sh_principal.tbl_gen_usuario on pedido_usuario_id=usuario_id inner join sh_principal.tbl_ven_vendedor on vendedor_id=pedido_vendedor_id where 1=1 and pedido_empresa_id=1 and usuario_id =17 order by pedido_registro desc limit 200 [2026-10-17 10:39:41] select count(*) filter (where pedido_registro::date = current_date) as pedidos_hoy, coalesce(sum(pedido_total) filter (where pedido_registro::date = current_date),0) as monto_dia, coalesce(sum(pedido_total) filter (where date_trunc('month',pedido_registro)=date_trunc('month',current_date)),0) as monto_mes from sh_principal.tbl_ven_pedido where pedido_usuario_id=17 and pedido_empresa_id=1 and pedido_anulado=false [2026-10-17 10:39:41] select count(*) from sh_principal.tbl_gen_notificacion_usuario where notificacion_usuario_usuario_id=17 and notificacion_usuario_leida=false [2026-10-17 10:39:41] commit; [2026-10-17 10:39:41] select count(*) from sh_principal.tbl_gen_notificacion_usuario where notificacion_usuario_usuario_id=17 and notificacion_usuario_leida=false [2026-10-17 10:39:43] begin; [2026-10-17 10:39:43] select 1 from sh_principal.tbl_gen_usuario_empresa inner join sh_principal.tbl_gen_empresa on empresa_id=usuario_empresa_empresa_id where usuario_empresa_usuario_id=17 and usuario_empresa_empresa_id=1 and empresa_bloqueada=false limit 1 [2026-10-17 10:39:43] select producto_id,producto_descripcion,proveedor_nombre,especie_producto_descripcion,especificacion_producto_descripcion,producto_precio,producto_bien,producto_servicio,producto_codigo,producto_codigo_barra,producto_maneja_existencia,producto_precio_editable,sum(rcantidad) as existencia,producto_bloqueado,exists(select 1 from sh_multimedia.tbl_inv_producto_multimedia m where m.producto_id=tbl_inv_producto.producto_id and coalesce(m.producto_imagen,'')<>'') as tiene_imagen from sh_principal.tbl_inv_producto inner join sh_principal.tbl_inv_proveedor on proveedor_id=producto_proveedor_id inner join sh_principal.tbl_inv_especie_producto on especie_producto_id=producto_especie_id inner join sh_principal.tbl_inv_especificacion_producto on especificacion_producto_id=producto_especificacion_id inner join sh_principal.fn_inv_saldo_productos_bodega_completo() on rproducto_id=producto_id inner join sh_principal.tbl_gen_empresa on empresa_id=producto_empresa_id inner join sh_principal.tbl_inv_bodega on bodega_id=rbodega_id and bodega_empresa_id=empresa_id where 1=1 and producto_empresa_id=1 and bodega_permitida_venta and producto_bloqueado=false and producto_precio>0 group by producto_id,producto_descripcion,proveedor_nombre,especie_producto_descripcion,especificacion_producto_descripcion,producto_precio,producto_bien,producto_servicio,producto_codigo,producto_codigo_barra,producto_maneja_existencia,producto_precio_editable,producto_bloqueado order by producto_descripcion [2026-10-17 10:39:44] commit; [2026-10-17 19:44:44] select empresa_id, coalesce(empresa_imagen,'') as empresa_imagen from sh_principal.tbl_gen_empresa where empresa_bloqueada=false order by empresa_id [2026-10-17 19:44:44] select count(*) from sh_principal.tbl_gen_notificacion_usuario where notificacion_usuario_usuario_id=14 and notificacion_usuario_leida=false [2026-10-17 19:44:44] begin; [2026-10-17 19:44:44] select 1 from sh_principal.tbl_gen_usuario_empresa inner join sh_principal.tbl_gen_empresa on empresa_id=usuario_empresa_empresa_id where usuario_empresa_usuario_id=14 and usuario_empresa_empresa_id=1 and empresa_bloqueada=false limit 1 [2026-10-17 19:44:44] select count(*) from sh_principal.tbl_gen_notificacion_usuario where notificacion_usuario_usuario_id=14 and notificacion_usuario_leida=false [2026-10-17 19:44:44] select pedido_id,to_char(pedido_registro,'DD/MM/YYYY HH24:MI') as registro,to_char(pedido_fecha,'DD/MM/YYYY') as fecha,pedido_comentario,usuario_nombre,pedido_total,pedido_nombre,pedido_nit,case when pedido_anulado then 'ANULADO' when pedido_id in (select venta_pedido_id from sh_principal.tbl_ven_venta) then 'FACTURADO' ELSE 'PENDIENTE DE FACTURAR' END as estado,pedido_direccion,pedido_telefono,pedido_email,vendedor_descripcion,transporte_descripcion from sh_principal.tbl_ven_pedido inner join sh_principal.tbl_ven_transporte on pedido_transporte_id=transporte_id inner join sh_principal.tbl_gen_usuario on pedido_usuario_id=usuario_id inner join sh_principal.tbl_ven_vendedor on vendedor_id=pedido_vendedor_id where 1=1 and pedido_empresa_id=1 and usuario_id =14 order by pedido_registro desc limit 200 [2026-10-17 19:44:44] select 1 from sh_principal.tbl_gen_usuario_empresa inner join sh_principal.tbl_gen_empresa on empresa_id=usuario_empresa_empresa_id where usuario_empresa_usuario_id=14 and usuario_empresa_empresa_id=1 and empresa_bloqueada=false limit 1 [2026-10-17 19:44:44] select count(*) filter (where pedido_registro::date = current_date) as pedidos_hoy, coalesce(sum(pedido_total) filter (where pedido_registro::date = current_date),0) as monto_dia, coalesce(sum(pedido_total) filter (where date_trunc('month',pedido_registro)=date_trunc('month',current_date)),0) as monto_mes from sh_principal.tbl_ven_pedido where pedido_usuario_id=14 and pedido_empresa_id=1 and pedido_anulado=false [2026-10-17 19:44:44] select pedidod_pedido_id,producto_id,producto_codigo,producto_descripcion,pedidod_cantidad,pedidod_descuento,pedidod_descuento_monto,pedidod_precio,pedidod_total from sh_principal.tbl_ven_pedidodet inner join sh_principal.tbl_inv_producto on pedidod_producto_id=producto_id where pedidod_pedido_id in (8715,9744,8213,8214,8215,9754,8730,8732,8733,9759,9762,8740,9253,8229,8232,8235,8237,8756,9269,9270,8759,9789,8253,9278,9279,8768,9794,9795,8272,8278,9815,9817,9307,9309,9315,8299,8300,9839,9328,9841,9337,8313,9339,9340,8316,7806,9858,8836,9353,8847,8336,9877,8341,8342,7831,9891,9383,9902,7854,9391,7855,9393,8882,8885,8886,9912,9408,9412,8905,9930,9932,8908,8397,9422,9423,8911,8400,7888,8914,7890,7891,8917,8918,7894,8919,7895,9433,8921,8922,7899,9950,9444,8937,9966,8431,8432,8438,9976,8441,9467,9469,7933,9470,9472,9480,8462,8978,9499,10016,8993,8994,9509,9511,9512,9513,9514,10031,9521,7987,9526,8504,7992,9529,9018,9019,9535,8511,8512,8513,8515,8516,9032,8521,9548,9037,10078,10079,9055,9056,8035,8548,10085,8040,8041,9579,10093,10094,10097,8561,10098,9596,8069,8071,8584,8586,9612,10131,9108,9621,8597,8085,8598,9111,8600,10142,10143,8607,9636,9124,9637,8101,9126,9130,9131,10156,9132,10157,8111,8633,8640,8138,9164,9167,9169,8145,9690,9692,9184,8672,8673,9699,8675,8677,8678,8680,8681,10219,8691,8694,9208) order by pedidod_pedido_id, pedidod_id [2026-10-17 19:44:44] commit; [2026-10-17 19:44:51] begin; [2026-10-17 19:44:51] select 1 from sh_principal.tbl_gen_usuario_empresa inner join sh_principal.tbl_gen_empresa on empresa_id=usuario_empresa_empresa_id where usuario_empresa_usuario_id=14 and usuario_empresa_empresa_id=1 and empresa_bloqueada=false limit 1 [2026-10-17 19:44:51] select pedido_id,to_char(pedido_registro,'DD/MM/YYYY HH24:MI') as registro,to_char(pedido_fecha,'DD/MM/YYYY') as fecha,pedido_comentario,usuario_nombre,pedido_total,pedido_nombre,pedido_nit,case when pedido_anulado then 'ANULADO' when pedido_id in (select venta_pedido_id from sh_principal.tbl_ven_venta) then 'FACTURADO' ELSE 'PENDIENTE DE FACTURAR' END as estado,pedido_direccion,pedido_telefono,pedido_email,vendedor_descripcion,transporte_descripcion from sh_principal.tbl_ven_pedido inner join sh_principal.tbl_ven_transporte on pedido_transporte_id=transporte_id inner join sh_principal.tbl_gen_usuario on pedido_usuario_id=usuario_id inner join sh_principal.tbl_ven_vendedor on vendedor_id=pedido_vendedor_id where 1=1 and pedido_empresa_id=1 and usuario_id =14 order by pedido_registro desc limit 200 [2026-10-17 19:44:51] select pedidod_pedido_id,producto_id,producto_codigo,producto_descripcion,pedidod_cantidad,pedidod_descuento,pedidod_descuento_monto,pedidod_precio,pedidod_total from sh_principal.tbl_ven_pedidodet inner join sh_principal.tbl_inv_producto on pedidod_producto_id=producto_id where pedidod_pedido_id in (8715,9744,8213,8214,8215,9754,8730,8732,8733,9759,9762,8740,9253,8229,8232,8235,8237,8756,9269,9270,8759,9789,8253,9278,9279,8768,9794,9795,8272,8278,9815,9817,9307,9309,9315,8299,8300,9839,9328,9841,9337,8313,9339,9340,8316,7806,9858,8836,9353,8847,8336,9877,8341,8342,7831,9891,9383,9902,7854,9391,7855,9393,8882,8885,8886,9912,9408,9412,8905,9930,9932,8908,8397,9422,9423,8911,8400,7888,8914,7890,7891,8917,8918,7894,8919,7895,9433,8921,8922,7899,9950,9444,8937,9966,8431,8432,8438,9976,8441,9467,9469,7933,9470,9472,9480,8462,8978,9499,10016,8993,8994,9509,9511,9512,9513,9514,10031,9521,7987,9526,8504,7992,9529,9018,9019,9535,8511,8512,8513,8515,8516,9032,8521,9548,9037,10078,10079,9055,9056,8035,8548,10085,8040,8041,9579,10093,10094,10097,8561,10098,9596,8069,8071,8584,8586,9612,10131,9108,9621,8597,8085,8598,9111,8600,10142,10143,8607,9636,9124,9637,8101,9126,9130,9131,10156,9132,10157,8111,8633,8640,8138,9164,9167,9169,8145,9690,9692,9184,8672,8673,9699,8675,8677,8678,8680,8681,10219,8691,8694,9208) order by pedidod_pedido_id, pedidod_id [2026-10-17 19:44:51] commit; [2026-10-17 19:45:47] select 1 from sh_principal.tbl_gen_usuario_empresa inner join sh_principal.tbl_gen_empresa on empresa_id=usuario_empresa_empresa_id where usuario_empresa_usuario_id=14 and usuario_empresa_empresa_id=1 and empresa_bloqueada=false limit 1 [2026-10-17 19:45:47] select count(*) filter (where pedido_registro::date = current_date) as pedidos_hoy, coalesce(sum(pedido_total) filter (where pedido_registro::date = current_date),0) as monto_dia, coalesce(sum(pedido_total) filter (where date_trunc('month',pedido_registro)=date_trunc('month',current_date)),0) as monto_mes from sh_principal.tbl_ven_pedido where pedido_usuario_id=14 and pedido_empresa_id=1 and pedido_anulado=false [2026-10-17 19:45:47] select count(*) from sh_principal.tbl_gen_notificacion_usuario where notificacion_usuario_usuario_id=14 and notificacion_usuario_leida=false [2026-10-17 19:45:47] begin; [2026-10-17 19:45:47] select 1 from sh_principal.tbl_gen_usuario_empresa inner join sh_principal.tbl_gen_empresa on empresa_id=usuario_empresa_empresa_id where usuario_empresa_usuario_id=14 and usuario_empresa_empresa_id=1 and empresa_bloqueada=false limit 1 [2026-10-17 19:45:47] select pedido_id,to_char(pedido_registro,'DD/MM/YYYY HH24:MI') as registro,to_char(pedido_fecha,'DD/MM/YYYY') as fecha,pedido_comentario,usuario_nombre,pedido_total,pedido_nombre,pedido_nit,case when pedido_anulado then 'ANULADO' when pedido_id in (select venta_pedido_id from sh_principal.tbl_ven_venta) then 'FACTURADO' ELSE 'PENDIENTE DE FACTURAR' END as estado,pedido_direccion,pedido_telefono,pedido_email,vendedor_descripcion,transporte_descripcion from sh_principal.tbl_ven_pedido inner join sh_principal.tbl_ven_transporte on pedido_transporte_id=transporte_id inner join sh_principal.tbl_gen_usuario on pedido_usuario_id=usuario_id inner join sh_principal.tbl_ven_vendedor on vendedor_id=pedido_vendedor_id where 1=1 and pedido_empresa_id=1 and usuario_id =14 order by pedido_registro desc limit 200 [2026-10-17 19:45:47] select pedidod_pedido_id,producto_id,producto_codigo,producto_descripcion,pedidod_cantidad,pedidod_descuento,pedidod_descuento_monto,pedidod_precio,pedidod_total from sh_principal.tbl_ven_pedidodet inner join sh_principal.tbl_inv_producto on pedidod_producto_id=producto_id where pedidod_pedido_id in (8715,9744,8213,8214,8215,9754,8730,8732,8733,9759,9762,8740,9253,8229,8232,8235,8237,8756,9269,9270,8759,9789,8253,9278,9279,8768,9794,9795,8272,8278,9815,9817,9307,9309,9315,8299,8300,9839,9328,9841,9337,8313,9339,9340,8316,7806,9858,8836,9353,8847,8336,9877,8341,8342,7831,9891,9383,9902,7854,9391,7855,9393,8882,8885,8886,9912,9408,9412,8905,9930,9932,8908,8397,9422,9423,8911,8400,7888,8914,7890,7891,8917,8918,7894,8919,7895,9433,8921,8922,7899,9950,9444,8937,9966,8431,8432,8438,9976,8441,9467,9469,7933,9470,9472,9480,8462,8978,9499,10016,8993,8994,9509,9511,9512,9513,9514,10031,9521,7987,9526,8504,7992,9529,9018,9019,9535,8511,8512,8513,8515,8516,9032,8521,9548,9037,10078,10079,9055,9056,8035,8548,10085,8040,8041,9579,10093,10094,10097,8561,10098,9596,8069,8071,8584,8586,9612,10131,9108,9621,8597,8085,8598,9111,8600,10142,10143,8607,9636,9124,9637,8101,9126,9130,9131,10156,9132,10157,8111,8633,8640,8138,9164,9167,9169,8145,9690,9692,9184,8672,8673,9699,8675,8677,8678,8680,8681,10219,8691,8694,9208) order by pedidod_pedido_id, pedidod_id [2026-10-17 19:45:47] commit;