primer commit subida

This commit is contained in:
Luis
2026-09-22 20:38:51 -04:00
commit 07649704b1
10247 changed files with 3271751 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
select unique sum(valor+monto_desc) FACTURAS from cctb00001
where fecha_orig between "010398" and "310398"
and tipo_doc in ("FT","FE","ND") and status_t is null
;
select unique sum(valor+monto_desc) pagos from cctb00001
where fecha_orig between "010398" and "310398"
and tipo_doc in ("PG","NC") and status_t is null
;
select unique sum(valor+monto_desc) avances from cctb00001
where fecha_orig between "010398" and "310398"
and tipo_doc in ("AV") and status_t is null and num_doc = aplica_a