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 status_general = 5 and moneda_trn = '' AND (oftm140_id = OR oftm140_id = 0)' at line 1
select count(*), sum(monto_neto_usd), sum(monto_neto_loc) from ofpr140 where (ofxx004_id = AND status_general = 5 and moneda_trn = '' AND (oftm140_id = OR oftm140_id = 0))