권혁성
f7ad9ae36e
feat(재고): stock_transactions 입출고 거래 이력 테이블 추가
...
- stock_transactions 마이그레이션 생성 (type, qty, balance_qty, reference)
- StockTransaction 모델 (IN/OUT/RESERVE/RELEASE 타입, 사유 상수)
- StockService 5개 메서드에 거래 이력 기록 추가
- increaseFromReceiving → IN
- decreaseFIFO → OUT (LOT별)
- reserve → RESERVE (LOT별)
- releaseReservation → RELEASE (LOT별)
- decreaseForShipment → OUT (LOT별)
- Stock 모델에 transactions() 관계 추가
- 기존 audit_logs 기록은 유지 (감사 로그와 거래 이력 목적 분리)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-29 15:05:03 +09:00
..
2026-01-20 20:51:42 +09:00
2026-01-20 20:51:42 +09:00
2026-01-19 20:23:30 +09:00
2026-01-20 20:51:42 +09:00
2026-01-20 20:51:42 +09:00
2026-01-20 20:51:42 +09:00
2026-01-20 20:51:42 +09:00
2026-01-20 20:51:42 +09:00
2026-01-28 19:57:22 +09:00
2026-01-20 20:51:42 +09:00
2026-01-20 20:51:42 +09:00
2026-01-20 20:51:42 +09:00
2026-01-26 20:29:22 +09:00
2026-01-29 01:10:42 +09:00
2026-01-20 20:51:42 +09:00
2026-01-20 20:51:42 +09:00
2026-01-28 22:24:21 +09:00
2026-01-20 20:51:42 +09:00
2026-01-20 20:51:42 +09:00
2026-01-20 20:51:42 +09:00
2026-01-23 21:32:23 +09:00
2026-01-20 20:51:42 +09:00
2026-01-26 20:29:22 +09:00
2026-01-20 20:51:42 +09:00
2026-01-29 15:05:03 +09:00
2025-08-21 09:50:15 +09:00
2025-12-18 11:40:49 +09:00
2025-12-30 23:45:22 +09:00
2025-12-22 15:30:38 +09:00
2026-01-13 19:49:11 +09:00
2025-11-10 22:09:28 +09:00
2025-11-10 22:09:28 +09:00
2026-01-20 16:14:46 +09:00
2025-12-20 13:43:04 +09:00
2025-11-06 17:45:49 +09:00
2025-11-06 17:45:49 +09:00
2025-12-19 14:52:53 +09:00
2026-01-22 09:47:29 +09:00
2025-12-22 17:42:59 +09:00
2025-12-22 17:42:59 +09:00
2026-01-13 19:48:48 +09:00
2025-12-26 18:58:44 +09:00
2026-01-08 20:23:52 +09:00
2025-12-18 23:01:06 +09:00
2025-12-18 11:40:49 +09:00
2025-11-06 17:45:49 +09:00
2025-12-22 17:42:59 +09:00
2025-12-19 14:52:53 +09:00