- Created TASK-2026-01-25-DOCUMENTACION-MODULOS task - Created DATABASE_INVENTORY.yml (8 schemas, ~98 tables) - Created BACKEND_INVENTORY.yml (153 entities, 23 modules) - Created PROXIMA-ACCION.md with current status - Documented 11 new entities (combustible-gastos, tarifas-transporte) - Documented 5 new controllers Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
150 lines
4.3 KiB
Markdown
150 lines
4.3 KiB
Markdown
# PROXIMA-ACCION.md - ERP Transportistas
|
|
|
|
**Ultima Actualizacion:** 2026-01-25
|
|
**Sistema:** SIMCO v4.0.0
|
|
**Estado del Proyecto:** 45% completado | DDL 100% | Backend 40%
|
|
|
|
---
|
|
|
|
## Estado Actual (2026-01-25)
|
|
|
|
### Progreso General
|
|
|
|
| Capa | Progreso | Notas |
|
|
|------|----------|-------|
|
|
| DDL | 100% | 8 schemas especializados transporte |
|
|
| Backend | 40% | 153 entities (95 heredadas + 11 nuevas especializadas) |
|
|
| Frontend | 0% | Pendiente |
|
|
| Documentacion | 30% | Requerimientos definidos, falta especificaciones modulos |
|
|
|
|
### Entidades Nuevas Creadas (2026-01-25)
|
|
|
|
**Modulo: combustible-gastos (MAI-012)**
|
|
- `carga-combustible.entity.ts` - Cargas de combustible
|
|
- `cruce-peaje.entity.ts` - Cruces de peaje
|
|
- `gasto-viaje.entity.ts` - Gastos de viaje
|
|
- `anticipo-viatico.entity.ts` - Anticipos viaticos
|
|
- `control-rendimiento.entity.ts` - Control de rendimiento
|
|
|
|
**Modulo: tarifas-transporte (MAI-009)**
|
|
- `lane.entity.ts` - Lanes/rutas de transporte
|
|
- `tarifa.entity.ts` - Tarifas por lane
|
|
- `recargo-catalogo.entity.ts` - Catalogo de recargos
|
|
- `factura-transporte.entity.ts` - Facturas de transporte
|
|
- `linea-factura.entity.ts` - Lineas de factura
|
|
- `fuel-surcharge.entity.ts` - Recargo por combustible
|
|
|
|
### Controladores Nuevos Creados (2026-01-25)
|
|
|
|
- `operadores.controller.ts` (gestion-flota)
|
|
- `unidades.controller.ts` (gestion-flota)
|
|
- `ordenes-transporte.controller.ts` (ordenes-transporte)
|
|
- `tracking.controller.ts` (tracking)
|
|
- `viajes.controller.ts` (viajes)
|
|
|
|
---
|
|
|
|
## Tareas Completadas
|
|
|
|
### TASK-2026-01-25-001-CREAR-PROYECTO
|
|
- Estructura de carpetas creada
|
|
- CLAUDE.md con especificaciones del giro
|
|
- Documentacion de requerimientos (REQ-GIRO-TRANSPORTISTA.md)
|
|
- Registro en SUBMODULES-INVENTORY.yml
|
|
- **Commit:** 2026-01-25
|
|
|
|
### TASK-2026-01-25-DOCUMENTACION-MODULOS (En Progreso)
|
|
- DATABASE_INVENTORY.yml creado
|
|
- BACKEND_INVENTORY.yml creado
|
|
- PROXIMA-ACCION.md actualizado
|
|
|
|
---
|
|
|
|
## Proximas Acciones
|
|
|
|
### P0 - Inmediato
|
|
|
|
1. **Completar servicios para entidades nuevas**
|
|
- combustible-gastos: crear services y DTOs
|
|
- tarifas-transporte: crear services y DTOs
|
|
- Estimacion: 4-6 horas
|
|
|
|
2. **Crear especificaciones de modulos prioritarios**
|
|
- MAI-003: Ordenes de Transporte
|
|
- MAI-006: Tracking
|
|
- MAI-009: Facturacion Transporte
|
|
- MAI-011: Gestion de Flota
|
|
- MAE-016: Carta Porte CFDI
|
|
|
|
### P1 - Corto Plazo
|
|
|
|
3. **Implementar modulo Carta Porte CFDI 3.1**
|
|
- Entidades para complemento fiscal
|
|
- Integracion con PAC
|
|
- Generacion XML/PDF
|
|
|
|
4. **Implementar frontend base**
|
|
- Dashboard transportista
|
|
- Gestion de flota
|
|
- Tracking de viajes
|
|
|
|
### P2 - Mediano Plazo
|
|
|
|
5. **Integracion con GPS/Telematica**
|
|
6. **Portal de clientes**
|
|
7. **App movil para operadores**
|
|
|
|
---
|
|
|
|
## Modulos del Sistema
|
|
|
|
### Fase 1 - MAI (Inicial)
|
|
|
|
| Codigo | Nombre | DDL | Backend | Frontend |
|
|
|--------|--------|:---:|:-------:|:--------:|
|
|
| MAI-001 | Fundamentos | - | 100% | - |
|
|
| MAI-002 | Clientes y Tarifas | - | 0% | - |
|
|
| MAI-003 | Ordenes de Transporte | 100% | 40% | 0% |
|
|
| MAI-004 | Planeacion TMS | 100% | 0% | 0% |
|
|
| MAI-005 | Despacho | 100% | 0% | 0% |
|
|
| MAI-006 | Tracking | 100% | 20% | 0% |
|
|
| MAI-007 | POD y Cierre | 100% | 0% | 0% |
|
|
| MAI-008 | Incidencias | 100% | 0% | 0% |
|
|
| MAI-009 | Facturacion Transporte | 100% | 30% | 0% |
|
|
| MAI-010 | Liquidaciones | 100% | 0% | 0% |
|
|
| MAI-011 | Gestion de Flota | 100% | 40% | 0% |
|
|
| MAI-012 | Combustible y Gastos | 100% | 50% | 0% |
|
|
| MAI-013 | Mantenimiento Flota | 100% | 0% | 0% |
|
|
| MAI-014 | Carriers (Terceros) | 100% | 0% | 0% |
|
|
| MAI-015 | Portal Cliente | 100% | 0% | 0% |
|
|
|
|
### Fase 2 - MAE (Extendido)
|
|
|
|
| Codigo | Nombre | DDL | Backend | Frontend |
|
|
|--------|--------|:---:|:-------:|:--------:|
|
|
| MAE-016 | Carta Porte CFDI | 100% | 0% | 0% |
|
|
| MAE-017 | HOS y Bitacora | 100% | 0% | 0% |
|
|
| MAE-018 | Reportes y KPIs | 100% | 0% | 0% |
|
|
|
|
### Fase 3 - MAA (Avanzado)
|
|
|
|
| Codigo | Nombre | DDL | Backend | Frontend |
|
|
|--------|--------|:---:|:-------:|:--------:|
|
|
| MAA-019 | Optimizacion Rutas | - | 0% | 0% |
|
|
| MAA-020 | Integraciones EDI | - | 0% | 0% |
|
|
|
|
---
|
|
|
|
## Referencias
|
|
|
|
| Recurso | Ubicacion |
|
|
|---------|-----------|
|
|
| Inventario BD | `orchestration/inventarios/DATABASE_INVENTORY.yml` |
|
|
| Inventario Backend | `orchestration/inventarios/BACKEND_INVENTORY.yml` |
|
|
| Requerimientos | `docs/03-requerimientos/REQ-GIRO-TRANSPORTISTA.md` |
|
|
| CLAUDE.md | `CLAUDE.md` |
|
|
|
|
---
|
|
|
|
*Sistema SIMCO v4.0.0 - ERP Transportistas*
|