task-d.7.10
This commit is contained in:
31
setup/golden-dataset/README.md
Normal file
31
setup/golden-dataset/README.md
Normal file
@@ -0,0 +1,31 @@
|
||||
# ALLA OS Setup Golden Dataset
|
||||
|
||||
This dataset is the canonical setup fixture for development, CI contract checks, QA, UAT, customer demo, and regression testing.
|
||||
|
||||
It mirrors the official setup template registry and is intentionally safe sample data.
|
||||
|
||||
## Dataset Summary
|
||||
|
||||
- Organizations: `ALLA`, `ONVALLA`
|
||||
- Users: IT, Marketing, Sales, Sales Manager, CEO
|
||||
- Customers: 10
|
||||
- Contacts: 20
|
||||
- Leads: 20
|
||||
- Opportunities: 15
|
||||
- Quotations: 20
|
||||
- Branches: 3
|
||||
- Product types: 3
|
||||
- Quotation statuses include draft, pending approval, approved, rejected, and revision.
|
||||
|
||||
## Workflow
|
||||
|
||||
1. Apply migrations.
|
||||
2. Run setup readiness.
|
||||
3. Start setup run.
|
||||
4. Preview all CSV files in this directory.
|
||||
5. Commit with the returned `previewHash`.
|
||||
6. Run verification.
|
||||
7. Complete setup.
|
||||
8. Use reset preview APIs for maintenance tests.
|
||||
|
||||
Do not edit headers manually. Headers must remain identical to `setup/templates/*.csv`.
|
||||
3
setup/golden-dataset/approval-matrix.csv
Normal file
3
setup/golden-dataset/approval-matrix.csv
Normal file
@@ -0,0 +1,3 @@
|
||||
organization_code,entity_type,workflow_code,branch_code,product_type_code,min_amount,max_amount,currency,priority,is_default,is_active,description
|
||||
ALLA,quotation,quotation_standard,head_office,crane,0,5000000,THB,100,true,true,Default crane approval
|
||||
ALLA,quotation,quotation_standard,eastern,hoist,0,3000000,THB,90,false,true,Eastern hoist approval
|
||||
|
3
setup/golden-dataset/approval-steps.csv
Normal file
3
setup/golden-dataset/approval-steps.csv
Normal file
@@ -0,0 +1,3 @@
|
||||
organization_code,workflow_code,step_number,role_code,role_name,approval_mode,is_required,sla_hours,calendar_mode,timeout_action
|
||||
ALLA,quotation_standard,1,sales_manager,Sales Manager,sequential,true,24,calendar_days,none
|
||||
ALLA,quotation_standard,2,ceo,Chief Executive Officer,sequential,true,48,calendar_days,none
|
||||
|
2
setup/golden-dataset/approval-workflows.csv
Normal file
2
setup/golden-dataset/approval-workflows.csv
Normal file
@@ -0,0 +1,2 @@
|
||||
organization_code,workflow_code,workflow_name,entity_type,description,is_system,is_active
|
||||
ALLA,quotation_standard,Quotation Standard Approval,quotation,Default quotation approval,false,true
|
||||
|
4
setup/golden-dataset/branches.csv
Normal file
4
setup/golden-dataset/branches.csv
Normal file
@@ -0,0 +1,4 @@
|
||||
organization_code,branch_code,branch_name,prefix,address,tax_id,phone,email,sort_order,is_active
|
||||
ALLA,head_office,Head Office,HO,99/9 Rama IX Road Bangkok,0107558000393,02-000-0000,head.office@example.com,1,true
|
||||
ALLA,eastern,Eastern Branch,ES,55/5 Chonburi Industrial Estate,0107558000393,038-000-000,eastern@example.com,2,true
|
||||
ALLA,northern,Northern Branch,NO,44/4 Chiang Mai Road,0107558000393,053-000-000,northern@example.com,3,true
|
||||
|
6
setup/golden-dataset/contact-shares.csv
Normal file
6
setup/golden-dataset/contact-shares.csv
Normal file
@@ -0,0 +1,6 @@
|
||||
organization_code,customer_code,contact_email,shared_to_user_email,shared_by_user_email,remark,is_active
|
||||
ALLA,CUS-001,anan@siam.example,sales.uat@example.com,admin@example.com,Golden share,true
|
||||
ALLA,CUS-002,chai@metro.example,sales.uat@example.com,admin@example.com,Golden share,true
|
||||
ALLA,CUS-003,ekk@north.example,manager.uat@example.com,admin@example.com,Golden share,true
|
||||
ALLA,CUS-004,golf@easternsteel.example,sales.uat@example.com,admin@example.com,Golden share,true
|
||||
ALLA,CUS-005,itt@central-log.example,sales.uat@example.com,admin@example.com,Golden share,true
|
||||
|
21
setup/golden-dataset/contacts.csv
Normal file
21
setup/golden-dataset/contacts.csv
Normal file
@@ -0,0 +1,21 @@
|
||||
organization_code,customer_code,contact_name,created_by_email,position,department,phone,mobile,email,is_primary,notes,is_active
|
||||
ALLA,CUS-001,Anan Sales,admin@example.com,Procurement Manager,Procurement,02-000-1001,081-000-0001,anan@siam.example,true,Primary contact,true
|
||||
ALLA,CUS-001,Ben Engineer,admin@example.com,Plant Engineer,Engineering,02-000-1002,081-000-0002,ben@siam.example,false,Technical contact,true
|
||||
ALLA,CUS-002,Chai Manager,admin@example.com,Project Manager,Project,02-000-1003,081-000-0003,chai@metro.example,true,Primary contact,true
|
||||
ALLA,CUS-002,Dara QS,admin@example.com,QS,Commercial,02-000-1004,081-000-0004,dara@metro.example,false,Commercial contact,true
|
||||
ALLA,CUS-003,Ekk Designer,admin@example.com,Designer,Design,02-000-1005,081-000-0005,ekk@north.example,true,Primary contact,true
|
||||
ALLA,CUS-003,Fon Architect,admin@example.com,Architect,Design,02-000-1006,081-000-0006,fon@north.example,false,Design contact,true
|
||||
ALLA,CUS-004,Golf Ops,admin@example.com,Operations Manager,Operations,02-000-1007,081-000-0007,golf@easternsteel.example,true,Primary contact,true
|
||||
ALLA,CUS-004,Hana Buyer,admin@example.com,Buyer,Procurement,02-000-1008,081-000-0008,hana@easternsteel.example,false,Buyer contact,true
|
||||
ALLA,CUS-005,Itt Logistics,admin@example.com,Logistics Manager,Logistics,02-000-1009,081-000-0009,itt@central-log.example,true,Primary contact,true
|
||||
ALLA,CUS-005,Jin Warehouse,admin@example.com,Warehouse Lead,Warehouse,02-000-1010,081-000-0010,jin@central-log.example,false,Warehouse contact,true
|
||||
ALLA,CUS-006,Kai Site,admin@example.com,Site Manager,Project,02-000-1011,081-000-0011,kai@harbor.example,true,Primary contact,true
|
||||
ALLA,CUS-006,Lek Admin,admin@example.com,Admin,Administration,02-000-1012,081-000-0012,lek@harbor.example,false,Admin contact,true
|
||||
ALLA,CUS-007,Mai Plant,admin@example.com,Plant Manager,Production,02-000-1013,081-000-0013,mai@peakfoods.example,true,Primary contact,true
|
||||
ALLA,CUS-007,Nok Maintenance,admin@example.com,Maintenance,Engineering,02-000-1014,081-000-0014,nok@peakfoods.example,false,Maintenance contact,true
|
||||
ALLA,CUS-008,Oat Packaging,admin@example.com,Factory Manager,Factory,02-000-1015,081-000-0015,oat@riverpack.example,true,Primary contact,true
|
||||
ALLA,CUS-008,Pim Buyer,admin@example.com,Buyer,Procurement,02-000-1016,081-000-0016,pim@riverpack.example,false,Buyer contact,true
|
||||
ALLA,CUS-009,Q Auto,admin@example.com,Production Manager,Production,02-000-1017,081-000-0017,q@summitauto.example,true,Primary contact,true
|
||||
ALLA,CUS-009,Rin Engineer,admin@example.com,Engineer,Engineering,02-000-1018,081-000-0018,rin@summitauto.example,false,Engineer contact,true
|
||||
ALLA,CUS-010,Som Developer,admin@example.com,Development Manager,Development,02-000-1019,081-000-0019,som@urban.example,true,Primary contact,true
|
||||
ALLA,CUS-010,Tan Project,admin@example.com,Project Coordinator,Project,02-000-1020,081-000-0020,tan@urban.example,false,Project contact,true
|
||||
|
6
setup/golden-dataset/crm-role-assignments.csv
Normal file
6
setup/golden-dataset/crm-role-assignments.csv
Normal file
@@ -0,0 +1,6 @@
|
||||
organization_code,user_email,crm_role_code,is_primary,branch_scope_mode,branch_codes,product_type_scope_mode,product_type_codes,is_active
|
||||
ALLA,admin@example.com,crm_admin,true,all,,all,,true
|
||||
ALLA,mk.uat@example.com,marketing,true,selected,head_office,selected,crane|hoist,true
|
||||
ALLA,sales.uat@example.com,sales,true,selected,head_office|eastern,selected,crane|hoist,true
|
||||
ALLA,manager.uat@example.com,sales_manager,true,all,,all,,true
|
||||
ALLA,ceo.uat@example.com,ceo,true,all,,all,,true
|
||||
|
11
setup/golden-dataset/customers.csv
Normal file
11
setup/golden-dataset/customers.csv
Normal file
@@ -0,0 +1,11 @@
|
||||
organization_code,customer_code,customer_name,customer_type,customer_status,created_by_email,branch_code,abbr,tax_id,address,province,district,sub_district,postal_code,country,phone,fax,email,website,lead_channel,customer_group,customer_sub_group,owner_user_email,notes,is_active
|
||||
ALLA,CUS-001,Siam Factory,end_customer,active,admin@example.com,head_office,SF,0105559000001,1 Factory Road,Bangkok,Bang Kapi,Hua Mak,10240,TH,02-100-0001,,contact@siam.example,https://siam.example,website,industrial,factory,sales.uat@example.com,Golden customer 1,true
|
||||
ALLA,CUS-002,Metro Contractor,contractor,active,admin@example.com,eastern,MC,0105559000002,2 Contractor Road,Chonburi,Mueang,Saen Suk,20000,TH,02-100-0002,,contact@metro.example,https://metro.example,referral,industrial,factory,sales.uat@example.com,Golden customer 2,true
|
||||
ALLA,CUS-003,North Design,consultant,prospect,admin@example.com,northern,ND,0105559000003,3 Design Road,Chiang Mai,Mueang,Suthep,50200,TH,02-100-0003,,contact@north.example,https://north.example,event,industrial,factory,manager.uat@example.com,Golden customer 3,true
|
||||
ALLA,CUS-004,Eastern Steel,end_customer,active,admin@example.com,eastern,ES,0105559000004,4 Steel Road,Rayong,Mueang,Noen Phra,21000,TH,02-100-0004,,contact@easternsteel.example,https://easternsteel.example,website,industrial,factory,sales.uat@example.com,Golden customer 4,true
|
||||
ALLA,CUS-005,Central Logistics,end_customer,active,admin@example.com,head_office,CL,0105559000005,5 Logistics Road,Bangkok,Lat Krabang,Lat Krabang,10520,TH,02-100-0005,,contact@central-log.example,https://central-log.example,referral,industrial,factory,sales.uat@example.com,Golden customer 5,true
|
||||
ALLA,CUS-006,Harbor Engineering,contractor,prospect,admin@example.com,eastern,HE,0105559000006,6 Harbor Road,Chonburi,Sriracha,Sriracha,20110,TH,02-100-0006,,contact@harbor.example,https://harbor.example,event,industrial,factory,manager.uat@example.com,Golden customer 6,true
|
||||
ALLA,CUS-007,Peak Foods,end_customer,active,admin@example.com,northern,PF,0105559000007,7 Food Road,Lamphun,Mueang,Nai Mueang,51000,TH,02-100-0007,,contact@peakfoods.example,https://peakfoods.example,website,industrial,factory,sales.uat@example.com,Golden customer 7,true
|
||||
ALLA,CUS-008,River Packaging,end_customer,active,admin@example.com,head_office,RP,0105559000008,8 Packaging Road,Pathum Thani,Khlong Luang,Khlong Nueng,12120,TH,02-100-0008,,contact@riverpack.example,https://riverpack.example,referral,industrial,factory,sales.uat@example.com,Golden customer 8,true
|
||||
ALLA,CUS-009,Summit Auto,end_customer,active,admin@example.com,eastern,SA,0105559000009,9 Auto Road,Chachoengsao,Bang Pakong,Bang Pakong,24130,TH,02-100-0009,,contact@summitauto.example,https://summitauto.example,event,industrial,factory,manager.uat@example.com,Golden customer 9,true
|
||||
ALLA,CUS-010,Urban Developer,contractor,prospect,admin@example.com,head_office,UD,0105559000010,10 Tower Road,Bangkok,Pathum Wan,Lumphini,10330,TH,02-100-0010,,contact@urban.example,https://urban.example,website,industrial,factory,sales.uat@example.com,Golden customer 10,true
|
||||
|
55
setup/golden-dataset/dataset.json
Normal file
55
setup/golden-dataset/dataset.json
Normal file
@@ -0,0 +1,55 @@
|
||||
{
|
||||
"name": "alla-os-setup-golden-dataset",
|
||||
"version": "1.0.0",
|
||||
"generatedFrom": "plans/task-d.7.10.md",
|
||||
"templateRegistry": "setup/templates/templates.json",
|
||||
"description": "Canonical ALLA OS setup dataset for development, CI contract checks, QA, UAT, demos, and regression testing.",
|
||||
"organizations": ["ALLA", "ONVALLA"],
|
||||
"counts": {
|
||||
"organizations": 2,
|
||||
"users": 5,
|
||||
"customers": 10,
|
||||
"contacts": 20,
|
||||
"leads": 20,
|
||||
"opportunities": 15,
|
||||
"quotations": 20,
|
||||
"branches": 3,
|
||||
"productTypes": 3
|
||||
},
|
||||
"workflow": [
|
||||
"migration",
|
||||
"readiness",
|
||||
"template_registry",
|
||||
"preview",
|
||||
"commit",
|
||||
"verification",
|
||||
"manifest",
|
||||
"resume",
|
||||
"reset"
|
||||
],
|
||||
"expectedQuotationStatuses": ["draft", "pending_approval", "approved", "rejected", "revision"],
|
||||
"files": [
|
||||
"users.csv",
|
||||
"organizations.csv",
|
||||
"memberships.csv",
|
||||
"crm-role-assignments.csv",
|
||||
"master-options.csv",
|
||||
"branches.csv",
|
||||
"product-types.csv",
|
||||
"document-sequences.csv",
|
||||
"approval-workflows.csv",
|
||||
"approval-steps.csv",
|
||||
"approval-matrix.csv",
|
||||
"customers.csv",
|
||||
"contacts.csv",
|
||||
"contact-shares.csv",
|
||||
"leads.csv",
|
||||
"opportunities.csv",
|
||||
"opportunity-parties.csv",
|
||||
"quotations.csv",
|
||||
"quotation-items.csv",
|
||||
"quotation-parties.csv",
|
||||
"quotation-topics.csv",
|
||||
"quotation-topic-items.csv"
|
||||
]
|
||||
}
|
||||
5
setup/golden-dataset/document-sequences.csv
Normal file
5
setup/golden-dataset/document-sequences.csv
Normal file
@@ -0,0 +1,5 @@
|
||||
organization_code,branch_code,product_type_code,document_type,prefix,period,current_number,padding_length,format,reset_policy,is_active
|
||||
ALLA,head_office,crane,customer,CUS,yearly,0,4,{prefix}-{yyyy}-{running},yearly,true
|
||||
ALLA,head_office,crane,lead,LD,yearly,0,4,{prefix}-{yyyy}-{running},yearly,true
|
||||
ALLA,head_office,crane,opportunity,OP,yearly,0,4,{prefix}-{yyyy}-{running},yearly,true
|
||||
ALLA,head_office,crane,quotation,QT-HO-CR,monthly,0,4,{prefix}-{yy}{MM}-{running},monthly,true
|
||||
|
21
setup/golden-dataset/leads.csv
Normal file
21
setup/golden-dataset/leads.csv
Normal file
@@ -0,0 +1,21 @@
|
||||
organization_code,lead_code,status,created_by_email,branch_code,customer_code,contact_email,description,project_name,project_location,lead_channel,product_type_code,priority,estimated_value,awareness_code,followup_status,lost_reason,outcome,owner_marketing_user_email,assigned_sales_owner_email,assignment_remark
|
||||
ALLA,LD-001,new,mk.uat@example.com,head_office,CUS-001,anan@siam.example,Crane inquiry,Plant crane upgrade,Bangkok,website,crane,high,1200000,website,new,,,mk.uat@example.com,sales.uat@example.com,Assigned from golden dataset
|
||||
ALLA,LD-002,contacted,mk.uat@example.com,eastern,CUS-002,chai@metro.example,Hoist inquiry,Warehouse hoist,Chonburi,referral,hoist,medium,450000,referral,contacted,,,mk.uat@example.com,sales.uat@example.com,Assigned
|
||||
ALLA,LD-003,new,mk.uat@example.com,northern,CUS-003,ekk@north.example,Service inquiry,Maintenance plan,Chiang Mai,event,service,medium,150000,event,new,,,mk.uat@example.com,manager.uat@example.com,Assigned
|
||||
ALLA,LD-004,new,mk.uat@example.com,eastern,CUS-004,golf@easternsteel.example,Crane expansion,Steel bay crane,Rayong,website,crane,high,2200000,website,new,,,mk.uat@example.com,sales.uat@example.com,Assigned
|
||||
ALLA,LD-005,contacted,mk.uat@example.com,head_office,CUS-005,itt@central-log.example,Hoist replacement,Logistics hoist,Bangkok,referral,hoist,medium,600000,referral,contacted,,,mk.uat@example.com,sales.uat@example.com,Assigned
|
||||
ALLA,LD-006,new,mk.uat@example.com,eastern,CUS-006,kai@harbor.example,Project crane,Harbor yard,Chonburi,event,crane,high,3000000,event,new,,,mk.uat@example.com,manager.uat@example.com,Assigned
|
||||
ALLA,LD-007,new,mk.uat@example.com,northern,CUS-007,mai@peakfoods.example,Food plant service,Service contract,Lamphun,website,service,low,120000,website,new,,,mk.uat@example.com,sales.uat@example.com,Assigned
|
||||
ALLA,LD-008,contacted,mk.uat@example.com,head_office,CUS-008,oat@riverpack.example,Packaging crane,Packaging line,Pathum Thani,referral,crane,medium,950000,referral,contacted,,,mk.uat@example.com,sales.uat@example.com,Assigned
|
||||
ALLA,LD-009,new,mk.uat@example.com,eastern,CUS-009,q@summitauto.example,Auto hoist,Assembly hoist,Chachoengsao,event,hoist,high,780000,event,new,,,mk.uat@example.com,manager.uat@example.com,Assigned
|
||||
ALLA,LD-010,new,mk.uat@example.com,head_office,CUS-010,som@urban.example,Tower crane,Developer project,Bangkok,website,crane,high,4200000,website,new,,,mk.uat@example.com,sales.uat@example.com,Assigned
|
||||
ALLA,LD-011,new,mk.uat@example.com,head_office,CUS-001,ben@siam.example,Spare service,Siam service,Bangkok,referral,service,low,90000,referral,new,,,mk.uat@example.com,sales.uat@example.com,Assigned
|
||||
ALLA,LD-012,contacted,mk.uat@example.com,eastern,CUS-002,dara@metro.example,Contractor crane,Metro project,Chonburi,event,crane,medium,1300000,event,contacted,,,mk.uat@example.com,sales.uat@example.com,Assigned
|
||||
ALLA,LD-013,new,mk.uat@example.com,northern,CUS-003,fon@north.example,Design assist,North plant,Chiang Mai,website,hoist,medium,500000,website,new,,,mk.uat@example.com,manager.uat@example.com,Assigned
|
||||
ALLA,LD-014,new,mk.uat@example.com,eastern,CUS-004,hana@easternsteel.example,Steel service,Rayong steel,Rayong,referral,service,low,110000,referral,new,,,mk.uat@example.com,sales.uat@example.com,Assigned
|
||||
ALLA,LD-015,contacted,mk.uat@example.com,head_office,CUS-005,jin@central-log.example,Warehouse crane,Central warehouse,Bangkok,event,crane,high,1800000,event,contacted,,,mk.uat@example.com,sales.uat@example.com,Assigned
|
||||
ALLA,LD-016,new,mk.uat@example.com,eastern,CUS-006,lek@harbor.example,Harbor hoist,Harbor support,Chonburi,website,hoist,medium,650000,website,new,,,mk.uat@example.com,manager.uat@example.com,Assigned
|
||||
ALLA,LD-017,new,mk.uat@example.com,northern,CUS-007,nok@peakfoods.example,Maintenance hoist,Food maintenance,Lamphun,referral,hoist,low,250000,referral,new,,,mk.uat@example.com,sales.uat@example.com,Assigned
|
||||
ALLA,LD-018,contacted,mk.uat@example.com,head_office,CUS-008,pim@riverpack.example,Line upgrade,Packaging expansion,Pathum Thani,event,crane,medium,1400000,event,contacted,,,mk.uat@example.com,sales.uat@example.com,Assigned
|
||||
ALLA,LD-019,new,mk.uat@example.com,eastern,CUS-009,rin@summitauto.example,Auto service,Summit service,Chachoengsao,website,service,low,160000,website,new,,,mk.uat@example.com,manager.uat@example.com,Assigned
|
||||
ALLA,LD-020,new,mk.uat@example.com,head_office,CUS-010,tan@urban.example,Developer hoist,Tower support,Bangkok,referral,hoist,medium,820000,referral,new,,,mk.uat@example.com,sales.uat@example.com,Assigned
|
||||
|
21
setup/golden-dataset/master-options.csv
Normal file
21
setup/golden-dataset/master-options.csv
Normal file
@@ -0,0 +1,21 @@
|
||||
organization_code,category,code,label,value,parent_category,parent_code,sort_order,is_active,metadata_json
|
||||
ALLA,crm_customer_type,end_customer,End Customer,,,,1,true,{}
|
||||
ALLA,crm_customer_type,contractor,Contractor,,,,2,true,{}
|
||||
ALLA,crm_customer_type,consultant,Consultant,,,,3,true,{}
|
||||
ALLA,crm_customer_status,active,Active,,,,1,true,{}
|
||||
ALLA,crm_customer_status,prospect,Prospect,,,,2,true,{}
|
||||
ALLA,crm_lead_channel,website,Website,,,,1,true,{}
|
||||
ALLA,crm_lead_channel,referral,Referral,,,,2,true,{}
|
||||
ALLA,crm_lead_channel,event,Event,,,,3,true,{}
|
||||
ALLA,crm_lead_priority,high,High,,,,1,true,{}
|
||||
ALLA,crm_lead_priority,medium,Medium,,,,2,true,{}
|
||||
ALLA,crm_lead_priority,low,Low,,,,3,true,{}
|
||||
ALLA,crm_followup_status,new,New,,,,1,true,{}
|
||||
ALLA,crm_followup_status,contacted,Contacted,,,,2,true,{}
|
||||
ALLA,crm_lost_reason,budget,Budget mismatch,,,,1,true,{}
|
||||
ALLA,crm_project_party_role,end_customer,End Customer,,,,1,true,{}
|
||||
ALLA,crm_project_party_role,contractor,Contractor,,,,2,true,{}
|
||||
ALLA,crm_project_party_role,consultant,Consultant,,,,3,true,{}
|
||||
ALLA,crm_quotation_type,standard,Standard,,,,1,true,{}
|
||||
ALLA,crm_customer_group,industrial,Industrial,,,,1,true,{}
|
||||
ALLA,crm_customer_sub_group,factory,Factory,crm_customer_group,industrial,1,true,{}
|
||||
|
6
setup/golden-dataset/memberships.csv
Normal file
6
setup/golden-dataset/memberships.csv
Normal file
@@ -0,0 +1,6 @@
|
||||
organization_code,user_email,membership_role,business_role,permissions,branch_scope_codes,product_type_scope_codes
|
||||
ALLA,admin@example.com,admin,sales_manager,crm.dashboard.read|crm.customer.read|crm.customer.create|crm.lead.read|crm.opportunity.read|crm.quotation.read|crm.approval.read,head_office|eastern|northern,crane|hoist|service
|
||||
ALLA,mk.uat@example.com,user,marketing,crm.lead.read|crm.lead.create,head_office,crane|hoist
|
||||
ALLA,sales.uat@example.com,user,sales,crm.customer.read|crm.opportunity.read|crm.quotation.read,head_office|eastern,crane|hoist
|
||||
ALLA,manager.uat@example.com,user,sales_manager,crm.dashboard.read|crm.customer.read|crm.opportunity.read|crm.quotation.read|crm.approval.read,head_office|eastern|northern,crane|hoist|service
|
||||
ALLA,ceo.uat@example.com,user,executive,crm.dashboard.read|crm.approval.read,head_office|eastern|northern,crane|hoist|service
|
||||
|
16
setup/golden-dataset/opportunities.csv
Normal file
16
setup/golden-dataset/opportunities.csv
Normal file
@@ -0,0 +1,16 @@
|
||||
organization_code,opportunity_code,customer_code,title,product_type_code,status,priority,created_by_email,updated_by_email,lead_code,contact_email,branch_code,description,requirement,project_name,project_location,outcome_status,lead_channel,estimated_value,chance_percent,expected_close_date,competitor,source,notes,is_hot_project,pipeline_stage,assigned_to_user_email
|
||||
ALLA,OP-001,CUS-001,Siam crane upgrade,crane,open,high,sales.uat@example.com,sales.uat@example.com,LD-001,anan@siam.example,head_office,Crane upgrade,10 ton crane,Plant crane upgrade,Bangkok,open,website,1200000,70,2026-08-15,Competitor A,website,Golden opportunity,true,proposal,sales.uat@example.com
|
||||
ALLA,OP-002,CUS-002,Metro warehouse hoist,hoist,open,medium,sales.uat@example.com,sales.uat@example.com,LD-002,chai@metro.example,eastern,Warehouse hoist,5 ton hoist,Warehouse hoist,Chonburi,open,referral,450000,60,2026-08-20,Competitor B,referral,Golden opportunity,false,qualification,sales.uat@example.com
|
||||
ALLA,OP-003,CUS-003,North service plan,service,open,medium,manager.uat@example.com,manager.uat@example.com,LD-003,ekk@north.example,northern,Service plan,Annual maintenance,Maintenance plan,Chiang Mai,open,event,150000,50,2026-09-01,,event,Golden opportunity,false,qualification,manager.uat@example.com
|
||||
ALLA,OP-004,CUS-004,Eastern steel bay crane,crane,open,high,sales.uat@example.com,sales.uat@example.com,LD-004,golf@easternsteel.example,eastern,Steel bay crane,20 ton crane,Steel bay crane,Rayong,open,website,2200000,75,2026-09-10,Competitor C,website,Golden opportunity,true,proposal,sales.uat@example.com
|
||||
ALLA,OP-005,CUS-005,Central logistics hoist,hoist,open,medium,sales.uat@example.com,sales.uat@example.com,LD-005,itt@central-log.example,head_office,Hoist replacement,Replacement hoist,Logistics hoist,Bangkok,open,referral,600000,65,2026-09-15,,referral,Golden opportunity,false,proposal,sales.uat@example.com
|
||||
ALLA,OP-006,CUS-006,Harbor yard crane,crane,open,high,manager.uat@example.com,manager.uat@example.com,LD-006,kai@harbor.example,eastern,Harbor crane,Outdoor crane,Harbor yard,Chonburi,open,event,3000000,80,2026-10-01,Competitor D,event,Golden opportunity,true,proposal,manager.uat@example.com
|
||||
ALLA,OP-007,CUS-007,Peak service contract,service,open,low,sales.uat@example.com,sales.uat@example.com,LD-007,mai@peakfoods.example,northern,Service contract,Annual contract,Food service,Lamphun,open,website,120000,40,2026-08-30,,website,Golden opportunity,false,qualification,sales.uat@example.com
|
||||
ALLA,OP-008,CUS-008,River packaging crane,crane,open,medium,sales.uat@example.com,sales.uat@example.com,LD-008,oat@riverpack.example,head_office,Packaging crane,Line crane,Packaging line,Pathum Thani,open,referral,950000,55,2026-09-20,Competitor E,referral,Golden opportunity,false,proposal,sales.uat@example.com
|
||||
ALLA,OP-009,CUS-009,Summit auto hoist,hoist,open,high,manager.uat@example.com,manager.uat@example.com,LD-009,q@summitauto.example,eastern,Auto hoist,Assembly hoist,Assembly hoist,Chachoengsao,open,event,780000,60,2026-09-25,,event,Golden opportunity,false,proposal,manager.uat@example.com
|
||||
ALLA,OP-010,CUS-010,Urban tower crane,crane,open,high,sales.uat@example.com,sales.uat@example.com,LD-010,som@urban.example,head_office,Tower crane,Tower project,Developer project,Bangkok,open,website,4200000,70,2026-10-10,Competitor F,website,Golden opportunity,true,proposal,sales.uat@example.com
|
||||
ALLA,OP-011,CUS-001,Siam spare service,service,open,low,sales.uat@example.com,sales.uat@example.com,LD-011,ben@siam.example,head_office,Spare service,Service package,Siam service,Bangkok,open,referral,90000,45,2026-08-28,,referral,Golden opportunity,false,qualification,sales.uat@example.com
|
||||
ALLA,OP-012,CUS-002,Metro contractor crane,crane,open,medium,sales.uat@example.com,sales.uat@example.com,LD-012,dara@metro.example,eastern,Contractor crane,Site crane,Metro project,Chonburi,open,event,1300000,55,2026-09-18,Competitor G,event,Golden opportunity,false,proposal,sales.uat@example.com
|
||||
ALLA,OP-013,CUS-003,North design hoist,hoist,open,medium,manager.uat@example.com,manager.uat@example.com,LD-013,fon@north.example,northern,Design hoist,Hoist plan,North plant,Chiang Mai,open,website,500000,50,2026-09-12,,website,Golden opportunity,false,qualification,manager.uat@example.com
|
||||
ALLA,OP-014,CUS-004,Eastern steel service,service,open,low,sales.uat@example.com,sales.uat@example.com,LD-014,hana@easternsteel.example,eastern,Steel service,Service visit,Rayong steel,Rayong,open,referral,110000,45,2026-08-26,,referral,Golden opportunity,false,qualification,sales.uat@example.com
|
||||
ALLA,OP-015,CUS-005,Central warehouse crane,crane,open,high,sales.uat@example.com,sales.uat@example.com,LD-015,jin@central-log.example,head_office,Warehouse crane,Warehouse crane,Central warehouse,Bangkok,open,event,1800000,65,2026-09-30,Competitor H,event,Golden opportunity,true,proposal,sales.uat@example.com
|
||||
|
16
setup/golden-dataset/opportunity-parties.csv
Normal file
16
setup/golden-dataset/opportunity-parties.csv
Normal file
@@ -0,0 +1,16 @@
|
||||
organization_code,opportunity_code,customer_code,role_code,remark
|
||||
ALLA,OP-001,CUS-001,end_customer,End customer
|
||||
ALLA,OP-002,CUS-002,contractor,Contractor
|
||||
ALLA,OP-003,CUS-003,consultant,Consultant
|
||||
ALLA,OP-004,CUS-004,end_customer,End customer
|
||||
ALLA,OP-005,CUS-005,end_customer,End customer
|
||||
ALLA,OP-006,CUS-006,contractor,Contractor
|
||||
ALLA,OP-007,CUS-007,end_customer,End customer
|
||||
ALLA,OP-008,CUS-008,end_customer,End customer
|
||||
ALLA,OP-009,CUS-009,end_customer,End customer
|
||||
ALLA,OP-010,CUS-010,contractor,Contractor
|
||||
ALLA,OP-011,CUS-001,end_customer,End customer
|
||||
ALLA,OP-012,CUS-002,contractor,Contractor
|
||||
ALLA,OP-013,CUS-003,consultant,Consultant
|
||||
ALLA,OP-014,CUS-004,end_customer,End customer
|
||||
ALLA,OP-015,CUS-005,end_customer,End customer
|
||||
|
3
setup/golden-dataset/organizations.csv
Normal file
3
setup/golden-dataset/organizations.csv
Normal file
@@ -0,0 +1,3 @@
|
||||
organization_code,organization_name,slug,created_by_email,tax_id,default_currency,phone,email,address,logo_url,plan,status
|
||||
ALLA,ALLA Company Limited,alla,admin@example.com,0107558000393,THB,02-000-0000,admin@alla.example,99/9 Rama IX Road Bangkok,,enterprise,active
|
||||
ONVALLA,ONVALLA Demo Company,onvalla,admin@example.com,0107558000401,THB,02-000-0099,admin@onvalla.example,88/8 Demo Road Bangkok,,demo,active
|
||||
|
4
setup/golden-dataset/product-types.csv
Normal file
4
setup/golden-dataset/product-types.csv
Normal file
@@ -0,0 +1,4 @@
|
||||
organization_code,product_type_code,product_type_name,document_prefix,sort_order,is_active,metadata_json
|
||||
ALLA,crane,Crane,CR,1,true,{}
|
||||
ALLA,hoist,Hoist,HO,2,true,{}
|
||||
ALLA,service,Service,SV,3,true,{}
|
||||
|
21
setup/golden-dataset/quotation-items.csv
Normal file
21
setup/golden-dataset/quotation-items.csv
Normal file
@@ -0,0 +1,21 @@
|
||||
organization_code,quotation_code,item_number,product_type_code,description,quantity,unit_price,total_price,unit,discount,discount_type,tax_rate,notes,sort_order
|
||||
ALLA,QT-HO-CR-2607-001,1,crane,Crane system package,1,1000000,1000000,set,0,amount,7,Golden item,1
|
||||
ALLA,QT-HO-CR-2607-002,1,hoist,Hoist system package,1,450000,450000,set,0,amount,7,Golden item,1
|
||||
ALLA,QT-HO-CR-2607-003,1,service,Service package,1,150000,150000,set,0,amount,7,Golden item,1
|
||||
ALLA,QT-HO-CR-2607-004,1,crane,Steel bay crane package,1,2200000,2200000,set,0,amount,7,Golden item,1
|
||||
ALLA,QT-HO-CR-2607-005,1,hoist,Logistics hoist package,1,600000,600000,set,0,amount,7,Golden item,1
|
||||
ALLA,QT-HO-CR-2607-006,1,crane,Harbor crane package,1,3000000,3000000,set,0,amount,7,Golden item,1
|
||||
ALLA,QT-HO-CR-2607-007,1,service,Annual service package,1,120000,120000,set,0,amount,7,Golden item,1
|
||||
ALLA,QT-HO-CR-2607-008,1,crane,Packaging crane package,1,950000,950000,set,0,amount,7,Golden item,1
|
||||
ALLA,QT-HO-CR-2607-009,1,hoist,Auto hoist package,1,780000,780000,set,0,amount,7,Golden item,1
|
||||
ALLA,QT-HO-CR-2607-010,1,crane,Tower crane package,1,4200000,4200000,set,0,amount,7,Golden item,1
|
||||
ALLA,QT-HO-CR-2607-011,1,service,Spare service package,1,90000,90000,set,0,amount,7,Golden item,1
|
||||
ALLA,QT-HO-CR-2607-012,1,crane,Contractor crane package,1,1300000,1300000,set,0,amount,7,Golden item,1
|
||||
ALLA,QT-HO-CR-2607-013,1,hoist,Design hoist package,1,500000,500000,set,0,amount,7,Golden item,1
|
||||
ALLA,QT-HO-CR-2607-014,1,service,Steel service package,1,110000,110000,set,0,amount,7,Golden item,1
|
||||
ALLA,QT-HO-CR-2607-015,1,crane,Warehouse crane package,1,1800000,1800000,set,0,amount,7,Golden item,1
|
||||
ALLA,QT-HO-CR-2607-016,1,hoist,Harbor hoist support,1,650000,650000,set,0,amount,7,Golden item,1
|
||||
ALLA,QT-HO-CR-2607-017,1,hoist,Maintenance hoist package,1,250000,250000,set,0,amount,7,Golden item,1
|
||||
ALLA,QT-HO-CR-2607-018,1,crane,Line upgrade package,1,1400000,1400000,set,0,amount,7,Golden item,1
|
||||
ALLA,QT-HO-CR-2607-019,1,service,Auto service package,1,160000,160000,set,0,amount,7,Golden item,1
|
||||
ALLA,QT-HO-CR-2607-020,1,hoist,Developer hoist package,1,820000,820000,set,0,amount,7,Golden item,1
|
||||
|
21
setup/golden-dataset/quotation-parties.csv
Normal file
21
setup/golden-dataset/quotation-parties.csv
Normal file
@@ -0,0 +1,21 @@
|
||||
organization_code,quotation_code,customer_code,role_code,is_primary,remark
|
||||
ALLA,QT-HO-CR-2607-001,CUS-001,end_customer,true,End customer
|
||||
ALLA,QT-HO-CR-2607-002,CUS-002,contractor,true,Contractor
|
||||
ALLA,QT-HO-CR-2607-003,CUS-003,consultant,true,Consultant
|
||||
ALLA,QT-HO-CR-2607-004,CUS-004,end_customer,true,End customer
|
||||
ALLA,QT-HO-CR-2607-005,CUS-005,end_customer,true,End customer
|
||||
ALLA,QT-HO-CR-2607-006,CUS-006,contractor,true,Contractor
|
||||
ALLA,QT-HO-CR-2607-007,CUS-007,end_customer,true,End customer
|
||||
ALLA,QT-HO-CR-2607-008,CUS-008,end_customer,true,End customer
|
||||
ALLA,QT-HO-CR-2607-009,CUS-009,end_customer,true,End customer
|
||||
ALLA,QT-HO-CR-2607-010,CUS-010,contractor,true,Contractor
|
||||
ALLA,QT-HO-CR-2607-011,CUS-001,end_customer,true,End customer
|
||||
ALLA,QT-HO-CR-2607-012,CUS-002,contractor,true,Contractor
|
||||
ALLA,QT-HO-CR-2607-013,CUS-003,consultant,true,Consultant
|
||||
ALLA,QT-HO-CR-2607-014,CUS-004,end_customer,true,End customer
|
||||
ALLA,QT-HO-CR-2607-015,CUS-005,end_customer,true,End customer
|
||||
ALLA,QT-HO-CR-2607-016,CUS-006,contractor,true,Contractor
|
||||
ALLA,QT-HO-CR-2607-017,CUS-007,end_customer,true,End customer
|
||||
ALLA,QT-HO-CR-2607-018,CUS-008,end_customer,true,End customer
|
||||
ALLA,QT-HO-CR-2607-019,CUS-009,end_customer,true,End customer
|
||||
ALLA,QT-HO-CR-2607-020,CUS-010,contractor,true,Contractor
|
||||
|
21
setup/golden-dataset/quotation-topic-items.csv
Normal file
21
setup/golden-dataset/quotation-topic-items.csv
Normal file
@@ -0,0 +1,21 @@
|
||||
organization_code,quotation_code,topic_key,content,sort_order
|
||||
ALLA,QT-HO-CR-2607-001,scope,Supply and installation according to golden dataset scope.,1
|
||||
ALLA,QT-HO-CR-2607-002,scope,Supply and installation according to golden dataset scope.,1
|
||||
ALLA,QT-HO-CR-2607-003,scope,Supply and installation according to golden dataset scope.,1
|
||||
ALLA,QT-HO-CR-2607-004,scope,Supply and installation according to golden dataset scope.,1
|
||||
ALLA,QT-HO-CR-2607-005,scope,Supply and installation according to golden dataset scope.,1
|
||||
ALLA,QT-HO-CR-2607-006,scope,Supply and installation according to golden dataset scope.,1
|
||||
ALLA,QT-HO-CR-2607-007,scope,Supply and installation according to golden dataset scope.,1
|
||||
ALLA,QT-HO-CR-2607-008,scope,Supply and installation according to golden dataset scope.,1
|
||||
ALLA,QT-HO-CR-2607-009,scope,Supply and installation according to golden dataset scope.,1
|
||||
ALLA,QT-HO-CR-2607-010,scope,Supply and installation according to golden dataset scope.,1
|
||||
ALLA,QT-HO-CR-2607-011,scope,Supply and installation according to golden dataset scope.,1
|
||||
ALLA,QT-HO-CR-2607-012,scope,Supply and installation according to golden dataset scope.,1
|
||||
ALLA,QT-HO-CR-2607-013,scope,Supply and installation according to golden dataset scope.,1
|
||||
ALLA,QT-HO-CR-2607-014,scope,Supply and installation according to golden dataset scope.,1
|
||||
ALLA,QT-HO-CR-2607-015,scope,Supply and installation according to golden dataset scope.,1
|
||||
ALLA,QT-HO-CR-2607-016,scope,Supply and installation according to golden dataset scope.,1
|
||||
ALLA,QT-HO-CR-2607-017,scope,Supply and installation according to golden dataset scope.,1
|
||||
ALLA,QT-HO-CR-2607-018,scope,Supply and installation according to golden dataset scope.,1
|
||||
ALLA,QT-HO-CR-2607-019,scope,Supply and installation according to golden dataset scope.,1
|
||||
ALLA,QT-HO-CR-2607-020,scope,Supply and installation according to golden dataset scope.,1
|
||||
|
21
setup/golden-dataset/quotation-topics.csv
Normal file
21
setup/golden-dataset/quotation-topics.csv
Normal file
@@ -0,0 +1,21 @@
|
||||
organization_code,quotation_code,topic_key,topic_type,title,sort_order
|
||||
ALLA,QT-HO-CR-2607-001,scope,terms,Scope of Supply,1
|
||||
ALLA,QT-HO-CR-2607-002,scope,terms,Scope of Supply,1
|
||||
ALLA,QT-HO-CR-2607-003,scope,terms,Scope of Supply,1
|
||||
ALLA,QT-HO-CR-2607-004,scope,terms,Scope of Supply,1
|
||||
ALLA,QT-HO-CR-2607-005,scope,terms,Scope of Supply,1
|
||||
ALLA,QT-HO-CR-2607-006,scope,terms,Scope of Supply,1
|
||||
ALLA,QT-HO-CR-2607-007,scope,terms,Scope of Supply,1
|
||||
ALLA,QT-HO-CR-2607-008,scope,terms,Scope of Supply,1
|
||||
ALLA,QT-HO-CR-2607-009,scope,terms,Scope of Supply,1
|
||||
ALLA,QT-HO-CR-2607-010,scope,terms,Scope of Supply,1
|
||||
ALLA,QT-HO-CR-2607-011,scope,terms,Scope of Supply,1
|
||||
ALLA,QT-HO-CR-2607-012,scope,terms,Scope of Supply,1
|
||||
ALLA,QT-HO-CR-2607-013,scope,terms,Scope of Supply,1
|
||||
ALLA,QT-HO-CR-2607-014,scope,terms,Scope of Supply,1
|
||||
ALLA,QT-HO-CR-2607-015,scope,terms,Scope of Supply,1
|
||||
ALLA,QT-HO-CR-2607-016,scope,terms,Scope of Supply,1
|
||||
ALLA,QT-HO-CR-2607-017,scope,terms,Scope of Supply,1
|
||||
ALLA,QT-HO-CR-2607-018,scope,terms,Scope of Supply,1
|
||||
ALLA,QT-HO-CR-2607-019,scope,terms,Scope of Supply,1
|
||||
ALLA,QT-HO-CR-2607-020,scope,terms,Scope of Supply,1
|
||||
|
21
setup/golden-dataset/quotations.csv
Normal file
21
setup/golden-dataset/quotations.csv
Normal file
@@ -0,0 +1,21 @@
|
||||
organization_code,quotation_code,customer_code,quotation_date,quotation_type,status,currency,subtotal,total_amount,created_by_email,updated_by_email,opportunity_code,contact_email,branch_code,valid_until,project_name,project_location,attention,reference,notes,revision,parent_quotation_code,revision_remark,exchange_rate,discount,discount_type,tax_rate,tax_amount,chance_percent,is_hot_project,competitor,salesman_email,is_sent,sent_at,sent_via
|
||||
ALLA,QT-HO-CR-2607-001,CUS-001,2026-07-01,standard,draft,THB,1000000,1070000,sales.uat@example.com,sales.uat@example.com,OP-001,anan@siam.example,head_office,2026-08-01,Plant crane upgrade,Bangkok,Anan Sales,REF-001,Golden quotation,0,,,1,0,amount,7,70000,70,true,Competitor A,sales.uat@example.com,false,,
|
||||
ALLA,QT-HO-CR-2607-002,CUS-002,2026-07-02,standard,pending_approval,THB,450000,481500,sales.uat@example.com,sales.uat@example.com,OP-002,chai@metro.example,eastern,2026-08-02,Warehouse hoist,Chonburi,Chai Manager,REF-002,Golden quotation,0,,,1,0,amount,7,31500,60,false,Competitor B,sales.uat@example.com,true,2026-07-03,email
|
||||
ALLA,QT-HO-CR-2607-003,CUS-003,2026-07-03,standard,approved,THB,150000,160500,manager.uat@example.com,manager.uat@example.com,OP-003,ekk@north.example,northern,2026-08-03,Maintenance plan,Chiang Mai,Ekk Designer,REF-003,Golden quotation,0,,,1,0,amount,7,10500,50,false,,manager.uat@example.com,true,2026-07-04,email
|
||||
ALLA,QT-HO-CR-2607-004,CUS-004,2026-07-04,standard,rejected,THB,2200000,2354000,sales.uat@example.com,sales.uat@example.com,OP-004,golf@easternsteel.example,eastern,2026-08-04,Steel bay crane,Rayong,Golf Ops,REF-004,Golden quotation,0,,,1,0,amount,7,154000,75,true,Competitor C,sales.uat@example.com,true,2026-07-05,email
|
||||
ALLA,QT-HO-CR-2607-005,CUS-005,2026-07-05,standard,revision,THB,600000,642000,sales.uat@example.com,sales.uat@example.com,OP-005,itt@central-log.example,head_office,2026-08-05,Logistics hoist,Bangkok,Itt Logistics,REF-005,Golden quotation,1,QT-HO-CR-2607-002,Revised scope,1,0,amount,7,42000,65,false,,sales.uat@example.com,true,2026-07-06,email
|
||||
ALLA,QT-HO-CR-2607-006,CUS-006,2026-07-06,standard,draft,THB,3000000,3210000,manager.uat@example.com,manager.uat@example.com,OP-006,kai@harbor.example,eastern,2026-08-06,Harbor yard,Chonburi,Kai Site,REF-006,Golden quotation,0,,,1,0,amount,7,210000,80,true,Competitor D,manager.uat@example.com,false,,
|
||||
ALLA,QT-HO-CR-2607-007,CUS-007,2026-07-07,standard,pending_approval,THB,120000,128400,sales.uat@example.com,sales.uat@example.com,OP-007,mai@peakfoods.example,northern,2026-08-07,Food service,Lamphun,Mai Plant,REF-007,Golden quotation,0,,,1,0,amount,7,8400,40,false,,sales.uat@example.com,true,2026-07-08,email
|
||||
ALLA,QT-HO-CR-2607-008,CUS-008,2026-07-08,standard,approved,THB,950000,1016500,sales.uat@example.com,sales.uat@example.com,OP-008,oat@riverpack.example,head_office,2026-08-08,Packaging line,Pathum Thani,Oat Packaging,REF-008,Golden quotation,0,,,1,0,amount,7,66500,55,false,Competitor E,sales.uat@example.com,true,2026-07-09,email
|
||||
ALLA,QT-HO-CR-2607-009,CUS-009,2026-07-09,standard,rejected,THB,780000,834600,manager.uat@example.com,manager.uat@example.com,OP-009,q@summitauto.example,eastern,2026-08-09,Assembly hoist,Chachoengsao,Q Auto,REF-009,Golden quotation,0,,,1,0,amount,7,54600,60,false,,manager.uat@example.com,true,2026-07-10,email
|
||||
ALLA,QT-HO-CR-2607-010,CUS-010,2026-07-10,standard,revision,THB,4200000,4494000,sales.uat@example.com,sales.uat@example.com,OP-010,som@urban.example,head_office,2026-08-10,Developer project,Bangkok,Som Developer,REF-010,Golden quotation,1,QT-HO-CR-2607-001,Revision 1,1,0,amount,7,294000,70,true,Competitor F,sales.uat@example.com,true,2026-07-11,email
|
||||
ALLA,QT-HO-CR-2607-011,CUS-001,2026-07-11,standard,draft,THB,90000,96300,sales.uat@example.com,sales.uat@example.com,OP-011,ben@siam.example,head_office,2026-08-11,Siam service,Bangkok,Ben Engineer,REF-011,Golden quotation,0,,,1,0,amount,7,6300,45,false,,sales.uat@example.com,false,,
|
||||
ALLA,QT-HO-CR-2607-012,CUS-002,2026-07-12,standard,pending_approval,THB,1300000,1391000,sales.uat@example.com,sales.uat@example.com,OP-012,dara@metro.example,eastern,2026-08-12,Metro project,Chonburi,Dara QS,REF-012,Golden quotation,0,,,1,0,amount,7,91000,55,false,Competitor G,sales.uat@example.com,true,2026-07-13,email
|
||||
ALLA,QT-HO-CR-2607-013,CUS-003,2026-07-13,standard,approved,THB,500000,535000,manager.uat@example.com,manager.uat@example.com,OP-013,fon@north.example,northern,2026-08-13,North plant,Chiang Mai,Fon Architect,REF-013,Golden quotation,0,,,1,0,amount,7,35000,50,false,,manager.uat@example.com,true,2026-07-14,email
|
||||
ALLA,QT-HO-CR-2607-014,CUS-004,2026-07-14,standard,rejected,THB,110000,117700,sales.uat@example.com,sales.uat@example.com,OP-014,hana@easternsteel.example,eastern,2026-08-14,Rayong steel,Rayong,Hana Buyer,REF-014,Golden quotation,0,,,1,0,amount,7,7700,45,false,,sales.uat@example.com,true,2026-07-15,email
|
||||
ALLA,QT-HO-CR-2607-015,CUS-005,2026-07-15,standard,revision,THB,1800000,1926000,sales.uat@example.com,sales.uat@example.com,OP-015,jin@central-log.example,head_office,2026-08-15,Central warehouse,Bangkok,Jin Warehouse,REF-015,Golden quotation,1,QT-HO-CR-2607-012,Revision 1,1,0,amount,7,126000,65,true,Competitor H,sales.uat@example.com,true,2026-07-16,email
|
||||
ALLA,QT-HO-CR-2607-016,CUS-006,2026-07-16,standard,draft,THB,650000,695500,manager.uat@example.com,manager.uat@example.com,OP-006,lek@harbor.example,eastern,2026-08-16,Harbor support,Chonburi,Lek Admin,REF-016,Golden quotation,0,,,1,0,amount,7,45500,50,false,,manager.uat@example.com,false,,
|
||||
ALLA,QT-HO-CR-2607-017,CUS-007,2026-07-17,standard,pending_approval,THB,250000,267500,sales.uat@example.com,sales.uat@example.com,OP-007,nok@peakfoods.example,northern,2026-08-17,Food maintenance,Lamphun,Nok Maintenance,REF-017,Golden quotation,0,,,1,0,amount,7,17500,40,false,,sales.uat@example.com,true,2026-07-18,email
|
||||
ALLA,QT-HO-CR-2607-018,CUS-008,2026-07-18,standard,approved,THB,1400000,1498000,sales.uat@example.com,sales.uat@example.com,OP-008,pim@riverpack.example,head_office,2026-08-18,Packaging expansion,Pathum Thani,Pim Buyer,REF-018,Golden quotation,0,,,1,0,amount,7,98000,55,false,,sales.uat@example.com,true,2026-07-19,email
|
||||
ALLA,QT-HO-CR-2607-019,CUS-009,2026-07-19,standard,rejected,THB,160000,171200,manager.uat@example.com,manager.uat@example.com,OP-009,rin@summitauto.example,eastern,2026-08-19,Summit service,Chachoengsao,Rin Engineer,REF-019,Golden quotation,0,,,1,0,amount,7,11200,35,false,,manager.uat@example.com,true,2026-07-20,email
|
||||
ALLA,QT-HO-CR-2607-020,CUS-010,2026-07-20,standard,revision,THB,820000,877400,sales.uat@example.com,sales.uat@example.com,OP-010,tan@urban.example,head_office,2026-08-20,Tower support,Bangkok,Tan Project,REF-020,Golden quotation,1,QT-HO-CR-2607-017,Revision 1,1,0,amount,7,57400,50,false,,sales.uat@example.com,true,2026-07-21,email
|
||||
|
6
setup/golden-dataset/users.csv
Normal file
6
setup/golden-dataset/users.csv
Normal file
@@ -0,0 +1,6 @@
|
||||
email,name,system_role,password,active_organization_code,image_url,reset_password
|
||||
admin@example.com,System Administrator,super_admin,ChangeMe123!,ALLA,,false
|
||||
mk.uat@example.com,Marketing User,user,ChangeMe123!,ALLA,,false
|
||||
sales.uat@example.com,Sales User,user,ChangeMe123!,ALLA,,false
|
||||
manager.uat@example.com,Sales Manager,user,ChangeMe123!,ALLA,,false
|
||||
ceo.uat@example.com,Chief Executive Officer,user,ChangeMe123!,ALLA,,false
|
||||
|
Reference in New Issue
Block a user