Skip to content

ตั้งค่าระบบ (Global Config)

Global Config เป็นการตั้งค่าที่กว้างกว่า WMS Settings — ระดับองค์กร (Tenant)

คืออะไร?

ตั้งค่าที่กระทบทั้งระบบไม่ใช่แค่ workflow WMS เช่น:

  • Branding
  • Multi-tenant config
  • Domain
  • Feature flags
  • License
  • Database settings
  • Backup schedules

เฉพาะ SuperAdmin

หน้านี้เฉพาะ SuperAdmin เท่านั้น — Admin ทั่วไปเข้าไม่ได้

วิธีเข้าหน้า

Sidebar (Admin) → Global Config

หมวดที่ปรับได้

Organization

  • Organization Name
  • Logo — Upload
  • Primary Color — Theme color
  • Address / Phone / Email
  • Tax ID
  • Default Currency
  • Default Timezone
  • Default Language

Domain & Branding

  • Custom Domain — เช่น wms.your-company.com
  • Email Sender Name — "WMS — Your Company"
  • Email Templates — Custom HTML
  • Login Page Background

Feature Flags

เปิด/ปิดฟีเจอร์:

  • ☑️ Multi-warehouse
  • ☑️ Cycle Counts
  • ☑️ Wave Planning
  • ☑️ Auto Replenishment
  • ☐ Cross-docking (Beta)
  • ☐ Mobile App
  • ☐ Voice Picking

License

  • Plan — Starter / Pro / Enterprise
  • User Limit — เช่น 50
  • Storage Limit — GB
  • Expiration
  • Upgrade — link to billing

Database

  • DB Connection Status
  • Last Backup
  • Backup Schedule — Daily / Weekly / Custom
  • Restore — Upload backup file

Audit

  • Retention Period — เก็บกี่ปี
  • Auto-archive after — เก็บ cold storage หลังกี่เดือน

Compliance

  • GDPR Mode — เปิดเพื่อ EU
  • Data Region — เก็บข้อมูลที่ region ไหน
  • Right to be forgotten — Workflow

System

  • Maintenance Mode
  • API Endpoint Override
  • CDN URL
  • Error Reporting — Sentry DSN

Notifications (Org-level)

  • SMTP Settings — Email server
  • SMS Provider — Twilio / Local
  • LINE Notify — Token

Backup + Restore

Backup

  1. กด Backup Now — สร้าง backup ทันที
  2. หรือตั้ง Schedule ใน Backup tab
  3. Backup เก็บใน R2 Storage (encrypted)

Restore

  1. กด Restore → เลือก backup file
  2. ⚠️ Confirm หลายขั้น — เพราะจะ overwrite ปัจจุบัน
  3. ใช้เวลา 5-30 นาทีตามขนาด

Restore ลบข้อมูลปัจจุบัน

ทำใน Sandbox / DR drill เท่านั้น — Production ต้องวางแผนรอบคอบ

Tenant Management (Multi-tenant)

หาก deploy เป็น Multi-tenant:

  • เพิ่ม / ลบ Tenant
  • กำหนด Resource limits
  • ดู Tenant usage
  • Suspend / Resume

Maintenance Mode

ดูที่ Health → Maintenance Mode

Reset System

DANGER

Factory Reset ลบทุกอย่าง ยกเว้น SuperAdmin บัญชีปัจจุบัน

ต้องผ่าน 3 ขั้น confirm + 2FA + Email verify

หน้าที่เกี่ยวข้อง

เผยแพร่ภายใต้ Digital Outsourcing