Atención
Se produjo un error al acceder a la base de datos.
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 'and proveedor_id IN (SELECT codigo FROM ofxx004 WHERE id <> ) ) nm_sel_esp' at line 1
select count(*) from (SELECT id, numero, version, tipo, sub_tipo, fecha, periodo, vigencia_desde, vigencia_hasta, ofxx004_id, ofgl005_codigo, cc_descripcion, concepto, cliente, cliente_nombre, proveedor_id, proveedor_nombre, moneda_trn, moneda_base, moneda_loc, tasa_cambio, condiciones_pago, terminos_despacho, ship_to, ship_via, monto_usd, monto_loc, status_general, status_facturacion, status_despacho, observaciones, vendedor_id, awb_no, unidad_negocio, userid_creacion, userid_aprobacion, userid_modificacion, fecha_creacion, fecha_aprobacion, fecha_ult_modificacion, fecha_cierre, fecha_facturacion, fecha_despacho, fecha_compromiso FROM ofpr120 WHERE ofxx004_id = and proveedor_id IN (SELECT codigo FROM ofxx004 WHERE id <> ) ) nm_sel_esp