Inventory Management Extension

On submission, each target item line results in a record in Batch Barcode Tracker.

Install Inventory Management Extension

bench get-app https://github.com/maniamartial/Inventory-Management-Extension

Add the Frappe Gems badge to your README

Maintain Inventory Management Extension? Paste this into your README:

[![Listed on Frappe Gems](https://frappegems.com/api/method/frappe_gems.seo.badge?app=maniamartial%2FInventory-Management-Extension)](https://frappegems.com/gems/apps/maniamartial/Inventory-Management-Extension)

About Inventory Management Extension

📦 Inventory Management Extension

Inventory Management Extension is an ERPNext add-on that improves inventory traceability using barcodes. It streamlines barcode handling during purchasing, manufacturing, and sales, enabling users to track individual packages or splits from batches all the way through delivery.


🧩 Key Features

  • Barcode generation for incoming and manufactured stock.

  • Support for quantity splits, generating multiple barcodes from a single batch.

  • Barcode tracking across all stages: Purchase, Manufacturing, Sales.

  • Easy barcode printing per line item.

  • Enhanced Pick List process with barcode selection and scanning.

  • Batch-based delivery verification.


🔍 Workflow Overview

1. Purchase Transactions (Purchase Receipt / Purchase Invoice)

  • A new field called transactional_barcode_tracker is added to the child item table.

  • Barcodes are automatically generated before saving using the EAN format.

  • Split Functionality:

    • Enter a value in the split custom field (e.g., 20).

    • This creates 20 line items and splits the quantity evenly across them.

  • A Print button is available per line item:

    • When you change the quantity, a transaction barcode is generated (if unsaved).

    • You can print the barcode and physically attach it to the package. image (40)

📄 On Submission:

  • Barcode records are saved into a new doctype: Batch Barcode Tracker, which contains:

    • Batch Number

    • Barcode Image

    • Quantity

    • Warehouse

    • Item Code image (39)


2. Manufacturing (Stock Entry: Repack / Manufacture / Material Receipt)

  • For Repack and Manufacture:

    • Source items are listed as usual.

    • Target warehouse items (finished goods) trigger barcode creation.

  • For Material Receipts:

    • Any item line with a batch will also trigger transaction barcode creation.

On submission, each target item line results in a record in Batch Barcode Tracker. image (40)


3. Sales Workflow

Sales Order → Pick List → Delivery Note → Sales Invoice

  • Customer orders specific batch items. Use creates sales order.

  • Pick List is not automatically generated.

  • User creates Pick List manually from Sales Order.

Pick List Extension

  • A custom child table Pick List Extension is introduced.

    • It mirrors Pick List Items but includes an extra barcode field.
  • The user selects a warehouse (manual or automatic).

  • The barcode field is filtered to show:

    • Barcodes from Batch Barcode Tracker

    • Belonging to the selected batch

    • Not already used in another line image (38)

Barcode Handling:

  • Scanning supported via the scan_transactional_barcodes field.

    • When a barcode is scanned:

      • A new line is added with the related item, warehouse, and batch.
  • When saved:

    • Pick List groups by batch and totals quantities accordingly.

    • Barcodes can be printed for dispatch or logistics visibility.

Screenshot 2025-06-21 at 13 05 14


4. Delivery Note and Sales Invoice

  • Upon submitting the Delivery Note:

    • Barcodes in Batch Barcode Tracker are marked as Sold = Yes.

    • ERPNext also handles batch consumption as per standard rules.

  • Sales Invoice is created and submitted using the standard ERPNext process.


📄 Summary of New/Extended Doctypes and Fields

Doctype Field / Extension Description
Purchase Receipt / Invoice transactional_barcode_tracker Tracks barcodes per line item
Purchase Receipt / Invoice split Splits quantity into multiple line items and generates barcodes
Purchase Receipt / Invoice Line Item Print Button Allows barcode printing per line item
Batch Barcode Tracker (New) batch, barcode_image, qty, warehouse, item, sold Tracks each barcode against its batch, item, and warehouse
Stock Entry Repack / Manufacture Logic Generates barcodes for finished goods in target warehouse
Pick List Pick List Extension (child table) Mirrors item lines but includes barcodes
Pick List scan_transactional_barcodes Field to scan barcodes directly into the pick list
Delivery Note Submits and marks barcodes as sold
Sales Invoice Follows ERPNext standard flow

Barcode Printing

Barcodes printed include:

  • Item Code and Name

  • Quantity

  • Barcode Image

  • Batch Number.

Print options are available:

  • Per line item in Purchase Receipt / Invoice

  • In Pick List (for dispatch purposes)

  • Batch Barcodes TRansaction

🚚 Logistics Support

  • Barcodes provide clear identifiers for packaged items.

  • Assists warehouse and delivery teams in picking, verifying, and transporting items efficiently.

  • Helps prevent errors in dispatch and improves inventory visibility.


✅ Benefits

  • Simplifies inventory tracking using barcodes.

  • Enhances traceability from manufacturing to customer delivery.

  • Reduces manual errors in stock handling.

  • Supports unit-level packaging and logistics workflows.

  • Integrates tightly with ERPNext’s standard batch and stock systems.

Related Other apps for Frappe & ERPNext

  • Erpnext — Free and Open Source Enterprise Resource Planning (ERP)
  • Helpdesk — Modern, Streamlined, Free and Open Source Customer Service Software
  • Print Designer — Visual print designer for Frappe / ERPNext
  • Ctr — CTR模型代码和学习笔记总结
  • Whitelabel — Whitelabel ERPNext
  • Fossunited — fossunited.org
  • Helm — Helm Chart Repository for Frappe/ERPNext
  • Frappe Attachments S3 — A frappe app to upload file attachments in doctypes to s3.