How to onboard a new company on any delivery module — multi-tenant isolation via ZoneCalc_catalog + per-tenant ZC_* database.
1. Catalog tenant
- Provision tenant DB (
ZC_*) via Subscription Portal orprovisionNewTenantFromBackup. - Confirm row in
dbo.tenantsanddbo.catalog_subscription_recordson ZoneCalc_catalog. - Record
subscription_id,company_name,database_name.
2. Enable delivery modules
- Sign in at https://sbsdispatch.com/modes/ as company admin.
- Open any subscribed module → Management → enable modules on the delivery switchboard.
- Or
PATCH /api/delivery-modes/switchboard/:modeKeywith{ "enabled": true }.
3. Fleet rollout (automated)
- Edit
deploy/company-rollout/companies.json— setcompany,subscription_id,tenantDb,enabled: true. - Align catalog on both hosts (sbsdispatch vs fusciadesigns) per README section 6.
- Run:
Invoke-CompanyRollout.ps1 -Company "Your Logistics Company" -Mode full
4. Staff & portals
- Add dispatchers and drivers under module Management → Staff.
- Share portal links from the module hub (Customer · Partner · Agent).
- Run Simulation trace in ops console to seed 10 auditable demo orders.
5. Verify
POST /api/modes/{slug}/seed-demoor Integrations → Load demo data.- Ops → Simulation trace → Run full simulation → review audit timeline.
node zonecalc/api/scripts/run-p2p-parity-verify.json the server (exit 0).
Full fleet script docs: deploy/company-rollout/README.md · Platform roadmap: modes/MULTI-MODULE-ROADMAP.md