---
title: "Block and Unblock Lot Transactions in Quality Inspector"
app: "Quality Inspector"
section: "How-to guides"
last_updated: "2026-10-19"
url: "https://insight-works.com/kb/quality-inspector/block-and-unblock-lot-transactions-in-quality-inspector/"
---

# Block and Unblock Lot Transactions in Quality Inspector

[Video: Business Central and Quality Inspector App Mastering Automated Lot Blocking and Unblocking](https://www.youtube.com/watch?v=Ui6uK7ZIfp8)

 Note: See also [_Restrict the Use of a Lot Transaction When a Test Fails in Quality Inspector_](/kb/quality-inspector/restrict-the-use-of-a-lot-transaction-when-a-test-fails-in-quality-inspector/).

Quality Inspector provides multiple methods for controlling the availability of inventory based on the quality inspection resulting grade.

The workflow examples below also apply to serial numbers and package numbers. Select the corresponding Block Serial in the Test or Block Package in the Test response, and its matching unblock response, to control the Blocked field on the associated Serial No. Information, Lot No. Information, or Package No. Information record in Business Central. The Quality Inspection Test must identify the tracking number being controlled. This allows individual serialized units, lots, or complete packages to remain on quality hold while inspection is in progress and be released automatically when the inspection passes.  Grade level blocking will also work for lots, serials, or package tracked items.

You can:

- Automatically block or unblock lots by using workflow responses.
- Block inventory immediately when a quality inspection test is created with a workflow.
- Block inventory immediately when a quality inspection test fails with a workflow.
- Unblock inventory immediately when a quality inspection passes.
- Use License Plate Management quarantine processes to control inventory movement at the license plate level.

## Example: Block a Lot When a Quality Inspection Test Fails

1. Navigate to **Workflows**.
2. Create a new workflow.
3. In the **When Event** column, choose **A Quality Inspection Test is Finished**.
4. In the **On Condition** column, create a filter where **Grade Code** equals **FAIL**.
5. In the **Then Response** column, choose **Block Lot in the Test**.
6. Enable the workflow.

When the Quality Inspection Test has finished and has the **FAIL** grade, the workflow automatically blocks the lot using Business Central’s standard lot blocking functionality.

## Example: Block a Lot When a Quality Inspection Test Is Created

1. Navigate to **Workflows**.
2. Create a new workflow.
3. In the **When Event** column, choose **A Quality Inspection Test is Created**.
4. In the **Then Response** column, choose **Block Lot in the Test**.
5. Enable the workflow.

When a Quality Inspection Test is created, the workflow immediately blocks the lot. This approach is commonly used when inventory must remain unavailable until testing has been completed.

## Example: Unblock a Lot When a Quality Inspection Test Passes

1. Navigate to **Workflows**.
2. Create a new workflow.
3. In the **When Event** column, choose **A Quality Inspection Test is Finished**.
4. In the **On Condition** column, create a filter where **Grade Code** equals **PASS**.
5. In the **Then Response** column, choose **Unblock Lot in the Test**.
6. Enable the workflow.

When the Quality Inspection Test has finished and has the **PASS** grade, the workflow automatically removes the lot block, allowing the lot to be used in normal inventory transactions.

## Example: Block on Creation and Unblock on Pass

Many organizations combine the previous two workflows.

1. Create a workflow that blocks the lot when a Quality Inspection Test is created.
2. Create a second workflow that unblocks the lot when the Grade Code is **PASS**.

With this configuration, inventory is automatically blocked while testing is in progress and automatically released when the inspection passes.

## Example: License Plates

You can also use the License Plating capability from Insight Works to quarantine and un-quarantine the license plate that the lot is currently on.

In addition to workflows and license plating you can also configure automatic blocking for lots based on the current grade.
