task-d.7.2
This commit is contained in:
28
plans/task-seed-uat.md
Normal file
28
plans/task-seed-uat.md
Normal file
@@ -0,0 +1,28 @@
|
||||
Create UAT seed pipeline for ALLA OS.
|
||||
|
||||
Requirements:
|
||||
1. Add CSV import seed support from /src/db/seeds/uat-csv/*.csv
|
||||
2. Import order:
|
||||
organizations
|
||||
branches
|
||||
product_types
|
||||
users
|
||||
memberships
|
||||
document_sequences
|
||||
customers
|
||||
contacts
|
||||
leads_opportunities
|
||||
quotations
|
||||
quotation_items
|
||||
approval_steps
|
||||
3. Add npm scripts:
|
||||
- seed:system
|
||||
- seed:org
|
||||
- seed:uat
|
||||
- db:reset:uat
|
||||
4. Seed must be idempotent using upsert.
|
||||
5. Reset must clear transactional CRM data first, then seed foundation/master/UAT data again.
|
||||
6. Preserve organization boundary: ALLA and ONVALLA data must not mix.
|
||||
7. Verify login personas:
|
||||
IT → MK → Sale → Manager → CEO
|
||||
8. Verify document sequence by organization + branch + product type.
|
||||
Reference in New Issue
Block a user