141 lines
4.1 KiB
Markdown
141 lines
4.1 KiB
Markdown
# ESTADO DEL PROYECTO - ERP Construcción
|
|
|
|
**Proyecto:** ERP Construcción (Proyecto Independiente)
|
|
**Estado:** 🚧 En desarrollo
|
|
**Progreso:** 35%
|
|
**Última actualización:** 2025-12-08
|
|
|
|
---
|
|
|
|
## 📊 RESUMEN EJECUTIVO
|
|
|
|
| Área | Implementado | Documentado | Estado |
|
|
|------|-------------|-------------|--------|
|
|
| **DDL/Schemas** | 3 schemas, 33 tablas | 7 schemas, 65 tablas | 50% |
|
|
| **Backend** | 4 módulos, 11 entidades | 18 módulos | 22% |
|
|
| **Frontend** | Estructura base | 18 módulos | 5% |
|
|
| **Documentación** | - | 449 archivos MD | 100% |
|
|
|
|
---
|
|
|
|
## 🗄️ BASE DE DATOS
|
|
|
|
### Schemas Implementados (DDL)
|
|
| Schema | Tablas | ENUMs | Archivo DDL |
|
|
|--------|--------|-------|-------------|
|
|
| `construction` | 2 | - | `01-construction-schema-ddl.sql` |
|
|
| `hr` | 3 | - | `02-hr-schema-ddl.sql` |
|
|
| `hse` | 28 | 67 | `03-hse-schema-ddl.sql` |
|
|
| **Total** | **33** | **67** | |
|
|
|
|
### Schemas Pendientes de Implementar
|
|
- `estimates` - Presupuestos y estimaciones (8 tablas documentadas)
|
|
- `infonavit` - Integración INFONAVIT (8 tablas documentadas)
|
|
- `inventory-ext` - Extensión inventario (4 tablas documentadas)
|
|
- `purchase-ext` - Extensión compras (5 tablas documentadas)
|
|
|
|
---
|
|
|
|
## 💻 BACKEND
|
|
|
|
### Módulos con Código
|
|
```
|
|
backend/src/modules/
|
|
├── construction/ ✅ Entidades + Services + Controllers
|
|
│ ├── proyecto.entity.ts
|
|
│ └── fraccionamiento.entity.ts
|
|
├── hr/ ✅ Entidades básicas
|
|
│ ├── employee.entity.ts
|
|
│ ├── puesto.entity.ts
|
|
│ └── employee-fraccionamiento.entity.ts
|
|
├── hse/ ✅ Entidades básicas
|
|
│ ├── incidente.entity.ts
|
|
│ ├── incidente-involucrado.entity.ts
|
|
│ ├── incidente-accion.entity.ts
|
|
│ └── capacitacion.entity.ts
|
|
└── core/ ✅ Base multi-tenant
|
|
├── user.entity.ts
|
|
└── tenant.entity.ts
|
|
```
|
|
|
|
### Pendientes
|
|
- 14 módulos MAI sin código backend
|
|
- 3 módulos MAE sin código backend
|
|
- Services y Controllers para hr, hse
|
|
|
|
---
|
|
|
|
## 📋 MÓDULOS (18 Total)
|
|
|
|
### Fase 1 - MAI (14 módulos)
|
|
| Código | Nombre | DDL | Backend | Docs |
|
|
|--------|--------|:---:|:-------:|:----:|
|
|
| MAI-001 | Fundamentos | - | ✅ | ✅ |
|
|
| MAI-002 | Proyectos y Estructura | ✅ | ✅ | ✅ |
|
|
| MAI-003 | Presupuestos y Costos | ⏳ | ❌ | ✅ |
|
|
| MAI-004 | Compras e Inventarios | ⏳ | ❌ | ✅ |
|
|
| MAI-005 | Control de Obra | ⏳ | ❌ | ✅ |
|
|
| MAI-006 | Reportes y Analytics | - | ❌ | ✅ |
|
|
| MAI-007 | RRHH y Asistencias | ✅ | ✅ | ✅ |
|
|
| MAI-008 | Estimaciones | ⏳ | ❌ | ✅ |
|
|
| MAI-009 | Calidad y Postventa | ⏳ | ❌ | ✅ |
|
|
| MAI-010 | CRM Derechohabientes | ⏳ | ❌ | ✅ |
|
|
| MAI-011 | INFONAVIT | ⏳ | ❌ | ✅ |
|
|
| MAI-012 | Contratos | ⏳ | ❌ | ✅ |
|
|
| MAI-013 | Administración | - | ❌ | ✅ |
|
|
| MAI-018 | Preconstrucción | ⏳ | ❌ | ✅ |
|
|
|
|
### Fase 2 - MAE (3 módulos)
|
|
| Código | Nombre | DDL | Backend | Docs |
|
|
|--------|--------|:---:|:-------:|:----:|
|
|
| MAE-014 | Finanzas y Controlling | ⏳ | ❌ | ✅ |
|
|
| MAE-015 | Activos y Maquinaria | ⏳ | ❌ | ✅ |
|
|
| MAE-016 | Gestión Documental | ⏳ | ❌ | ✅ |
|
|
|
|
### Fase 3 - MAA (1 módulo)
|
|
| Código | Nombre | DDL | Backend | Docs |
|
|
|--------|--------|:---:|:-------:|:----:|
|
|
| MAA-017 | Seguridad HSE | ✅ | ✅ | ✅ |
|
|
|
|
**Leyenda:** ✅ Implementado | ⏳ Pendiente | ❌ No iniciado | - No aplica
|
|
|
|
---
|
|
|
|
## 🎯 PRÓXIMOS PASOS
|
|
|
|
### Inmediato
|
|
1. Implementar DDL de `estimates` schema
|
|
2. Implementar DDL de `infonavit` schema
|
|
3. Completar services/controllers de `hr` y `hse`
|
|
|
|
### Corto Plazo
|
|
4. Implementar backend de MAI-003 (Presupuestos)
|
|
5. Implementar backend de MAI-005 (Control de Obra)
|
|
6. Testing de módulos existentes
|
|
|
|
---
|
|
|
|
## 📁 ARCHIVOS CLAVE
|
|
|
|
- **DDL:** `database/schemas/*.sql`
|
|
- **Backend:** `backend/src/modules/`
|
|
- **Docs:** `docs/02-definicion-modulos/`
|
|
- **Inventario:** `orchestration/inventarios/MASTER_INVENTORY.yml`
|
|
|
|
---
|
|
|
|
## 📈 MÉTRICAS
|
|
|
|
| Métrica | Valor |
|
|
|---------|-------|
|
|
| Archivos MD | 449 |
|
|
| Requerimientos (RF) | 87 |
|
|
| Especificaciones (ET) | 78 |
|
|
| User Stories | 149 |
|
|
| Story Points | 692 |
|
|
| ADRs | 12 |
|
|
|
|
---
|
|
|
|
**Última actualización:** 2025-12-08
|