Initial import of AbelBirdNest Stock
This commit is contained in:
281
docs/project-spec/walet-sprint-breakdown.md
Normal file
281
docs/project-spec/walet-sprint-breakdown.md
Normal file
@ -0,0 +1,281 @@
|
||||
# Task Breakdown Per Sprint Sistem Inventory Walet
|
||||
|
||||
## Asumsi
|
||||
- Sprint 2 minggu
|
||||
- Tim kecil sampai menengah
|
||||
- Fokus awal ke fondasi backend + frontend operasional inti
|
||||
- Target awal: MVP usable untuk pembelian, receiving, stok lot, dan penjualan sederhana
|
||||
|
||||
## Sprint 0 - Foundation Setup
|
||||
### Backend
|
||||
- setup project structure
|
||||
- setup database PostgreSQL
|
||||
- implement auth dasar
|
||||
- implement migration system
|
||||
- import schema awal
|
||||
|
||||
### Frontend
|
||||
- setup Next.js + TypeScript
|
||||
- setup UI base, app shell, routing
|
||||
- setup TanStack Query, form library, state management
|
||||
|
||||
### DevOps
|
||||
- environment dev/staging
|
||||
- seed data awal
|
||||
- lint, formatting, pre-commit
|
||||
|
||||
### Deliverables
|
||||
- repo siap kerja
|
||||
- database hidup
|
||||
- login dasar
|
||||
- layout aplikasi hidup
|
||||
|
||||
---
|
||||
|
||||
## Sprint 1 - Master Data Core
|
||||
### Backend
|
||||
- API suppliers
|
||||
- API customers
|
||||
- API item types
|
||||
- API item grades
|
||||
- API warehouses dan locations
|
||||
- API adjustment reasons
|
||||
|
||||
### Frontend
|
||||
- halaman list/create/edit master data
|
||||
- reusable form dan table
|
||||
|
||||
### QA
|
||||
- validasi CRUD master data
|
||||
|
||||
### Deliverables
|
||||
- semua master data inti bisa dikelola
|
||||
|
||||
---
|
||||
|
||||
## Sprint 2 - Purchasing
|
||||
### Backend
|
||||
- API purchases
|
||||
- API purchase lines
|
||||
- status workflow draft/submitted/cancelled
|
||||
- histori harga beli dasar
|
||||
|
||||
### Frontend
|
||||
- purchase list
|
||||
- purchase form multi-line
|
||||
- purchase detail
|
||||
|
||||
### QA
|
||||
- test multi-line purchase
|
||||
- test status pembelian
|
||||
|
||||
### Deliverables
|
||||
- user bisa membuat pembelian multi jenis-grade
|
||||
|
||||
---
|
||||
|
||||
## Sprint 3 - Receiving dan Lot Creation
|
||||
### Backend
|
||||
- API receipts
|
||||
- API receipt lines
|
||||
- generate inventory lots
|
||||
- movement ledger untuk receiving
|
||||
- print label metadata
|
||||
|
||||
### Frontend
|
||||
- receipt form
|
||||
- receipt detail
|
||||
- generate lot action
|
||||
- lot list dasar
|
||||
|
||||
### QA
|
||||
- test qty ordered vs received
|
||||
- test lot terbentuk benar
|
||||
|
||||
### Deliverables
|
||||
- barang bisa diterima dan jadi lot
|
||||
|
||||
---
|
||||
|
||||
## Sprint 4 - Inventory Lot Management
|
||||
### Backend
|
||||
- API lot detail
|
||||
- API lot movement history
|
||||
- API hold/release
|
||||
- API transfer lot
|
||||
- stock summary endpoint
|
||||
|
||||
### Frontend
|
||||
- stock summary page
|
||||
- stock lot list
|
||||
- lot detail
|
||||
- transfer/hold action
|
||||
|
||||
### QA
|
||||
- test trace lot dasar
|
||||
- test lot status
|
||||
|
||||
### Deliverables
|
||||
- user bisa melihat dan mengelola lot
|
||||
|
||||
---
|
||||
|
||||
## Sprint 5 - Sales dan Allocation
|
||||
### Backend
|
||||
- API sales
|
||||
- API sales lines
|
||||
- API manual allocation
|
||||
- API auto allocation FIFO
|
||||
- costing by allocation
|
||||
- movement ledger untuk sales out
|
||||
|
||||
### Frontend
|
||||
- sales form
|
||||
- allocation screen
|
||||
- sales detail
|
||||
- costing preview
|
||||
|
||||
### QA
|
||||
- test sales dari satu lot
|
||||
- test sales dari banyak lot
|
||||
- test costing total
|
||||
|
||||
### Deliverables
|
||||
- penjualan campuran dari beberapa lot berjalan
|
||||
|
||||
---
|
||||
|
||||
## Sprint 6 - Picking dan Barcode Lookup
|
||||
### Backend
|
||||
- API confirm picking
|
||||
- API barcode lookup
|
||||
- API print/reprint label
|
||||
|
||||
### Frontend
|
||||
- picking screen
|
||||
- QR lookup page
|
||||
- scan-to-lot workflow
|
||||
|
||||
### QA
|
||||
- test scan lot
|
||||
- test picking actual qty
|
||||
|
||||
### Deliverables
|
||||
- gudang bisa picking pakai scan
|
||||
|
||||
---
|
||||
|
||||
## Sprint 7 - Sorting, Regrade, Shrinkage
|
||||
### Backend
|
||||
- API sorting session
|
||||
- API sorting results
|
||||
- parent-child lot relation
|
||||
- API regrade
|
||||
- API stock adjustment/shrinkage
|
||||
|
||||
### Frontend
|
||||
- sorting session form
|
||||
- regrade form
|
||||
- adjustment form
|
||||
- movement timeline update
|
||||
|
||||
### QA
|
||||
- test lot pecah jadi child lots
|
||||
- test shrinkage
|
||||
- test regrade
|
||||
|
||||
### Deliverables
|
||||
- sortasi dan regrade operasional berjalan
|
||||
|
||||
---
|
||||
|
||||
## Sprint 8 - Returns dan Traceability
|
||||
### Backend
|
||||
- API sales returns
|
||||
- API purchase returns
|
||||
- traceability report endpoint
|
||||
- forward trace dan backward trace
|
||||
|
||||
### Frontend
|
||||
- return pages
|
||||
- traceability report page
|
||||
- lot usage per sales
|
||||
- sales source per lot
|
||||
|
||||
### QA
|
||||
- test trace dari sales ke supplier
|
||||
- test trace dari supplier ke customer
|
||||
|
||||
### Deliverables
|
||||
- audit traceability end-to-end hidup
|
||||
|
||||
---
|
||||
|
||||
## Sprint 9 - Reporting dan Hardening
|
||||
### Backend
|
||||
- reports stock summary
|
||||
- stock lots
|
||||
- purchases
|
||||
- sales
|
||||
- margins
|
||||
- shrinkage
|
||||
- supplier quality
|
||||
|
||||
### Frontend
|
||||
- report pages
|
||||
- export actions
|
||||
- dashboard refinement
|
||||
|
||||
### QA
|
||||
- performance testing
|
||||
- data consistency testing
|
||||
- permission testing
|
||||
|
||||
### Deliverables
|
||||
- MVP lengkap dan siap UAT
|
||||
|
||||
---
|
||||
|
||||
## Sprint 10 - UAT & Stabilization
|
||||
### Fokus
|
||||
- bug fixing
|
||||
- UX refinement
|
||||
- validasi flow riil user
|
||||
- tuning laporan dan filter
|
||||
- training material awal
|
||||
|
||||
### Deliverables
|
||||
- versi siap pilot
|
||||
|
||||
---
|
||||
|
||||
## Jalur MVP paling ringkas kalau mau dipercepat
|
||||
Kalau Pak Wira ingin versi lebih cepat, bisa ambil jalur:
|
||||
1. Sprint 0
|
||||
2. Sprint 1
|
||||
3. Sprint 2
|
||||
4. Sprint 3
|
||||
5. Sprint 4
|
||||
6. Sprint 5
|
||||
|
||||
Artinya MVP cepat sudah mencakup:
|
||||
- master data
|
||||
- purchase
|
||||
- receipt
|
||||
- lot inventory
|
||||
- stock summary
|
||||
- sales allocation
|
||||
- costing dasar
|
||||
|
||||
Sortasi, regrade, return, dan trace report advanced bisa menyusul.
|
||||
|
||||
## Rekomendasi prioritas tertinggi
|
||||
Kalau tim terbatas, jangan mulai dari laporan dulu. Prioritas paling penting:
|
||||
1. lot model benar
|
||||
2. movement ledger benar
|
||||
3. sales allocation benar
|
||||
4. costing benar
|
||||
5. baru reporting dan polish
|
||||
|
||||
## Kesimpulan
|
||||
Task breakdown ini dibuat supaya tim bisa membangun sistem walet secara bertahap tanpa kehilangan fondasi. Pusat keberhasilan ada pada lot, allocation, movement ledger, dan traceability.
|
||||
Reference in New Issue
Block a user