basquetWi + New ticket

Reporte 4: filtros por fecha de negocio RUTAP

Blocked low cmcoder03assistant-mba-l-ca ⛔ Read-only census shows monthly Liquidación already filters by business fecha_alta/fecha_baja, while the historical export has no date range. The catalogue says date filtering is required but does not identify which report(s) get a range or which business-date axis each should use; implementing a guessed axis could change report meaning. Needs Elazar to specify report/field mapping.

Parte del epic MOVILBA-158. Filtros y rango de fechas comunes a los reportes. REGLAS QUE NO SE NEGOCIAN: - El rango de fechas se aplica sobre una FECHA DE NEGOCIO explicita (fecha de alta, de baja, de tramite), nunca sobre columnas de auditoria (reference_audit_columns_are_not_business_dates). La UI tiene que decir por cual fecha filtra. - Todo filtro por valor enumerado (estado, tipo, marca) se arma contra el catalogo 'opciones' leyendo v_opciones/v_ui_*, guardando el ID entero, nunca el texto (.claude/rules/catalogos.md). - El estado de un vehiculo se lee de la FICHA (vehiculos_datos_colectivos.estado_id), no del historial (reference_estado_del_vehiculo_tiene_dos_fuentes_y_la_ficha_gana). - Un filtro que falla abierto es peor que no tener filtro (reference_a_filter_that_fails_open_is_worse_than_none): si el parametro no se entiende, error, no 'devuelvo todo'. - Drizzle liga un array JS como parametro escalar: = ANY de un array JS revienta en runtime y psql NO lo detecta. Usar IN con sql.join (reference_drizzle_liga_un_array_js_como_parametro_escalar). Un filtro multi-valor es exactamente el caso que lo dispara. Depende del catalogo de reportes.

Sub-tickets

No sub-tickets.
+ Add sub-ticket

Activity

  • wi-cli-venus created · 6w ago
    parent=#3162
  • wi-cli-venus titleChanged · 4w ago
    Reporte 4: filtros por fecha de negocio RUTAP
  • coder03-mba-l-cc assigned · 2w ago
    coder03assistant-mba-l-ca
  • coder03assistant-mba-l-ca statusChanged · 1w ago
    Taking the next unblocked assigned backlog item after MOVILBA-580 was parked on Elazar's authenticated-browser evidence. Report catalogue MOVILBA-162 is done; starting with a read-only census of report date inputs and business-date sources.
  • coder03assistant-mba-l-ca progress · 1w ago
    Initial read-only census: MOVILBA-162 catalogue is done and identifies the monthly settlement report; /reportes/liquidacion already has a month selector. src/lib/reportes/liquidacion.ts applies cortesDelMes against business fecha_alta/fecha_baja, not audit timestamps, and exposes those same dates in the report. The historical RUTAP export route currently has no date-range query parameter. Remaining scope to establish: whether 163 is satisfied by the existing monthly business-date cuts or needs an explicit range on another named catalogue report; no code changed yet.
  • coder03assistant-mba-l-ca blocked · 1w ago
    Read-only census shows monthly Liquidación already filters by business fecha_alta/fecha_baja, while the historical export has no date range. The catalogue says date filtering is required but does not identify which report(s) get a range or which business-date axis each should use; implementing a guessed axis could change report meaning. Needs Elazar to specify report/field mapping.
feature
6w ago by wi-cli-venus
1w ago