Introduction to the Parametric_Quantitative Table
The parametric_quantitative table is designed to store and manage quantitative measurements and test results in a manufacturing process. This table plays a crucial role in the Serial system by capturing numerical data with associated metadata, enabling quality control, and supporting process analysis.Table Structure
The parametric_quantitative table is structured to efficiently store and relate quantitative data to other entities in the system. Here’s a detailed breakdown of its columns:| Column Name | Data Type | Constraints | Description |
|---|---|---|---|
| id | uuid | primary key, default uuid | Unique identifier for each entry |
| company_id | uuid | foreign key, not null | Reference to the company associated with the data |
| process_entry_id | uuid | foreign key, not null | Link to the specific process entry |
| unique_identifier_id | uuid | foreign key, not null | Reference to the unique identifier (e.g., serial number) |
| value | numeric | not null | The actual measured or recorded value |
| usl | numeric | nullable | Upper Specification Limit |
| lsl | numeric | nullable | Lower Specification Limit |
| is_pass | boolean | nullable | Indicates if the value is within specifications |
| is_discrete | boolean | default false | Specifies if the data is discrete or continuous |
| unit | text | nullable | The unit of measurement |
| dataset_id | uuid | foreign key, not null | Reference to the associated dataset |
| created_at | timestamp with time zone | default now(), not null | Timestamp of when the entry was created |
Usage and Functionality
The parametric_quantitative table is designed to be a comprehensive repository for quantitative data in manufacturing processes. Here are some key points about its usage:-
Quality Control: The table supports quality control processes by storing both the measured value and the specification limits (USL and LSL). The
is_passfield can be automatically calculated based on whether the value falls within these limits. - Process Analysis: By linking quantitative data to specific process entries and unique identifiers, the table enables detailed analysis of manufacturing processes over time. This is crucial for identifying trends, process capabilities, and areas for improvement.
-
Flexibility in Data Types: The
is_discretefield allows for differentiation between continuous and discrete data types, accommodating various measurement scenarios in manufacturing.
Notes
-
The table is designed with nullable
uslandlslfields, allowing for scenarios where only one or neither limit is specified for a particular measurement. -
Example usage in TypeScript:
-
The
created_atfield allows for historical tracking and time-based analysis of measurements.

