# Batch Tracking

# Batch Tracking

New future development in Huge ERP

Batch tracking in inventory management is a method used to monitor and trace groups of products that were manufactured or received together. It’s especially useful in industries like food, pharmaceuticals, and manufacturing, where tracking expiration dates, recalls, or quality issues is critical.

Here’s how it works:

<div id="bkmrk-">---

</div>##### **1. What Is a Batch?**

A **batch** (or lot) is a specific quantity of a product that is produced or received at the same time and under the same conditions. Each batch is assigned a **unique identifier** (batch number or lot number).

<div id="bkmrk--1">---

</div>##### **2. Key Components of Batch Tracking**

<div id="bkmrk-batch-number%3A-a-uniq">- **Batch Number**: A unique code assigned to a group of items.
- **Production/Receipt Date**: When the batch was made or received.
- **Expiration Date** (if applicable): Especially important for perishable goods.
- **Supplier or Manufacturer Info**: Useful for traceability.
- **Quantity**: How many units are in the batch.

---

</div>##### **3. How It Works in Inventory Systems**

<div id="bkmrk-when-items-are-recei">- When items are received or produced, they are logged into the inventory system with their batch number.
- As items are sold, used, or moved, the system tracks which batch they came from.
- If a problem arises (e.g., a recall), the system can identify: 
    - Which customers received items from the affected batch.
    - How much of the batch remains in stock.
    - Where the batch is stored.

---

</div>##### **4. Benefits of Batch Tracking**

<div id="bkmrk-traceability%3A-quickl">- **Traceability**: Quickly trace defective or expired products.
- **Compliance**: Meet regulatory requirements (e.g., FDA, ISO).
- **Inventory Accuracy**: Know exactly what’s in stock and its condition.
- **Quality Control**: Identify patterns in defects or issues.

---

</div>##### **5. Common Use Cases**

<div id="bkmrk-food-%26-beverage%3A-tra">- **Food &amp; Beverage**: Track expiration dates and recalls.
- **Pharmaceuticals**: Ensure compliance and patient safety.
- **Manufacturing**: Monitor quality and production consistency.
- **Cosmetics**: Manage shelf life and ingredient sourcing.

---

</div>#### How it works

Batch number tracking setup

<span lang="EN-US" style="mso-ansi-language: EN-US;">You cannot have serial number and batch number active at the same time, </span><span lang="EN-US" style="mso-ansi-language: EN-US;">if serial number is active then batch number must be grayed out, </span><span lang="EN-US" style="mso-ansi-language: EN-US;">same goes the other way.</span>

[![image.png](https://hugeerp10.co.za/hsofmanual/uploads/images/gallery/2026-03/scaled-1680-/2o7image.png)](https://hugeerp10.co.za/hsofmanual/uploads/images/gallery/2026-03/2o7image.png)

<div id="bkmrk--3">---

</div>#### **Example: Batch Tracking**

Imagine you run a small business that sells organic honey. You receive honey in batches from your supplier and want to track:

<div id="bkmrk-batch-number-date-re">- **Batch Number**
- **Date Received**
- **Expiration Date**
- **Quantity Received**
- **Quantity Sold**
- **Remaining Stock**

</div>##### **Excel Table Example**

<div id="bkmrk-batch-no-date-receiv"><table><thead><tr><th>Batch No</th><th>Date Received</th><th>Expiry Date</th><th>Quantity Received</th><th>Quantity Sold</th><th>Remaining Stock</th></tr></thead><tbody><tr><td>HNY001</td><td>2025-06-01</td><td>2026-06-01</td><td>100 jars</td><td>40</td><td>60</td></tr><tr><td>HNY002</td><td>2025-07-01</td><td>2026-07-01</td><td>150 jars</td><td>20</td><td>130</td></tr></tbody></table>

</div>You can use formulas to automatically calculate **Remaining Stock**:

```Latex
= [Quantity Received] - [Quantity Sold]

```

<div id="bkmrk--4"><div><div class="scriptor-paragraph">  
</div></div></div>You can also use **conditional formatting** to highlight batches nearing expiration or low stock.

Checking Batch numbers and Quantity

[![image.png](https://hugeerp10.co.za/hsofmanual/uploads/images/gallery/2025-07/scaled-1680-/YXiimage.png)](https://hugeerp10.co.za/hsofmanual/uploads/images/gallery/2025-07/YXiimage.png)

---

#### Creating Batch Numbers

This will be used in multiple places

1. GRV
2. Stock Receive
3. Credit Note
4. Bill of Materials
5. Job BOM

GRV Example

[![image.png](https://hugeerp10.co.za/hsofmanual/uploads/images/gallery/2026-03/scaled-1680-/mJoimage.png)](https://hugeerp10.co.za/hsofmanual/uploads/images/gallery/2026-03/mJoimage.png)

Batch Numbers Create

[![image.png](https://hugeerp10.co.za/hsofmanual/uploads/images/gallery/2025-07/scaled-1680-/bKSimage.png)](https://hugeerp10.co.za/hsofmanual/uploads/images/gallery/2025-07/bKSimage.png)

---

#### Invoicing Out

Invoicing out a warehouse

[![image.png](https://hugeerp10.co.za/hsofmanual/uploads/images/gallery/2026-03/scaled-1680-/kP5image.png)](https://hugeerp10.co.za/hsofmanual/uploads/images/gallery/2026-03/kP5image.png)

The Default Cursor is on Scan Batch No, if you scan multiple times, it will add 1 to the Doc Qty.

If you put the tick on next to the Scan Batch No, then after the scan a pop up will appear to put in a quantity.

The Warehouse filter is defaulted to the line item warehouse, if you select to search off all warehouses or other warehouse that does not match the line item warehouse.

<p class="callout warning">If multiple batches are selected from multiple warehouses then a warning will pop up to say that you have selected from multiple warehouses and that this will create multiple document lines with different warehouses. After the window closes, it saves the item and closes the add line item window.</p>

However one can click on transfer button to transfer stock from one warehouse to another.

This window allows one to select multiple batches of stock to sell.

In the first column, there is an icon which will pop up an icon if the product is about to expired, going to expiry in 30 days, in 7 days, in 3 months

[![image.png](https://hugeerp10.co.za/hsofmanual/uploads/images/gallery/2025-07/scaled-1680-/LpXimage.png)](https://hugeerp10.co.za/hsofmanual/uploads/images/gallery/2025-07/LpXimage.png)

Batch Serial number scan on Docs

[![image.png](https://hugeerp10.co.za/hsofmanual/uploads/images/gallery/2025-07/scaled-1680-/UA2image.png)](https://hugeerp10.co.za/hsofmanual/uploads/images/gallery/2025-07/UA2image.png)

<div id="bkmrk--15">---

</div>##### **How ERP System works**

<div id="bkmrk-batch-numbers-are-as">1. **Batch Numbers** are assigned automatically or manually during receiving or production.
2. Each batch is linked to: 
    - Supplier
    - Purchase Order
    - Expiry Date
    - Storage Location
3. When fulfilling sales orders, you can: 
    - Choose specific batches (FIFO, FEFO, or manually).
    - Track which customer received which batch.
4. Reports can show: 
    - Batch-level stock levels
    - Expiring soon batches
    - Recall traceability

---

</div>You can expand it with additional features like:

- Conditional formatting for near-expiry items
- Drop-downs for batch status
- Charts for visual stock tracking

<div id="bkmrk--17">---

</div>##### 🔄 **1. Automatic Alerts**

<div id="bkmrk-conditional-formatti-1">- **Conditional Formatting** to highlight: 
    - Batches nearing expiration (e.g., within 30 days)
    - Low stock levels (e.g., below a threshold)
- Example: Highlight rows in red if `Remaining Stock < 10` or `Expiry Date < TODAY()+30`

---

</div>##### 📦 **2. Batch Status Column**

<div id="bkmrk-add-a-column-like-st">- Add a column like **Status** with values such as: 
    - `In Stock`
    - `Sold Out`
    - `Expired`
- Use formulas to auto-update based on stock and expiry.

---

</div>##### 📊 **3. Dashboard or Summary Sheet**

<div id="bkmrk-create-a-separate-sh">- Create a separate sheet with: 
    - Total stock by batch
    - Number of batches expiring soon
    - Graphs showing stock trends or expiry timelines

---

</div>##### 🔍 **4. Search &amp; Filter Tools**

<div id="bkmrk-use-excel%E2%80%99s-data-val">- Use Excel’s **Data Validation** to create drop-downs for filtering by batch or status.
- Add a **search bar** using filters or VBA for quick lookup.

---

</div>##### 📁 **5. Traceability Features**

<div id="bkmrk-add-columns-for%3A-sup">- Add columns for: 
    - **Supplier Name**
    - **Purchase Order Number**
    - **Customer Name** (for sold batches)
- Helps with recalls or audits.

---

</div>##### 📅 **6. FIFO/FEFO Tracking**

<div id="bkmrk-add-logic-to-suggest">- Add logic to suggest which batch to sell next: 
    - **FIFO**: First In, First Out
    - **FEFO**: First Expired, First Out

---

</div>##### 🔐 **7. Data Protection**

<div id="bkmrk-lock-formula-cells-t">- Lock formula cells to prevent accidental edits.
- Use sheet protection with a password.

---

</div>