1
0
Fork 0
mirror of https://github.com/s-frick/effigenix.git synced 2026-03-28 10:39:35 +01:00
effigenix/backend/docs
Sebastian Frick 0b49bb2977 feat(inventory): Bestand reservieren mit FEFO-Allokation (#12)
Implementiert Story 4.1: Reservierung von Beständen mit automatischer
FEFO-Allokation (First-Expired-First-Out) über verfügbare Chargen.

Domain: Reservation-Entity, StockBatchAllocation, ReservationDraft,
FEFO-Logik in Stock.reserve(), availableQuantity() berücksichtigt
bestehende Allokationen. Neue Error-Varianten für InsufficientStock,
InvalidReferenceType, InvalidReservationPriority, ReservationNotFound.

API: POST /api/inventory/stocks/{stockId}/reservations → 201 Created.
Liquibase: reservations + stock_batch_allocations Tabellen mit FK- und
CHECK-Constraints.

Tests: 43 neue Tests (22 Domain, 10 UseCase, 11 Integration) für
FEFO-Logik, Validierung, Mengenprüfung, Auth und Edge Cases.
2026-02-24 00:18:51 +01:00
..
mvp feat(inventory): Bestand reservieren mit FEFO-Allokation (#12) 2026-02-24 00:18:51 +01:00
tickets fix(inventory): Audit-Logging, testbare Zeitlogik und defensive Null-Prüfung für blockBatch/unblockBatch 2026-02-20 00:17:03 +01:00
MASTERDATA_MANUAL_TESTS.md docs: manuelle Testfälle für Inventory und Production BC ergänzen 2026-02-20 16:40:39 +01:00
QUICK_START.md refactor: EntityDraft-Pattern auf Customer, Article und ProductCategory anwenden 2026-02-18 11:56:33 +01:00
USER_MANAGEMENT.md refactor: restructure repository with separate backend and frontend directories 2026-02-17 22:08:51 +01:00