Backend de erp-mecanicas-diesel - Workspace V2
Go to file
Adrian Flores Cortes 3a21a5a0fc [SPRINT-4] feat(parts-management): Implement complete PartsService business logic
- Add checkStock() with available stock calculation considering reservations
- Add reserveParts() with atomic transaction and pessimistic locking
- Add updateInventory() supporting ENTRADA, SALIDA, AJUSTE, TRANSFERENCIA
- Add calculateReorderPoint() with 90-day consumption analysis
- Add getPartCompatibility() with alternate parts lookup
- Add getLowStockParts() with criticality ranking (critical/warning/low)
- Update controller to use enhanced low-stock endpoint
- Export new DTOs: UpdateInventoryDto, ServiceContext, StockCheckResult,
  PartReservation, ReorderPointResult, PartCompatibilityResult, LowStockPart

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 02:46:00 -06:00
src [SPRINT-4] feat(parts-management): Implement complete PartsService business logic 2026-02-03 02:46:00 -06:00
.env.example Migración desde erp-mecanicas-diesel/backend - Estándar multi-repo v2 2026-01-16 08:11:24 -06:00
.gitignore chore: Add .gitignore for clean repository 2026-01-20 07:31:50 -06:00
Dockerfile Migración desde erp-mecanicas-diesel/backend - Estándar multi-repo v2 2026-01-16 08:11:24 -06:00
package-lock.json fix: Resolve TypeScript build errors 2026-01-27 07:54:42 -06:00
package.json fix: Resolve TypeScript build errors 2026-01-27 07:54:42 -06:00
README.md Initial commit 2026-01-16 14:04:56 +00:00
service.descriptor.yml Migración desde erp-mecanicas-diesel/backend - Estándar multi-repo v2 2026-01-16 08:11:24 -06:00
tsconfig.json Migración desde erp-mecanicas-diesel/backend - Estándar multi-repo v2 2026-01-16 08:11:24 -06:00

erp-mecanicas-diesel-backend-v2

Backend de erp-mecanicas-diesel - Workspace V2