生產循環操作手冊
本手冊涵蓋 iDempiere ERP 行動 App 中生產循環(Production Cycle)的所有模組操作說明,包含物料清單、生產工單、生產排程、生產計劃看板、產線監控、核可儀表板及各項輔助功能。共計 21 個生產畫面,適用於化工製造業的完整生產管理流程。
模組總覽
物料清單 BOM
管理產品的物料清單(Bill of Materials),定義產品與其組成原料之間的關係。資料表為 M_BOM,包含 BOM 表頭與明細行。用於生產工單自動展開原料需求。
生產工單 M_Production
基礎生產工單管理,記錄生產單號、產品、BOM、異動日期、生產數量、單據類型等核心資訊。支援清單瀏覽、明細查看及文件動作(完成/作廢)。
增強型生產工單(10 Tab / 134 欄位)
針對化工製造業設計的完整生產工單畫面,以 10 個頁籤呈現 134 個欄位,涵蓋從基本資訊到品質檢驗、投料記錄、包裝日誌的全流程資料。
生產排程 M_ProductionSchedule
管理生產工單的排程資料,定義各工單的預計開始/完成日期、指派產線資源,做為生產計劃看板的資料來源。
生產計劃看板(Production Schedule Board)
甘特圖式視覺化看板,以時間軸顯示各產線的工單排程,支援工段展開、狀態色彩、KPI 統計及工單操作。適合產線監控大螢幕使用。
產線流程監控 M_WorkshopProcess
監控產線即時作業狀態,預設僅顯示未完成記錄(從 72 萬筆資料中篩選),可切換為「已完成」或「全部」檢視模式。
生產核可儀表板 M_ProductionApproval
比對生產工單的計劃數量與實際用量,差異量以高亮標示,協助品管與生管人員快速發現異常。
交貨排程 PP_DeliveryHeader
管理生產完成後的交貨排程,包含交貨表頭與明細行(PP_DeliverySchedule),追蹤每日交貨進度。
一、物料清單 BOM
每筆 BOM 記錄包含產品、BOM 類型、版本等表頭資訊,可展開查看明細行中各原料的用量比例。
明細行記錄組成原料(ProductBOM)、產品、BOM 數量、階段(Phase)、原料類型(RMType)、標準成本(CostStandard)等資訊。
操作方式
- 從儀表板「生產循環」分類進入「物料清單」模組
- 列表顯示所有 BOM 記錄,可依產品名稱搜尋
- 點擊任一 BOM 記錄查看表頭資訊
- 切換至「明細行」頁籤查看原料組成及用量
- BOM 資料由 iDempiere 後台維護,App 端僅供查閱
二、生產工單 M_Production
基礎生產工單提供標準的清單/明細檢視,適用於一般性的工單查詢與管理。
操作方式
- 從儀表板進入「生產工單」模組
- 列表以單據編號排序,支援搜尋與狀態篩選(草稿/進行中/完成)
- 點擊工單查看基本明細:單據編號、產品、BOM、異動日期、生產數量
- 草稿狀態的工單可執行文件動作(完成 Complete / 作廢 Void)
- 每頁顯示 20 筆,支援伺服器端分頁
三、增強型生產工單(10 Tab 明細)
化工製造業專用的完整生產工單畫面,將 M_Production 的 134 個欄位以 10 個頁籤清楚分類。所有 8 個子頁籤的資料透過並行載入(Future.wait),確保快速呈現。
頁籤結構
| # | 頁籤名稱 | 說明 | 主要欄位 |
|---|---|---|---|
| 1 | 基本資訊 | 工單核心資料 | DocumentNo, Product, BOM, MovementDate, ProductionQty, DocType, Description, Lot, Project, OrderLine, Locator, DocStatus |
| 2 | 製程參數 | 化工製程控制參數 | 分散轉速/時間, 充填時間, 過濾壓力, 濾材規格, 溫度, 粒度, 攪拌/迴流, 批次大小/批次數 |
| 3 | IPQC | 製程中品質檢驗 | IsIPQCPass, IsBubblePassed, IPQC_Action, 回饋欄位, QC 人員 |
| 4 | 明細行 | M_ProductionLine 投入/產出 | Product, Locator, PlannedQty, MovementQty, QtyUsed, Phase, IsEndProduct |
| 5 | 核可 | M_ProductionApproval 核可記錄 | Product, Qty, QtyPlan, QtyUsed, Ratio, RuleApproved |
| 6 | BOM | M_Production_BOM 用料展開 | ProductBOM, Product, BOMQty, Phase, RMType, CostStandard |
| 7 | 投料記錄 | M_ProductionLineFeeded | Product, Locator, Lot, QtyUsed |
| 8 | 產線記錄 | M_WorkshopProcess 產線日誌 | Name, Node, StartTime, PlannedQty, QtyUsed, StirGroup, StirMinutes |
| 9 | 修改記錄 | PP_Modification 工單變更 | Name, Description, DocStatus |
| 10 | 包裝記錄 | PP_PackingLog 包裝日誌 | PackNo, Qty, User |
操作方式
- 從儀表板進入「增強型生產工單」模組
- 列表顯示所有工單,支援搜尋(單據編號/產品名稱)與狀態篩選
- 點擊工單進入 10 頁籤明細畫面
- 左右滑動切換頁籤,或點擊頁籤標題快速跳轉
- 「核可」頁籤可查看計劃用量與實際用量的比對結果
- 「投料記錄」頁籤追蹤每次實際投入的原料批號與數量
- 「IPQC」頁籤顯示製程中品檢結果,紅色標示不合格項目
四、生產排程 M_ProductionSchedule
生產排程管理各工單在產線上的時間安排,是生產計劃看板的資料基礎。
操作方式
- 從儀表板進入「生產排程」模組
- 列表顯示排程記錄,含工單、產線資源、排定日期
- 支援依名稱搜尋及狀態篩選
- 點擊查看排程明細:指派產線、計劃日期、預計數量
- 排程資料通常由 MES 系統自動產生,也可手動建立或調整
五、生產計劃看板(Production Schedule Board)
甘特圖式視覺化看板,從 iDempiere MES 插件移植 WProductionSchedule 功能。以雙層時間軸呈現各產線的工單排程,適合產線監控、進度追蹤與工段管理。
甘特圖時間軸
展開模式(按下 ▼):產線列展開為 4 個工段子列 — 發料 / 裁剪 / 縫製 / 包裝,工單依當前工段分列顯示。
收合模式(按下 ▶):產線以單列顯示所有工單,以工段圖示區分。
工單色塊依進度狀態上色:綠色=已完成、藍色=進行中、紅色=逾期、橘色=風險、灰色=草稿。每個色塊顯示工段圖示 + 產品代號 + 進度條。
工段配置
| 工段 | 圖示 | 色彩 | 說明 |
|---|---|---|---|
| 發料 Material Issue | 🧱 | 藍色 #2196f3 | 原料備料與發放 |
| 裁剪 Cutting | ✂️ | 紅色 #f44336 | 原料裁切作業 |
| 縫製 Sewing | 🧵 | 紫色 #9c27b0 | 縫製組裝工段 |
| 包裝 Packing | 📦 | 橘色 #ff9800 | 成品包裝入庫 |
工具列功能
| 元件 | 說明 |
|---|---|
| 搜尋框 | 依工單號或產品名稱篩選,500ms 防抖機制避免頻繁查詢 |
| 週期選擇器 | Day / Week / Month 三種時間尺度切換 |
| TV 模式 | 開啟後每 60 秒自動刷新,適用於產線大螢幕監控 |
| KPI 晶片 | 即時顯示:總工單數、已完成數(含百分比)、逾期數 |
工單操作(長按工單色塊)
| 操作 | 說明 | API 行為 |
|---|---|---|
| 變更工段 | 將工單移至指定工段(發料/裁剪/縫製/包裝) | PUT M_Production Description 欄位 |
| 更新備註 | 為工單新增或修改備註文字 | PUT M_Production Description 欄位 |
| 發料 | 建立該工單的原料發料移動單 | POST /mes/api/production/{id}/material-issue 建立 M_Movement 草稿 |
| 完工 | 完成生產工單 | POST /api/v1/processes/m_production-process 執行 DocAction |
操作方式
- 從 ERP 動態選單或首頁模組方格點選「生產計劃看板」進入
- 看板載入後顯示所有產線的工單排程,預設以「日」為單位
- 點擊產線名稱左側箭頭展開/收合工段子列
- 使用搜尋框輸入工單號或產品名稱快速定位
- 切換週期選擇器為 Week 或 Month 查看較長時間範圍
- 長按任一工單色塊開啟操作選單
- 選擇「變更工段」可將工單推進至下一工段
- 選擇「發料」建立原料移動單草稿
- 選擇「完工」執行工單完成動作
- 點擊右下角浮動按鈕(+)開啟「產生工單」對話框,批次建立新工單
- 在監控場景下,開啟 TV 模式讓畫面每 60 秒自動更新
MES API 端點
| 端點 | 方法 | 說明 |
|---|---|---|
/mes/api/timeline |
GET | 取得所有產線、工單、KPI 聚合資料(支援 search / period 參數) |
/mes/api/resource/{id}/stats |
GET | 取得指定產線的每日 KPI 統計(支援 date 參數) |
/mes/api/generate-orders |
POST | 批次產生生產工單(選擇產品與日期範圍) |
/mes/api/production/{id}/material-issue |
POST | 建立原料發料移動單(M_Movement 草稿) |
六、產線流程監控 M_WorkshopProcess
即時監控產線各工站的作業狀態。資料量龐大(超過 72 萬筆記錄),系統預設僅顯示未完成(Processed = false)的記錄,確保載入速度。
操作方式
- 從儀表板進入「產線流程監控」模組
- 預設顯示「未完成」記錄清單
- 使用篩選晶片切換至「已完成」或「全部」檢視
- 點擊記錄查看明細:名稱、節點、開始時間、計劃量、實際量、攪拌群組、攪拌分鐘數
- 支援搜尋與伺服器端分頁(每頁 20 筆)
七、生產核可儀表板 M_ProductionApproval
專為品管與生管人員設計的核可畫面。自動比對生產工單的計劃數量與實際使用量,差異超過允許範圍時以高亮色彩標示,方便快速辨識異常。
操作方式
- 從儀表板進入「生產核可儀表板」模組
- 列表顯示待核可的生產工單,差異項目以醒目色彩標示
- 點擊查看核可明細:產品、計劃量(QtyPlan)、實際量(QtyUsed)、比率(Ratio)
- 確認無異常後執行核可動作(RuleApproved)
- 支援搜尋與狀態篩選
八、其他生產畫面
以下 9 個輔助畫面皆採用 Config-Driven 架構,提供標準的清單/明細/搜尋/分頁/狀態篩選功能。
| # | 畫面名稱 | 資料表 | 說明 |
|---|---|---|---|
| 1 | 生產節點 | M_ProductionNode | 定義生產流程中的各節點(工站),做為產線排程與監控的基礎設定 |
| 2 | 參數群組 | M_ProductionParameter_Group | 將相關的製程參數組成群組,便於統一管理與套用 |
| 3 | 參數參考 | M_ProductionParameter_Ref | 定義製程參數的參考值、標準範圍與單位 |
| 4 | 生產保留 | M_ProductionReserve | 記錄為特定生產工單保留的原料或產能資源 |
| 5 | 預排程生產 | M_Production | 預先排入排程的生產工單,尚未正式開始生產 |
| 6 | 生產回溯 | M_Production | 追溯已完成工單的生產記錄(M_Production_Record 子記錄),用於品質追蹤與問題分析 |
| 7 | 標籤列印 | M_Production | 管理生產工單的標籤列印需求 |
| 8 | 重工生產 | M_Production | 記錄需要重工的生產工單,追蹤重工原因與結果 |
| 9 | 樣品生產 | M_Production | 管理樣品製作工單,獨立於正式生產工單的追蹤流程 |
補充畫面
| 畫面名稱 | 資料表 | 說明 |
|---|---|---|
| 生產事件 | M_Production_Event | 記錄生產過程中的事件(設備故障、品質異常等),支援 IsAuthorized 授權狀態篩選 |
| 交貨排程 | PP_DeliveryHeader | 管理交貨排程表頭,含 PP_DeliverySchedule 明細行記錄每日交貨數量 |
通用操作方式(Config-Driven 畫面)
- 從儀表板「生產循環」分類中選擇目標模組
- 進入清單畫面,支援搜尋(依名稱/單據編號)
- 使用狀態篩選晶片快速篩選記錄
- 點擊任一記錄查看完整明細
- 如有子記錄頁籤(如生產回溯的 M_Production_Record),可切換頁籤查看
- 支援文件動作(依單據狀態提供 Complete / Void 按鈕)
- 列表每頁 20 筆,向下捲動自動載入下一頁
九、交貨排程 PP_DeliveryHeader
交貨排程管理生產完成後的出貨計劃,以表頭/明細行結構記錄。
操作方式
- 從儀表板進入「交貨排程」模組
- 列表顯示交貨排程表頭記錄
- 點擊查看表頭資訊與交貨明細行(PP_DeliverySchedule)
- 明細行包含各日期的預計交貨數量
- 支援搜尋與狀態篩選
效能與技術注意事項
所有清單畫面採用伺服器端分頁(每頁 20 筆,使用 $top/$skip),避免一次載入大量資料。
產線流程監控(M_WorkshopProcess)資料量超過 72 萬筆,預設以 Processed=false 篩選,確保畫面快速載入。
增強型生產工單的 8 個子頁籤透過 Future.wait 並行載入,大幅縮短等待時間。
生產計劃看板採用混合 API 策略:複雜聚合用自訂 MES 端點(/mes/api/),簡單 CRUD 用標準 OData API。共用同一 JWT 認證。
🌐 English Version
Production Cycle Operation Manual
This manual covers all modules in the Production Cycle of the iDempiere ERP mobile app, including Bill of Materials, Production Orders, Production Scheduling, Production Schedule Board, Production Line Monitoring, Approval Dashboard, and auxiliary functions. A total of 21 production screens designed for complete production management in chemical manufacturing.
Module Overview
Bill of Materials (BOM)
Manage product BOMs (M_BOM table) that define the relationship between finished products and their component materials. Used for automatic material requirement expansion in production orders.
Production Order (M_Production)
Basic production order management with document number, product, BOM, movement date, production quantity, and document type. Supports list browsing, detail view, and document actions (Complete/Void).
Enhanced Production Order (10 Tabs / 134 Fields)
Comprehensive production order screen designed for chemical manufacturing, presenting 134 fields across 10 tabs covering everything from basic info to quality inspection, material feeding, and packing logs.
Production Schedule (M_ProductionSchedule)
Manage production order scheduling data including planned start/completion dates and production line resource assignments. Serves as the data source for the Production Schedule Board.
Production Schedule Board
Gantt-style visual board displaying production order schedules across production lines on a timeline. Supports stage expansion, status coloring, KPI statistics, and order operations. Ideal for shop floor monitoring screens.
Workshop Process Monitor (M_WorkshopProcess)
Real-time monitoring of production line workstation status. Defaults to showing only unprocessed records (filtered from 727K+ records). Switchable to “Completed” or “All” view.
Production Approval Dashboard (M_ProductionApproval)
Compare planned vs. actual quantities in production orders with discrepancy highlighting for quick anomaly detection by QC and production management staff.
Delivery Schedule (PP_DeliveryHeader)
Manage delivery schedules after production completion, with header and detail lines (PP_DeliverySchedule) tracking daily delivery progress.
1. Bill of Materials (BOM)
How to Use
- Navigate to “Bill of Materials” from the Production Cycle category on the dashboard
- The list displays all BOM records; search by product name
- Tap any BOM record to view header information
- Switch to the “Lines” tab to view component materials and quantities
- BOM data is maintained in iDempiere backend; the app provides read-only access
2. Production Order (M_Production)
How to Use
- Navigate to “Production Order” from the dashboard
- List is sorted by document number; supports search and status filters (Draft/In Progress/Completed)
- Tap an order to view details: Document No., Product, BOM, Movement Date, Production Qty
- Draft orders support document actions (Complete / Void)
- Server-side pagination at 20 records per page
3. Enhanced Production Order (10 Tabs)
Complete production order screen for chemical manufacturing with 134 fields across 10 tabs. All 8 child tab data sources are loaded in parallel via Future.wait for fast rendering.
Tab Structure
| # | Tab Name | Description |
|---|---|---|
| 1 | Basic Info | DocumentNo, Product, BOM, MovementDate, ProductionQty, DocType, Lot, Project, DocStatus |
| 2 | Mfg Params | Dispersing RPM/Time, Filling Time, Filtration Pressure, Temperature, Particle, Batch Size |
| 3 | IPQC | In-Process QC: IsIPQCPass, IsBubblePassed, IPQC_Action, Feedback, QC User |
| 4 | Lines | M_ProductionLine: Product, Locator, PlannedQty, MovementQty, QtyUsed, Phase |
| 5 | Approval | M_ProductionApproval: Product, Qty, QtyPlan, QtyUsed, Ratio, RuleApproved |
| 6 | BOM | M_Production_BOM: ProductBOM, BOMQty, Phase, RMType, CostStandard |
| 7 | Feeded | M_ProductionLineFeeded: Product, Locator, Lot, QtyUsed |
| 8 | Workshop Log | M_WorkshopProcess: Name, Node, StartTime, PlannedQty, StirGroup, StirMinutes |
| 9 | Modifications | PP_Modification: Name, Description, DocStatus |
| 10 | Packing | PP_PackingLog: PackNo, Qty, User |
How to Use
- Navigate to “Enhanced Production Order” from the dashboard
- Search by document number or product name; filter by status
- Tap an order to enter the 10-tab detail screen
- Swipe left/right or tap tab titles to switch between tabs
- Use the “Approval” tab to review planned vs. actual quantities
- Use the “Feeded” tab to track material lot numbers and quantities
- The “IPQC” tab displays in-process QC results; failures are highlighted in red
4. Production Schedule Board
Gantt-style visual board ported from the iDempiere MES plugin (WProductionSchedule). Features a dual-layer timeline showing production line schedules with stage expansion, status colors, and KPI tracking.
Stage Configuration
| Stage | Color | Description |
|---|---|---|
| Material Issue | Blue (#2196f3) | Raw material preparation and issuance |
| Cutting | Red (#f44336) | Material cutting operations |
| Sewing | Purple (#9c27b0) | Sewing and assembly stage |
| Packing | Orange (#ff9800) | Finished goods packing |
Order Operations (Long-press on order block)
| Operation | Description |
|---|---|
| Change Stage | Move order to specified stage (Material Issue / Cutting / Sewing / Packing) |
| Update Notice | Add or modify notice text for the order |
| Material Issue | Create draft M_Movement for raw material issuance |
| Complete | Complete the production order (execute DocAction) |
How to Use
- Enter from the ERP dynamic menu or the dashboard module grid
- The board loads all production line schedules, defaulting to “Day” view
- Tap the arrow next to a production line name to expand/collapse stage sub-rows
- Use the search box to filter by order number or product name
- Switch the period selector to Week or Month for longer time ranges
- Long-press any order block to open the context menu
- Tap the FAB (+) button to batch-generate new production orders
- Enable TV mode for auto-refresh every 60 seconds on monitoring screens
MES API Endpoints
| Endpoint | Method | Description |
|---|---|---|
/mes/api/timeline |
GET | Fetch all production lines, orders, and KPI aggregation (supports search & period params) |
/mes/api/resource/{id}/stats |
GET | Fetch daily KPI stats for a specific production line |
/mes/api/generate-orders |
POST | Batch-generate production orders |
/mes/api/production/{id}/material-issue |
POST | Create draft M_Movement for material issuance |
5. Workshop Process Monitor
How to Use
- Navigate to “Workshop Process Monitor” from the dashboard
- Default view shows only unprocessed records (filtered from 727K+ total records)
- Use filter chips to switch to “Completed” or “All” views
- Tap a record to view details: Name, Node, Start Time, Planned Qty, Actual Qty, Stir Group, Stir Minutes
- Supports search and server-side pagination (20 per page)
6. Production Approval Dashboard
How to Use
- Navigate to “Production Approval Dashboard” from the dashboard
- List displays orders pending approval; discrepancies are highlighted
- Tap to view approval details: Product, Planned Qty, Actual Qty, Ratio
- Execute approval action (RuleApproved) after confirming no anomalies
7. Auxiliary Production Screens
Nine additional Config-Driven screens providing standard list/detail/search/pagination/status filter functionality:
| Screen | Table | Description |
|---|---|---|
| Production Node | M_ProductionNode | Define production flow nodes (workstations) |
| Parameter Groups | M_ProductionParameter_Group | Group related manufacturing parameters |
| Parameter Reference | M_ProductionParameter_Ref | Define parameter reference values and standard ranges |
| Production Reserve | M_ProductionReserve | Record material or capacity reservations for orders |
| Pre-scheduled Production | M_Production | Pre-scheduled orders not yet in active production |
| Production BackTracking | M_Production | Trace completed order records for quality tracking |
| Label Print | M_Production | Manage label printing requirements for orders |
| Rework | M_Production | Track rework orders with reasons and outcomes |
| Sample Production | M_Production | Manage sample production orders separately from regular production |
8. Delivery Schedule (PP_DeliveryHeader)
How to Use
- Navigate to “Delivery Schedule” from the dashboard
- List displays delivery schedule headers
- Tap to view header info and delivery detail lines (PP_DeliverySchedule)
- Detail lines include planned delivery quantities per date
- Supports search and status filters
Performance Notes
- Server-side Pagination: All list screens use $top/$skip with 20 records per page
- Large Dataset Handling: Workshop Process Monitor defaults to Processed=false filter (727K+ records)
- Parallel Data Loading: Enhanced Production Order loads 8 child tabs in parallel via Future.wait
- Hybrid API: Schedule Board uses custom MES endpoints for aggregation and standard OData for CRUD, sharing the same JWT authentication
🇯🇵 日本語版
生産サイクル操作マニュアル
本マニュアルは、iDempiere ERP モバイルアプリの生産サイクル(Production Cycle)に含まれる全モジュールの操作説明をカバーしています。部品表(BOM)、製造指図、生産スケジューリング、生産計画ボード、生産ライン監視、承認ダッシュボードおよび各種補助機能を含む計21画面で、化学製造業の完全な生産管理フローに対応します。
モジュール一覧
部品表 BOM(Bill of Materials)
製品のBOM(M_BOMテーブル)を管理し、完成品と構成原材料の関係を定義します。製造指図での原材料所要量の自動展開に使用されます。
製造指図(M_Production)
基本的な製造指図管理。伝票番号、製品、BOM、移動日、生産数量、伝票タイプ等のコア情報を記録。一覧表示、詳細表示、伝票アクション(完了/無効化)をサポート。
拡張製造指図(10タブ / 134フィールド)
化学製造業向けの包括的な製造指図画面。134フィールドを10タブで分類表示し、基本情報から品質検査、投入記録、梱包ログまでの全工程データをカバーします。
生産スケジュール(M_ProductionSchedule)
製造指図のスケジュールデータを管理。計画開始/完了日、生産ラインリソースの割り当てを定義。生産計画ボードのデータソースとなります。
生産計画ボード(Production Schedule Board)
ガントチャート式ビジュアルボード。タイムラインに各生産ラインの指図スケジュールを表示。工程展開、ステータス色分け、KPI統計、指図操作をサポート。工場モニタリングに最適。
生産ライン工程監視(M_WorkshopProcess)
生産ラインのリアルタイム作業状況を監視。デフォルトで未完了レコードのみ表示(72万件以上からフィルタリング)。「完了」「全件」表示に切替可能。
生産承認ダッシュボード(M_ProductionApproval)
計画数量と実績数量を比較し、差異をハイライト表示。品質管理・生産管理担当者の迅速な異常検出を支援します。
納品スケジュール(PP_DeliveryHeader)
生産完了後の納品スケジュールを管理。ヘッダーと明細行(PP_DeliverySchedule)で日次の納品進捗を追跡します。
1. 拡張製造指図(10タブ詳細)
タブ構成
| # | タブ名 | 説明 |
|---|---|---|
| 1 | 基本情報 | 伝票番号、製品、BOM、移動日、生産数量、伝票タイプ、ロット、プロジェクト |
| 2 | 製造パラメータ | 分散回転数/時間、充填時間、濾過圧力、温度、粒度、バッチサイズ |
| 3 | IPQC | 工程内品質検査:合否判定、気泡検査、QCアクション、フィードバック |
| 4 | 明細行 | M_ProductionLine:製品、ロケーター、計画数量、移動数量、使用数量 |
| 5 | 承認 | M_ProductionApproval:製品、数量、計画数量、使用数量、比率 |
| 6 | BOM | M_Production_BOM:BOM製品、BOM数量、フェーズ、原材料タイプ |
| 7 | 投入記録 | M_ProductionLineFeeded:製品、ロケーター、ロット、使用数量 |
| 8 | 生産ラインログ | M_WorkshopProcess:名前、ノード、開始時間、計画数量、攪拌グループ |
| 9 | 変更記録 | PP_Modification:名前、説明、伝票ステータス |
| 10 | 梱包記録 | PP_PackingLog:梱包番号、数量、ユーザー |
2. 生産計画ボード
工程構成
| 工程 | 色 | 説明 |
|---|---|---|
| 資材発行 | 青 (#2196f3) | 原材料の準備と発行 |
| 裁断 | 赤 (#f44336) | 原材料の裁断作業 |
| 縫製 | 紫 (#9c27b0) | 縫製・組立工程 |
| 梱包 | 橙 (#ff9800) | 完成品の梱包 |
指図操作(指図ブロック長押し)
| 操作 | 説明 |
|---|---|
| 工程変更 | 指図を指定工程に移動 |
| 備考更新 | 指図に備考テキストを追加・編集 |
| 資材発行 | 原材料移動伝票(M_Movement)の下書きを作成 |
| 完了 | 製造指図を完了(DocAction実行) |
操作方法
- ERPダイナミックメニューまたはダッシュボードのモジュールグリッドから「生産計画ボード」に移動
- ボードが全生産ラインのスケジュールを読み込み、デフォルトは「日」表示
- 生産ライン名の左矢印をタップして工程サブ行を展開/折りたたみ
- 検索ボックスで指図番号または製品名でフィルタリング
- 期間セレクターをWeek/Monthに切替で長期表示
- 指図ブロックを長押ししてコンテキストメニューを開く
- FAB(+)ボタンで新規指図を一括生成
- TVモードを有効にすると60秒ごとに自動更新(モニタリング画面用)
3. 補助生産画面
| 画面 | テーブル | 説明 |
|---|---|---|
| 生産ノード | M_ProductionNode | 生産フローのノード(ワークステーション)を定義 |
| パラメータグループ | M_ProductionParameter_Group | 関連する製造パラメータをグループ化 |
| パラメータ参照 | M_ProductionParameter_Ref | パラメータの参照値と標準範囲を定義 |
| 生産予約 | M_ProductionReserve | 指図向けの原材料・能力の予約を記録 |
| 事前スケジュール生産 | M_Production | 事前にスケジュールされた未開始の指図 |
| 生産追跡 | M_Production | 完了指図の生産記録を追跡(品質追跡用) |
| ラベル印刷 | M_Production | 指図のラベル印刷要件を管理 |
| 再作業 | M_Production | 再作業指図の追跡(理由と結果) |
| サンプル生産 | M_Production | サンプル製作指図の管理 |
| 生産イベント | M_Production_Event | 生産中のイベント記録(設備故障、品質異常等) |
| 納品スケジュール | PP_DeliveryHeader | 納品スケジュールの管理(日次納品数量) |
パフォーマンスに関する注意事項
- サーバーサイドページネーション:全一覧画面で$top/$skipによる20件/ページのページネーション
- 大量データ処理:生産ライン工程監視はProcessed=falseフィルタをデフォルト適用(72万件以上)
- 並列データ読込:拡張製造指図の8つの子タブはFuture.waitで並列読込
- ハイブリッドAPI:生産計画ボードは集計にカスタムMESエンドポイント、CRUDに標準OData APIを使用(同一JWT認証を共有)