Lizandro Guarnizo and Claude Sonnet 4.6
9dd234e124
debug: add /debug-fb/facturas endpoint to search by NUM_FACTURA range
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-07-28 16:13:02 -05:00
Lizandro Guarnizo and Claude Sonnet 4.6
29ab01e729
debug: add /debug-fb/preview-ventas GET endpoint to trace filter logic
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-07-28 15:29:05 -05:00
Lizandro Guarnizo and Claude Sonnet 4.6
0e837e4a2d
debug: run actual _SQL_VENTAS query in /debug-fb/cmxc to compare
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-07-28 15:26:54 -05:00
Lizandro Guarnizo and Claude Sonnet 4.6
9e6f1171c6
debug: show SQLite contratos excluir_ventas state in /debug-fb/cmxc
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-07-28 15:25:16 -05:00
Lizandro Guarnizo and Claude Sonnet 4.6
27b15b184c
debug: add /debug-fb/cmxc endpoint for direct Firebird CMXC query
...
Shows IDRECEPCION, PREFIJO, NUM_FACTURA, CODCONTRATO, N_EXAMENES
for all CMXC receptions on a given date.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-07-28 15:21:32 -05:00
Lizandro Guarnizo and Claude Sonnet 4.6
7aa02fe6ac
fix: update /debug-fb/recepcion to show all columns and empresa tables
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-07-18 14:51:07 -05:00
Lizandro Guarnizo and Claude Sonnet 4.6
85ae3a0b3e
feat: add /debug-fb/tarifas endpoint to explore price tables in Firebird
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-07-18 14:29:43 -05:00
Lizandro Guarnizo
b65fdf0d9c
fix: use uppercase column names for Firebird alias in diagnosticos query
2026-07-17 10:19:04 -05:00
Lizandro Guarnizo
e185095e28
fix: use raw RDB$FIELD_NAME key instead of alias for Firebird metadata query
2026-07-17 10:18:10 -05:00
Lizandro Guarnizo and Claude Sonnet 4.6
6235b1539c
feat: add /debug-fb/diagnosticos endpoint to list CIE-10 from Firebird
...
Supports ?q=filter and ?limit=N. Returns total count, column names,
and list of {cod, concepto} rows — used to plan DIAGNOSTICO migration.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-07-17 10:11:44 -05:00
Lizandro Guarnizo and Claude Sonnet 4.6
37c4124559
debug: add /debug-fb/recepcion diagnostic endpoint
...
Shows recent recepciones without filters, CURRENT_DATE from Firebird,
and counts with/without NUM_FACTURA filter to diagnose zero-result sync.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-07-16 21:43:40 -05:00
Lizandro Guarnizo and Claude Sonnet 4.6
b22b47a1e1
debug: search 903967 across all candidate tables
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-07-01 12:34:50 -05:00
Lizandro Guarnizo and Claude Sonnet 4.6
fb81ddf263
debug: search PROTOCOLO table and all CUP fields system-wide
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-07-01 12:32:27 -05:00
Lizandro Guarnizo and Claude Sonnet 4.6
942d68b75d
debug: catch all exceptions and return traceback as JSON
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-07-01 12:31:24 -05:00
Lizandro Guarnizo and Claude Sonnet 4.6
bc5fc36a5d
debug: explore RELACION_HIMS table for CUPS_REF field
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-07-01 12:30:12 -05:00
Lizandro Guarnizo and Claude Sonnet 4.6
d95e2b67ff
debug: probe possible ITEM join fields, show first row without join
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-07-01 12:27:44 -05:00
Lizandro Guarnizo and Claude Sonnet 4.6
b4748e34d8
debug: minimal endpoint - only ITEM columns and sample row
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-07-01 12:25:20 -05:00
Lizandro Guarnizo and Claude Sonnet 4.6
e6d0b74992
debug: show ITEM columns and first row to find join key
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-07-01 12:22:35 -05:00
Lizandro Guarnizo and Claude Sonnet 4.6
9aa04307c6
debug: query ITEM table columns and CUPS_DETALLE samples
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-07-01 12:15:33 -05:00
Lizandro Guarnizo and Claude Sonnet 4.6
44af9680f2
fix: add LIKE %CUP% search across all tables in debug endpoint
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-07-01 12:14:21 -05:00
Lizandro Guarnizo and Claude Sonnet 4.6
0896e14e62
fix: simplify debug cups endpoint to avoid Firebird CONTAINING error
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-07-01 12:13:30 -05:00
Lizandro Guarnizo and Claude Sonnet 4.6
8b2f8eb3be
fix: add rel.DESCUENTO to all SQL queries; update debug endpoint with discount check
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-07-01 12:11:00 -05:00
Lizandro Guarnizo and Claude Sonnet 4.6
8732db9c1f
fix: use Firebird PREFIJO as codigoPrefijo; add debug endpoint to find CUPs field
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-07-01 12:07:43 -05:00