# Product Model Management ## 1. Function Overview Product Model Management belongs to the basic module of the MES system. It is used to build core data such as product classification, product basic information, and abnormal/defect categories for the enterprise, providing product basic data support for production planning, work order execution, quality management, and other business modules. **Core Functions:** - Product List: Maintain basic product information, support product classification management and multi-level product structure - Abnormal/Defect Management: Maintain abnormal/defect categories for products, bind device categories for quality anomaly recording during production **Function Screenshot**: ![Product Model Function Screenshot](/public/image_en/product_model/图片:产品模型功能截图.png) ## 2. Term Explanation | Term | Definition | Description | |------|------------|-------------| | Product List | Product List, records basic product information and classification | Basic data for production execution and quality management | | Abnormal/Defect | Abnormal/Defect, abnormal situations occurring during production | Including NG (Not Good) and ERR (Error) types | | Defect Category | Defect Category, classification management of abnormal/defects | Used to distinguish different types of abnormalities | | Device Category | Device Category, classification management of devices | Abnormal/defects are bound to device categories for anomaly recording on specific devices | | NG | Not Good, non-conforming product | Products judged as non-conforming during production | | ERR | Error, error | Error information occurring during system or device operation | **Data Model Relationship Description:** ```mermaid flowchart TB subgraph Product List P1[Product] P2[Product] end subgraph Process Flow PF1[Process Flow A] PF2[Process Flow B] end subgraph Abnormal/Defect Management D1[NG Defect Category] D2[ERR Error Category] end subgraph Device Category DC1[Device Category] DC2[Device Category] end P1 -->|1:N| PF1 P2 -->|1:N| PF2 DC1 -->|1:N| D1 DC2 -->|1:N| D2 ``` **Relationship Description:** | Relationship Type | Description | |------------------|-------------| | Product List → Process Flow | **1 to N**: A product can be configured with multiple process flows | | Device Category → Abnormal/Defect Management | **1 to N**: A device category can be configured with multiple abnormal/defect categories | ## 3. Product Model Interaction Flow ### 3.1 Product List Management #### 3.1.1 Product List Description Product list is core data recording basic product information, including product model, product name, etc. It is the foundation of enterprise production execution and quality management. **Product List Characteristics:** - Relevance: Product information can be referenced by process flows **Function Screenshot**: ![Product List Screenshot](/public/image_en/product_model/图片:产品列表截图.png) #### 3.1.2 Add Product **Operation Steps:** 1. Go to [Production Configuration] → [Product Model] → [Product List] 2. Click [Add] button 3. Fill in basic product information 4. Click [Save] to complete product creation **Field Description:** | Field | Description | Required | |-------|-------------|----------| | Product Model | Unique identification code of the product | Yes | | Product Name | Name of the product | Yes | | Remarks | Other supplementary information | No | **[Important]** The product model cannot be modified after creation. Please confirm carefully when creating. **[Important]** Once a product is referenced by a process flow or work order, it cannot be deleted. **Function Screenshot**: ![Add Product Screenshot](/public/image_en/product_model/图片:新增产品截图.png) #### 3.1.3 Product Query **Query Conditions:** | Query Condition | Description | |----------------|-------------| | Product Model | Exact query by product model | | Product Name | Fuzzy query by product name | | Product Category | Filter by product category | **Function Screenshot**: ![Product Query List Screenshot](/public/image_en/product_model/图片:产品查询列表截图.png) ### 3.2 Abnormal/Defect Management #### 3.2.1 Abnormal/Defect Management Description Abnormal/Defect Management is used to record abnormal situations occurring during production, including two types: NG (Not Good - non-conforming products) and ERR (Error - errors). Abnormal/defect categories are bound to device categories for anomaly recording in specific device processes. **Abnormal/Defect Types:** | Type | Description | |------|-------------| | NG | Not Good, non-conforming product, products judged as non-conforming during production | | ERR | Error, system or device runtime errors | **Function Screenshot**: ![Abnormal/Defect Management List Screenshot](/public/image_en/product_model/图片:异常不良管理列表截图.png) #### 3.2.2 Add Abnormal/Defect Category **Operation Steps:** 1. Go to [Production Configuration] → [Product Model] → [Abnormal/Defect Management] 2. Click [Add] button 3. Select abnormal type (NG/ERR) 4. Fill in abnormal/defect category information 5. Select the bound device category 6. Click [Save] to complete abnormal/defect category creation **Field Description:** | Field | Description | Required | |-------|-------------|----------| | Abnormal Category Code | Unique identification code of the abnormal category | Yes | | Abnormal Category Name | Name of the abnormal category, e.g., "Short Circuit", "Open Circuit" | Yes | | Abnormal Type | NG (Non-conforming) / ERR (Error) | Yes | | Device Category | Bound device category for anomaly recording on specific devices | Yes | | Remarks | Other supplementary information | No | **[Important]** The abnormal category code cannot be modified after creation. **[Important]** Once an abnormal/defect category is used, it cannot be deleted. **Function Screenshot**: ![Add Abnormal/Defect Category Screenshot](/public/image_en/product_model/图片:新增异常不良类别截图.png) #### 3.2.3 Abnormal/Defect Category Query **Query Conditions:** | Query Condition | Description | |----------------|-------------| | Abnormal Category Code | Exact query by abnormal category code | | Abnormal Category Name | Fuzzy query by abnormal category name | | Abnormal Type | Filter by abnormal type: NG / ERR | | Device Category | Filter by bound device category | **Function Screenshot**: ![Abnormal/Defect Category Query List Screenshot](/public/image_en/product_model/图片:异常不良类别查询列表截图.png) #### 3.2.4 Import Abnormal/Defect Categories The import function supports batch importing abnormal/defect category data to improve data maintenance efficiency. **Operation Steps:** 1. Go to [Production Configuration] → [Product Model] → [Abnormal/Defect Management] 2. Click [Import] button 3. Download the import template 4. Fill in abnormal/defect category data according to the template format 5. Click [Select File] to upload the completed Excel file 6. Click [Start Import] to execute data import 7. View the import result report **Import Template Field Description:** | Field | Description | Required | Example | |-------|-------------|----------|---------| | Abnormal Category Code | Unique identification code of the abnormal category | Yes | NG-001 | | Abnormal Category Name | Name of the abnormal category | Yes | Short Circuit | | Abnormal Type | NG (Non-conforming) / ERR (Error) | Yes | NG | | Device Category Code | Bound device category code | Yes | DEV-SMT | | Remarks | Other supplementary information | No | - | **[Note]** Ensure the device category exists before importing. **[Tip]** It is recommended to import a small amount of data first for verification, and then perform large-scale import after confirming the format is correct. **Function Screenshot**: ![Import Abnormal/Defect Category Dialog Screenshot](/public/image_en/product_model/图片:导入异常不良类别对话框截图.png) #### 3.2.5 Batch Delete Abnormal/Defect Categories The batch delete function supports deleting multiple abnormal/defect categories at once to improve data cleaning efficiency. **Operation Steps:** 1. Go to [Production Configuration] → [Product Model] → [Abnormal/Defect Management] 2. Check the abnormal/defect categories to delete in the list (multiple selection allowed) 3. Click [Batch Delete] button 4. Confirm deletion in the pop-up confirmation dialog 5. Click [OK] to execute batch deletion **[Note]** Used abnormal/defect categories cannot be deleted. **[Note]** Delete operations cannot be recovered. Please confirm carefully before deleting. **[Tip]** It is recommended to query whether the category has been referenced by work orders or anomaly records before deletion. **Function Screenshot**: ![Batch Delete Confirmation Dialog Screenshot](/public/image_en/product_model/图片:批量删除确认对话框截图.png) ### 3.3 Abnormal/Defect Management Description Abnormal/Defect Management is independent of products and process flows, and only has a binding relationship with device categories. Abnormal/defect categories are used to record abnormal situations occurring in devices during production. **[Important]** Abnormal/Defect Management is not associated with process flows, but is directly bound to device categories. **[Important]** Multiple abnormal/defect categories can be bound to the same device category to achieve unified management of anomaly classification.