How to Add a Part Number
This guide walks you through adding a new part number to the application.
Prerequisites
- You must be logged in as a superuser (admin) to add part numbers
- Regular users can view part numbers but cannot create or modify them
Steps to Add a Part Number
1. Navigate to Part Numbers
From the main navigation, click on Part Numbers (or go to /part-numbers).
2. Click "Add Part"
On the Part Numbers page, click the Add Part button in the top-right corner.
Note: If you don't see the "Add Part" button, you may not have admin permissions.
3. Fill in the Part Information
Required Fields
| Field | Description | Example |
|---|---|---|
| Part Number | Unique identifier for the part | PN-12345, ABC-001 |
Optional Fields
| Field | Description | Example |
|---|---|---|
| Part Photo / Drawing | Image or PDF of the part drawing | Upload an image or PDF file |
4. Configure Measurement Specifications (Q1-Q8)
The application supports up to 8 different measurement specifications (Q1 through Q8). Each measurement specification has three fields:
| Field | Description | Example |
|---|---|---|
| Description | Name of the measurement | Outer Diameter, Length, Width |
| Minimum (in) | Minimum acceptable value in inches | 0.9823 |
| Maximum (in) | Maximum acceptable value in inches | 0.9863 |
Example Measurement Configuration
For a part that requires checking the outer diameter:
- Q1 Description:
Outer Diameter - Q1 Minimum:
0.9823 - Q1 Maximum:
0.9863
Tip: You don't need to fill in all 8 measurements. Only configure the measurements relevant to your part.
5. Upload a Photo or Drawing (Optional)
You can optionally upload a part photo or drawing:
- Click the file input under "Part Photo / Drawing"
- Select an image file (JPG, PNG, GIF, WEBP) or PDF
- The image will be displayed on the part details page and during data entry
6. Submit the Form
Click the Create Part button at the bottom of the form. You'll be redirected to the part details page upon successful creation.
After Adding a Part
Once a part is created, you can:
- Add Lot Numbers - Track different production lots for this part
- Record Measurements - Enter quality control measurements via the Data Input page
- View Reports - Analyze measurement data and pass/fail rates
Editing a Part
To edit an existing part:
- Go to Part Numbers
- Click on the part you want to edit
- Click the Edit button
- Make your changes
- Click Save Changes
Deleting a Part
⚠️ Warning: Deleting a part will also delete all associated lot numbers and measurements. This action cannot be undone.
- Go to the part's detail page
- Click Edit
- Click the Delete Part button
- Confirm the deletion
Troubleshooting
"Only admins can create part numbers" error
You're logged in as a regular user. Contact your administrator to:
- Grant you admin access, or
- Create the part number for you
Part number already exists
Each part number must be unique. Check if the part already exists in the system.
Photo not uploading
- Ensure the file is an image (JPG, PNG, GIF, WEBP) or PDF
- Check that the file size isn't too large (typically under 10MB)