ERPNext

ERPNext

Quality Inspection

In ERPNext, you can mark your incoming, outgoing and in-process products for Quality Inspection.

To access the Quality Inspection list, go to:

Stock > Tools > Quality Inspection

1. Prerequisites

Before creating and using a Quality Inspection, it is advised that you do the following first:

  1. Create the Item.
  2. Enable the inspection criteria in the Quality tab of the Item: Inspection Required before Purchase and/or Inspection Required before Delivery. When either checkbox is enabled, the stock receipt/delivery document can be submitted only after a Quality Inspection is done against it.
  3. (Optional) Create a Quality Inspection Template. You can add the inspection parameters and acceptance criteria in the template, which are then fetched into any Quality Inspection. After saving the template, set it in the Quality Inspection Template field of the Item.

Item Quality tab

Quality Inspection Template

The parameters (for example, 'Screen Brightness (nits)') are created as Quality Inspection Parameter records, and can be grouped using a Parameter Group.

2. How to create a Quality Inspection

  1. From a draft Purchase Receipt, Subcontracting Receipt or Delivery Note, go to the Items table's Quality Inspection field and click on Create a new Quality Inspection. You can also create a Quality Inspection for a Job Card to monitor the quality of in-process items. In that case, the Quality Inspection is created for the Production Item of the Job Card.
  2. Select the Inspection Type: Incoming (purchase), Outgoing (sales), or In Process (manufacturing).
  3. Select the Reference Type: Purchase Receipt, Purchase Invoice, Subcontracting Receipt, Delivery Note, Sales Invoice, Stock Entry, or Job Card, and the Reference Name.
  4. Select the Item Code and set the Sample Size to be inspected. Only Items with inspection criteria enabled in the Item master are shown.
  5. The Quality Inspection Template set in the Item is fetched, along with its parameters in the Readings table.
  6. Enter the readings. You can change the Inspected By user and add who it is Verified By.
  7. Add any additional Remarks about the inspection.
  8. Save. The Status of each reading and of the Quality Inspection is set automatically. Submit.

Quality Inspection

Quality Inspection Readings

If any reading is rejected, the Status of the Quality Inspection is set to 'Rejected'. Depending on the Action if Quality Inspection is rejected setting in Stock Settings ('Stop' or 'Warn'), the transaction is blocked or a warning is shown.

3. Features

A single Quality Inspection consists of many quality checks (parameters). Each of these checks can be Numeric, Non-numeric or Formula Based.

3.1 Numeric Quality Checks

Numeric quality checks include all checks that require number-based readings and acceptance criteria, for example checking whether a reading is in a certain range.

By default, the checks are numeric. There are two fields, Minimum Value and Maximum Value, which define the range that each reading must be in. These fields can be set once in the Quality Inspection Template and then fetched into the Quality Inspection. Up to 10 readings (Reading 1 to Reading 10) can be entered.

If any of the readings is not within the range, the status of the row is set to 'Rejected' automatically on save. In the example below, Reading 2 (560) is above the Maximum Value (550), so the row is rejected.

Numeric reading

3.2 Non-numeric (Value-Based) Quality Checks

Non-numeric quality checks include checks that require text values or no calculations, for example checking whether the colour is white, or Yes/No values for certain parameters.

For non-numeric checks, untick the Numeric checkbox. The Acceptance Criteria Value field and the Value Based Inspection section become visible. Enter the Reading Value. The Acceptance Criteria Value can be set once in the Quality Inspection Template and then fetched into the Quality Inspection.

If the Reading Value does not match the Acceptance Criteria Value, the status of the row is set to 'Rejected' automatically on save.

3.3 Formula-Based Quality Checks

Formula-based quality checks are useful for more complex scenarios where specifying a range or an acceptance value is not enough, for example checking whether the grade of a material is A/B/C, or whether the mean of some readings is within a certain range. They can be used for both numeric and non-numeric checks.

Tick Formula Based Criteria to perform a formula-based check. Enter the Acceptance Criteria Formula, which determines whether the check is accepted or rejected. The formula can be set once in the Quality Inspection Template and then fetched into the Quality Inspection.

Formula Based Criteria

The formula depends on the reading fields:

  • For numeric readings, reading_1, reading_2 and so on, and mean (the mean of the non-empty readings), can be used in the formula.
  • For non-numeric readings, only reading_value can be used.

Here are some examples of formulas:

# Numeric
(reading_1 + reading_2) < 10   # sum of both readings is less than 10
(reading_1 + reading_2) <= 10  # sum of both readings is less than or equal to 10
mean < 15                      # mean of non-empty numeric readings is less than 15
(reading_1 * 2) < 20           # Reading 1 multiplied by 2 is less than 20
(reading_1) / 2 < 20           # Reading 1 divided by 2 is less than 20

# Non-numeric
reading_value in ("A", "B", "C")  # Reading Value is either A / B / C
reading_value != "Red"            # Reading Value is not equal to Red

Update the readings and save. The Status of the reading rows is set automatically based on the formula.

3.4 Manual Inspection

So far, all the quality checks are accepted or rejected automatically on save. In the real world, there could be cases where a check is rejected, but will still be accepted because there is some tolerance.

Such cases require the user to decide the status of the row. To avoid any system interference in such checks, tick Manual Inspection in the row (or for the whole Quality Inspection). You can then set the status manually, and it will not be changed on save. The status of the entire Quality Inspection can then also be decided by the user.

  1. Purchase Receipt
  2. Delivery Note
  3. Stock Entry
  4. Sales Invoice
  5. Purchase Invoice
  6. Job Card
Last updated 2 days ago
Was this helpful?
Thanks!