Bienvenido,


Inicio | Salir

Tu Pedido

Producto
Cant.
PU
Importe
Subtotal:
0.00
IVA:
0.00
Total:
0.00

1. Busca y Selecciona tus Productos

Código Promer:
Nombre del Producto:
Código de Proveedor:
rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 ') THEN t3.dblMargen END) AS Margen, MAX(CA' at line 108 Query Ejecutado: SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, '-', t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE '***%' AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE '***%' AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE '***%' and 1=0 ORDER BY t1.strProducto ASC
no estaba en transacci髇rror!: SQLSTATE[23000]: Integrity constraint violation: 1216 Cannot add or update a child row: a foreign key constraint fails Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'SELECT t1.*, t1.dblProducto, t1.strFolioVFP, ' at line 26 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇rror!: SQLSTATE[42000]: Syntax error or access violation: 1064 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 'insert into tblLogSql ( strSql, strUrl, strUsuario, datFe' at line 27 Query Ejecutado: insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( " insert into tblLogSql ( strSql, strUrl, strUsuario, datFechaHora, strUserAgent, strErrorSql ) values ( "SELECT t1.*, t1.dblProducto, t1.strFolioVFP, t1.dblPrecioLista, t1.dblDescuentoPrecioVenta, t1.strProducto, t1.strColorDescuento, t3.intUnidadMedida, t3.strUnidadMedida, t1.dblTasaIVA, t1.strCodigoProveedor, t2.intMarca, t2.strMarca, CONCAT(t4.strcodigoproductoserviciosat, -, t4.strproductoserviciosat) AS productoSat, t4.intCodigoProductoServicioSat, t5.PrecioConDescAdicional, t5.PrecioConDescAdicionalIVA, t5.PrecioSinIva, t5.PrecioConIva, t6.intUnidadMedidaPromer, t6.strUnidadMedidaPromer FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0) t1 LEFT JOIN tblCatMarca t2 ON t1.intMarca = t2.intMarca JOIN tblCatUnidadMedida t3 ON t1.intUnidadMedida = t3.intUnidadMedida JOIN tblCatUnidadMedidaPromer t6 ON t1.intUnidadMedidaPromer = t6.intUnidadMedidaPromer LEFT JOIN tblCatProductoServicioSat t4 ON t4.intCodigoProductoServicioSat = t1.intCodigoProductoServicioSat JOIN (SELECT dblProducto, ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) PrecioConDescAdicional, ROUND(ROUND(((PrecioSinIva*1) * (IF(aplica = 1, 1 - (IFNULL(dblDescuentoPrecioVenta / 100, 0)), 1))), 2) * (1 + dblTasaIVA / 100), 2) PrecioConDescAdicionalIVA, ROUND(((PrecioSinIva*1)), 2) PrecioSinIva, ROUND(((PrecioSinIva*1)) * (1 + dblTasaIVA / 100), 2) PrecioConIva FROM (SELECT *, ROUND((costoNeto * (1 + IFNULL(Margen / 100, 0))), 2) AS PrecioSinIva, ROUND((ROUND((costoNeto * (1 + Margen / 100)), 2)) * (1 + dblTasaIVA / 100), 2) AS PrecioConIva FROM (SELECT *, TRUNCATE(((dblPrecioLista * (1 - IF(Descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100)) + SIGN((dblPrecioLista * (1 - IF(descuento1 IS NOT NULL, Descuento1, 0) / 100) * (1 - IF(Descuento2 IS NOT NULL, Descuento2, 0) / 100) * (1 - IF(Descuento3 IS NOT NULL, Descuento3, 0) / 100) * (1 - IF(Descuento4 IS NOT NULL, Descuento4, 0) / 100) * (1 - IF(Descuento5 IS NOT NULL, Descuento5, 0) / 100) * (1 - IF(Descuento6 IS NOT NULL, Descuento6, 0) / 100) * (1 - IF(Descuento7 IS NOT NULL, Descuento7, 0) / 100))) * (POW(10, (1 - 2)) / 18)), 2) AS CostoNeto FROM (SELECT t1.dblproducto, t1.strProducto, t1.intUnidadMedida, t1.intUnidadMedidaPromer, t1.dblPrecioLista*ifnull(dblTipoDeCambio,1) dblPrecioLista, t1.dblTasaIVA, t1.dblDescuentoPrecioVenta, t1.intMoneda, t1.dblTipoDeCambio, MAX(CASE WHEN t2.intDescuento = 2 THEN t2.dblDescuento END) AS Descuento1, MAX(CASE WHEN t2.intdescuento = 3 THEN t2.dblDescuento END) AS Descuento2, MAX(CASE WHEN t2.intdescuento = 4 THEN t2.dblDescuento END) AS Descuento3, MAX(CASE WHEN t2.intDescuento = 5 THEN t2.dblDescuento END) AS Descuento4, MAX(CASE WHEN t2.intDescuento = 6 THEN t2.dblDescuento END) AS Descuento5, MAX(CASE WHEN t2.intDescuento = 7 THEN t2.dblDescuento END) AS Descuento6, MAX(CASE WHEN t2.intDescuento = 8 THEN t2.dblDescuento END) AS Descuento7, MAX(CASE WHEN t3.intListaPrecio = () THEN t3.dblMargen END) AS Margen, MAX(CASE WHEN t3.intListaPrecio = () THEN t4.bitAplicaDescuento END) AS Aplica FROM (SELECT dblProducto, strProducto, intMarca, intUnidadMedida, intUnidadMedidaPromer, intCodigoProductoServicioSat, strFolioVFP, dblPrecioLista, dblDescuentoPrecioVenta, strColorDescuento, dblTasaIVA, strCodigoProveedor, intPiezasPorCaja, bitActivo, dblTipoDeCambio, intMoneda, strCodigoPromer, bitBloquearProductosFraccion FROM tblCatProducto t1 WHERE bitactivo = 1 AND strProducto NOT LIKE ***% AND bitBloquerarProductosSinCargo = 0 and 1=0 ) t1 LEFT JOIN tblCatProductoDescuento t2 ON t1.dblProducto = t2.dblProducto LEFT JOIN tblCatProductoListaPrecio t3 ON t1.dblProducto = t3.dblProducto LEFT JOIN tblCatListaPrecio t4 ON t3.intListaPrecio = t4.intListaPrecio GROUP BY t1.dblProducto) AS tabla1) AS tablaa2) AS tabla3) t5 ON t1.dblProducto = t5.dblProducto WHERE bitactivo = 1 AND strProducto NOT LIKE ***% and 1=0 ORDER BY t1.strProducto ASC", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" ) ", "/promeradmin/SeleccionProducto.php", "", "2024-04-20 03:24:11", "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)", "There is no active transaction" )
no estaba en transacci髇
COD. PROMER DESCRIPCION
IMAGEN
UNIDAD
PRECIO S/ IVA
PRECIO C/IVA
CANTIDAD