All systems / SYS-019

WarehouseSmart

ระบบคลังสินค้าอัจฉริยะ

system.yml

162 lines
# Skeleton created by `sysforge import-excel` (SPEC §13) for SYS-019.
# Core modules: • โมดูลคลังสินค้า/สต็อก • โมดูลราคา/โปรโมชัน • โมดูลข้อมูลหลัก (Master Data)
# TODO(sysforge): replace the default fields below with the real fields of each entity.
#                 Every field shown in a form needs a default or a placeholder (R-UI-1). Then run: sysforge validate

system:
  code: SYS-019
  name: WarehouseSmart
  title: { th: "ระบบคลังสินค้าอัจฉริยะ", en: "Warehouse smart" }
  description: { th: "ระบบคลังสินค้าอัจฉริยะ" }
  domain: Enterprise & Business
  package: com.sysforge.warehousesmart
  version: 1.0.0
  locale: { default: th }
  timezone: Asia/Bangkok

database:
  targets: [sqlserver, oracle, mysql, postgresql]
  default: postgresql
  tablePrefix: wa_

theme: {}

roles:
  - code: ADMIN
    title: { th: ผู้ดูแลระบบ, en: Administrator }
    permissions: ["*"]
  - code: STAFF
    title: { th: เจ้าหน้าที่, en: Staff }
    permissions:
      - "Item:create"
      - "Item:read"
      - "Item:update"
      - "Item:export"
      - "Warehouse:create"
      - "Warehouse:read"
      - "Warehouse:update"
      - "Warehouse:export"
      - "StockTxn:create"
      - "StockTxn:read"
      - "StockTxn:update"
      - "StockTxn:export"
      - "Lot:create"
      - "Lot:read"
      - "Lot:update"
      - "Lot:export"
      - "StockBalance:create"
      - "StockBalance:read"
      - "StockBalance:update"
      - "StockBalance:export"
      - "PriceList:create"
      - "PriceList:read"
      - "PriceList:update"
      - "PriceList:export"
      - "PriceRule:create"
      - "PriceRule:read"
      - "PriceRule:update"
      - "PriceRule:export"
      - "Promotion:create"
      - "Promotion:read"
      - "Promotion:update"
      - "Promotion:export"
      - "PromotionCondition:create"
      - "PromotionCondition:read"
      - "PromotionCondition:update"
      - "PromotionCondition:export"

entities:
  - name: Item
    title: { th: "Item", en: "Item" }
    display: name
    fields:
      - { name: code, type: string, length: 30, required: true, unique: true, searchable: true, label: { th: รหัส, en: Code }, placeholder: { th: "เช่น IT-0001", en: "e.g. IT-0001" } }
      - { name: name, type: string, length: 200, required: true, searchable: true, label: { th: ชื่อ, en: Name }, placeholder: { th: "เช่น Item", en: "e.g. Item name" } }
      - { name: description, type: text, label: { th: รายละเอียด, en: Description }, placeholder: { th: "รายละเอียดเพิ่มเติม", en: "Additional details" } }
      - { name: active, type: boolean, default: true, searchable: true, label: { th: ใช้งาน, en: Active } }
    # TODO(sysforge): ระบุ field เฉพาะของ Item
  - name: Warehouse
    title: { th: "Warehouse", en: "Warehouse" }
    display: name
    fields:
      - { name: code, type: string, length: 30, required: true, unique: true, searchable: true, label: { th: รหัส, en: Code }, placeholder: { th: "เช่น WA-0001", en: "e.g. WA-0001" } }
      - { name: name, type: string, length: 200, required: true, searchable: true, label: { th: ชื่อ, en: Name }, placeholder: { th: "เช่น Warehouse", en: "e.g. Warehouse name" } }
      - { name: description, type: text, label: { th: รายละเอียด, en: Description }, placeholder: { th: "รายละเอียดเพิ่มเติม", en: "Additional details" } }
      - { name: active, type: boolean, default: true, searchable: true, label: { th: ใช้งาน, en: Active } }
    # TODO(sysforge): ระบุ field เฉพาะของ Warehouse
  - name: StockTxn
    title: { th: "Stock txn", en: "Stock txn" }
    display: name
    fields:
      - { name: code, type: string, length: 30, required: true, unique: true, searchable: true, label: { th: รหัส, en: Code }, placeholder: { th: "เช่น ST-0001", en: "e.g. ST-0001" } }
      - { name: name, type: string, length: 200, required: true, searchable: true, label: { th: ชื่อ, en: Name }, placeholder: { th: "เช่น StockTxn", en: "e.g. Stock txn name" } }
      - { name: description, type: text, label: { th: รายละเอียด, en: Description }, placeholder: { th: "รายละเอียดเพิ่มเติม", en: "Additional details" } }
      - { name: active, type: boolean, default: true, searchable: true, label: { th: ใช้งาน, en: Active } }
    # TODO(sysforge): ระบุ field เฉพาะของ StockTxn
  - name: Lot
    title: { th: "Lot", en: "Lot" }
    display: name
    fields:
      - { name: code, type: string, length: 30, required: true, unique: true, searchable: true, label: { th: รหัส, en: Code }, placeholder: { th: "เช่น LO-0001", en: "e.g. LO-0001" } }
      - { name: name, type: string, length: 200, required: true, searchable: true, label: { th: ชื่อ, en: Name }, placeholder: { th: "เช่น Lot", en: "e.g. Lot name" } }
      - { name: description, type: text, label: { th: รายละเอียด, en: Description }, placeholder: { th: "รายละเอียดเพิ่มเติม", en: "Additional details" } }
      - { name: active, type: boolean, default: true, searchable: true, label: { th: ใช้งาน, en: Active } }
    # TODO(sysforge): ระบุ field เฉพาะของ Lot
  - name: StockBalance
    title: { th: "Stock balance", en: "Stock balance" }
    display: name
    fields:
      - { name: code, type: string, length: 30, required: true, unique: true, searchable: true, label: { th: รหัส, en: Code }, placeholder: { th: "เช่น SB-0001", en: "e.g. SB-0001" } }
      - { name: name, type: string, length: 200, required: true, searchable: true, label: { th: ชื่อ, en: Name }, placeholder: { th: "เช่น StockBalance", en: "e.g. Stock balance name" } }
      - { name: description, type: text, label: { th: รายละเอียด, en: Description }, placeholder: { th: "รายละเอียดเพิ่มเติม", en: "Additional details" } }
      - { name: active, type: boolean, default: true, searchable: true, label: { th: ใช้งาน, en: Active } }
    # TODO(sysforge): ระบุ field เฉพาะของ StockBalance
  - name: PriceList
    title: { th: "Price list", en: "Price list" }
    display: name
    fields:
      - { name: code, type: string, length: 30, required: true, unique: true, searchable: true, label: { th: รหัส, en: Code }, placeholder: { th: "เช่น PL-0001", en: "e.g. PL-0001" } }
      - { name: name, type: string, length: 200, required: true, searchable: true, label: { th: ชื่อ, en: Name }, placeholder: { th: "เช่น PriceList", en: "e.g. Price list name" } }
      - { name: description, type: text, label: { th: รายละเอียด, en: Description }, placeholder: { th: "รายละเอียดเพิ่มเติม", en: "Additional details" } }
      - { name: active, type: boolean, default: true, searchable: true, label: { th: ใช้งาน, en: Active } }
    # TODO(sysforge): ระบุ field เฉพาะของ PriceList
  - name: PriceRule
    title: { th: "Price rule", en: "Price rule" }
    display: name
    fields:
      - { name: code, type: string, length: 30, required: true, unique: true, searchable: true, label: { th: รหัส, en: Code }, placeholder: { th: "เช่น PR-0001", en: "e.g. PR-0001" } }
      - { name: name, type: string, length: 200, required: true, searchable: true, label: { th: ชื่อ, en: Name }, placeholder: { th: "เช่น PriceRule", en: "e.g. Price rule name" } }
      - { name: description, type: text, label: { th: รายละเอียด, en: Description }, placeholder: { th: "รายละเอียดเพิ่มเติม", en: "Additional details" } }
      - { name: active, type: boolean, default: true, searchable: true, label: { th: ใช้งาน, en: Active } }
    # TODO(sysforge): ระบุ field เฉพาะของ PriceRule
  - name: Promotion
    title: { th: "Promotion", en: "Promotion" }
    display: name
    fields:
      - { name: code, type: string, length: 30, required: true, unique: true, searchable: true, label: { th: รหัส, en: Code }, placeholder: { th: "เช่น PR-0001", en: "e.g. PR-0001" } }
      - { name: name, type: string, length: 200, required: true, searchable: true, label: { th: ชื่อ, en: Name }, placeholder: { th: "เช่น Promotion", en: "e.g. Promotion name" } }
      - { name: description, type: text, label: { th: รายละเอียด, en: Description }, placeholder: { th: "รายละเอียดเพิ่มเติม", en: "Additional details" } }
      - { name: active, type: boolean, default: true, searchable: true, label: { th: ใช้งาน, en: Active } }
    # TODO(sysforge): ระบุ field เฉพาะของ Promotion
  - name: PromotionCondition
    title: { th: "Promotion condition", en: "Promotion condition" }
    display: name
    fields:
      - { name: code, type: string, length: 30, required: true, unique: true, searchable: true, label: { th: รหัส, en: Code }, placeholder: { th: "เช่น PC-0001", en: "e.g. PC-0001" } }
      - { name: name, type: string, length: 200, required: true, searchable: true, label: { th: ชื่อ, en: Name }, placeholder: { th: "เช่น PromotionCondition", en: "e.g. Promotion condition name" } }
      - { name: description, type: text, label: { th: รายละเอียด, en: Description }, placeholder: { th: "รายละเอียดเพิ่มเติม", en: "Additional details" } }
      - { name: active, type: boolean, default: true, searchable: true, label: { th: ใช้งาน, en: Active } }
    # TODO(sysforge): ระบุ field เฉพาะของ PromotionCondition

screens:
  - { id: home, type: kpi-dashboard, title: { th: ภาพรวม, en: Overview } }
  - { id: items, type: crud, entity: Item, title: { th: "Item", en: "Item" }, defaultSort: { field: code, dir: asc } }
  - { id: warehouses, type: crud, entity: Warehouse, title: { th: "Warehouse", en: "Warehouse" }, defaultSort: { field: code, dir: asc } }
  - { id: stock-txns, type: crud, entity: StockTxn, title: { th: "Stock txn", en: "Stock txn" }, defaultSort: { field: code, dir: asc } }
  - { id: lots, type: crud, entity: Lot, title: { th: "Lot", en: "Lot" }, defaultSort: { field: code, dir: asc } }
  - { id: stock-balances, type: crud, entity: StockBalance, title: { th: "Stock balance", en: "Stock balance" }, defaultSort: { field: code, dir: asc } }
  - { id: price-lists, type: crud, entity: PriceList, title: { th: "Price list", en: "Price list" }, defaultSort: { field: code, dir: asc } }
  - { id: price-rules, type: crud, entity: PriceRule, title: { th: "Price rule", en: "Price rule" }, defaultSort: { field: code, dir: asc } }
  - { id: promotions, type: crud, entity: Promotion, title: { th: "Promotion", en: "Promotion" }, defaultSort: { field: code, dir: asc } }
  - { id: promotion-conditions, type: crud, entity: PromotionCondition, title: { th: "Promotion condition", en: "Promotion condition" }, defaultSort: { field: code, dir: asc } }

Details

Code
SYS-019
Domain
Enterprise & Business
Entities
9
Source
Excel import
Status
Has TODO — generates fine, replace the default fields before real use
Description
ระบบคลังสินค้าอัจฉริยะ

Theme

Royal Indigo · Header + side menu · Light menu · home page Product · Pill corners · Comfortable

Registered in salt "sysforge-v1": regenerating keeps this look.

Remove