Skip to main content

Overview

The Stock module provides comprehensive inventory management capabilities. Track stock across multiple warehouses, manage batch and serial numbers, handle stock transfers, and maintain accurate inventory records in real-time.

Key Features

Warehouse Management

Organize your inventory storage:

Multi-Warehouse

  • Unlimited warehouses
  • Hierarchical structure
  • Location tracking
  • Warehouse-wise stock levels

Bin Locations

  • Rack and bin management
  • Easy stock location
  • Warehouse mapping

Core Doctypes

The fundamental transaction for all stock movements.
# From stock_entry.py
class StockEntry(StockController):
    stock_entry_type: Literal[
        "Material Issue",
        "Material Receipt",
        "Material Transfer",
        "Manufacture",
        "Repack",
        "Send to Subcontractor",
        "Material Transfer for Manufacture",
        "Material Consumption for Manufacture"
    ]
Use Cases:
  • Material receipt
  • Material issue
  • Transfer between warehouses
  • Manufacturing entries
  • Repack/repacking
  • Material consumption
  • Scrap/damage recording
Stock entries automatically update stock ledger and create accounting entries in real-time.
Central repository of all products and materials.Item Configuration:
  • Basic details (name, code, description)
  • Item group and category
  • UOM and conversion factors
  • Valuation method (FIFO, Moving Average)
  • Default warehouse and supplier
  • Reorder levels
  • Batch/serial number settings
  • Quality inspection requirements
Item Variants:
  • Size, color, style variations
  • Template-based variants
  • Attribute management
Record outbound shipments to customers.Features:
  • Pick list integration
  • Batch/serial selection
  • Packing slip generation
  • Quality inspection
  • Installation note link
  • Return against delivery note
Barcode Scanning: Support for barcode scanners to speed up picking and packing.
Record inbound goods from suppliers.Features:
  • Quality inspection
  • Batch/serial number creation
  • Rejected quantity handling
  • Landed cost allocation
  • Return to supplier
  • GRN (Goods Receipt Note)

Batch and Serial Number Tracking

Batch Management

Track items in batches with expiry dates:

Batch Creation

  • Auto or manual batch numbers
  • Manufacture and expiry dates
  • Batch-wise pricing

Batch Tracking

  • Batch-wise stock balance
  • FIFO/FEFO selection
  • Expiry alerts
Use Cases:
  • Pharmaceuticals
  • Food and beverage
  • Cosmetics
  • Chemicals

Serial Number Management

Track individual items: Features:
  • Unique serial numbers
  • Warranty tracking
  • AMC/CMC management
  • Complete lifecycle tracking
  • Serial number history
Typical Items:
  • Electronics
  • Machinery
  • Vehicles
  • High-value items
Serial numbers provide complete traceability - you can track exactly where each item came from and where it went.

Stock Reconciliation

Adjust stock to match physical inventory:
1

Download Template

Export current stock for selected warehouse
2

Physical Count

Conduct physical stock verification
3

Update Quantities

Enter actual quantities in template
4

Upload and Submit

System creates adjustment entries automatically
Features:
  • Opening stock entry
  • Cycle counting
  • Valuation adjustment
  • Variance reporting

Material Request

Initiate procurement or internal transfers:

Types of Material Requests

TypePurpose
PurchaseTrigger purchase from supplier
Material TransferMove between warehouses
Material IssueIssue materials
ManufactureTrigger production
Customer ProvidedTrack customer materials

Workflow

Stock Transfer

Move stock between locations:

Transfer Methods

  1. Direct Transfer: Immediate transfer via Stock Entry
  2. In-Transit Warehouse: Track goods in transit
  3. Pick List: Generate pick list for warehouse team
Optimize warehouse picking operations:
  1. Generate Pick List: From sales orders or delivery notes
  2. Batch Assignment: System suggests optimal batches
  3. Picking: Warehouse team picks items
  4. Create Stock Entry: Auto-create delivery entry
Benefits:
  • Faster order fulfillment
  • Reduced errors
  • Better warehouse organization

Inventory Valuation

Valuation Methods

FIFO

First In, First Out - oldest stock used first

Moving Average

Average cost method - cost averaged across all stock

Landed Cost

Allocate additional costs to purchased items:
  • Freight charges
  • Customs duty
  • Insurance
  • Handling charges
Landed Cost Voucher:
  • Allocate costs to multiple receipts
  • Item-wise or proportional distribution
  • Updates item valuation

Stock Reports

Comprehensive reporting for inventory analysis:
Real-time stock quantity for all items:
  • Warehouse-wise balance
  • Item-wise quantities
  • Batch/serial details
  • Valuation amounts
Complete transaction history:
  • All stock movements
  • Date-wise entries
  • Running balance
  • Valuation changes
  • Voucher details
Identify slow-moving and obsolete stock:
  • Age brackets (0-30, 30-60, 60-90, 90+ days)
  • Item-wise aging
  • Warehouse-wise view
  • Valuation of aged stock
Visual analytics dashboard:
  • Stock trends over time
  • Category-wise distribution
  • Warehouse comparison
  • Stock turnover ratio

Reorder Level Management

Automate reordering with reorder levels:

Configuration

  • Reorder Level: Minimum quantity before reorder
  • Reorder Qty: Quantity to order
  • Lead Time: Days required for delivery
  • Safety Stock: Buffer stock quantity

Auto Reorder

Material requests can be automatically created when stock falls below reorder level.

Quality Inspection

Ensure quality standards:

Inspection Points

  • Incoming Inspection: Check purchased goods
  • Outgoing Inspection: Verify before delivery
  • In-Process Inspection: During manufacturing

QI Features

  • Parameter-based inspection
  • Sample quantity
  • Accept/reject criteria
  • Inspection reports
  • Block transactions on rejection

Packing Management

Packing Slip

Generate detailed packing slips:
  • Package-wise item list
  • Net and gross weight
  • Package dimensions
  • Shipping marks

Product Bundle

Handle items packed together:
  • Define bundle components
  • Auto-explode on delivery
  • Stock maintained for components

Stock Reservation

Reserve stock for specific orders: Features:
  • Reserve against sales orders
  • Reserve for projects
  • Prevent over-selling
  • Reservation expiry
  • Unreserve functionality
Stock reservation ensures committed orders are fulfilled even during high demand.

Perpetual Inventory

Integrate stock with accounting: Benefits:
  • Real-time stock value in accounts
  • Automatic GL entries
  • Accurate cost of goods sold
  • Stock-in-hand account updated
GL Impact:
# On Purchase Receipt
Stock-in-Hand Dr.
    To Stock Received But Not Billed Cr.

# On Delivery
Cost of Goods Sold Dr.
    To Stock-in-Hand Cr.

Item Variants

Manage product variations efficiently:

Variant Attributes

  • Size (S, M, L, XL)
  • Color (Red, Blue, Green)
  • Material (Cotton, Polyester)
  • Style (Regular, Slim Fit)

Template System

Create variants from template:
  1. Define item template
  2. Set variant attributes
  3. Generate all combinations
  4. Individual pricing and stock

Alternative Items

Define substitute items:
  • Suggest alternatives if out of stock
  • Allow selection during transactions
  • Two-way alternatives

Subcontracting

Send materials to suppliers for processing:
1

Create Subcontracting Order

Purchase order with subcontracted items
2

Transfer Materials

Send raw materials to supplier
3

Receive Finished Goods

Receive processed items via purchase receipt
4

Cost Calculation

System calculates total cost automatically

Stock Settings

Configure stock module behavior:
SettingDescription
Item NamingAuto naming series
Default ValuationFIFO or Moving Average
Allow Negative StockPermit negative quantities
Auto IndentAuto-create material requests
ToleranceOver-receipt/delivery percentage
Freeze StockFreeze stock on specified date
The stock module provides real-time visibility into inventory levels, movements, and valuation across all locations.

Build docs developers (and LLMs) love