On this page
Inspection plans and code sets
Overview
An inspection plan defines what is measured in a lot (QM1):
- Quantitative characteristic: a unit, a lower limit, an upper limit and a target value. A result conforms if it's between the limits, inclusive. An empty limit is open (QM12).
- Qualitative characteristic: a code set. A result conforms if its code is accepted.
- Mandatory: if a mandatory characteristic fails, the lot is rejected.
- Sampling: Fixed quantity, Percentage (rounded up to whole units, with a minimum of one unit) or Whole lot (QM11).
Permissions
| Action | Key | Label |
|---|---|---|
| View | quality.inspection_plan.view | Quality Setup Lab Test - View |
| Add a plan or version | quality.inspection_plan.create | Quality Setup Lab Test - Create |
| Edit a draft | quality.inspection_plan.update | Quality Setup Lab Test - Update |
| Release and retire | quality.inspection_plan.post | Quality Setup Lab Test - Post |
| Delete a draft | quality.inspection_plan.delete | Quality Setup Lab Test - Delete |
Code sets use the same permissions as inspection plans.
Code sets
Select New code set and enter the code and the name in both languages. Then, in the table, add a code for each possible result (such as OK and TURBID) and tick Accepted where it applies.
- A code set needs at least one accepted code.
- A code set that's used in a plan can't be deleted.
Create an inspection plan
- Select New plan. Enter the code, the name in both languages, Valid from and the sampling method.
- In the characteristics table, add a line for each characteristic: the code, the name in both languages, the type, the unit, the limits or code set, Mandatory and the Test method. Press Enter in the last cell to add a new line.
- Save, then choose Release from the menu.
A released plan can't be edited. To change it, select New version with a later effective date and release it. Then Retire the old version if you need to.
Each lot takes a copy of the version that's current on its date, so changing a plan doesn't affect open lots.