Overview
The Inventory Management system helps you maintain accurate stock levels, record inventory entries from suppliers, and monitor product availability. It integrates with product and supplier modules to provide comprehensive inventory tracking.Key Features
Stock Tracking
Monitor current stock levels for all products
Inventory Entries
Record product arrivals from suppliers
Real-time Updates
Automatic stock updates with each transaction
Availability Management
Track which products are in stock or need reordering
Understanding Inventory
Stock Levels
Each product in the system maintains a stock quantity that represents:- Current available inventory - Units ready for sale
- Dynamic updates - Automatic adjustments with sales and entries
- Low stock alerts - Visual indicators when inventory runs low
Product Stock in Database
Stock is stored directly in the product table:When creating a product, you set its initial stock level. This can be updated later through inventory entries or manual adjustments.
Inventory Entries
What are Inventory Entries?
Inventory entries record when new stock arrives from suppliers. Each entry tracks:- Product - Which product is being received
- Supplier - Who provided the stock
- Quantity - How many units arrived
- Date - When the delivery occurred
Viewing Inventory Entries
The inventory entries index displays a complete history of all stock arrivals:- Entry ID and date
- Product name and details
- Supplier name
- Quantity received
Stock Management Workflows
Receiving New Stock
Receiving New Stock
When new inventory arrives from a supplier:
- Navigate to Inventory Entries
- Create a new entry
- Select the product
- Select the supplier
- Enter the quantity received
- Save the entry
- Records the transaction
- Updates the product’s stock level
- Timestamps the entry
Manual Stock Adjustments
Manual Stock Adjustments
You can manually adjust stock levels when editing a product:Use cases for manual adjustments:
- Correcting inventory count errors
- Recording damaged or lost items
- Adjusting after physical inventory counts
- Handling returns or exchanges
Stock Deduction (Sales)
Stock Deduction (Sales)
When products are sold, the system automatically reduces stock levels:
- Each sale transaction decrements product stock
- Stock updates happen in real-time
- Low stock alerts trigger when thresholds are reached
- Out-of-stock products are flagged in the system
Product Availability
Checking Stock Availability
The product search API provides real-time stock information:- Verify product availability before completing sales
- Check stock levels during customer inquiries
- Identify alternative products when stock is low
Stock Status Indicators
Products display different status indicators based on stock levels:- In Stock - Sufficient quantity available
- Low Stock - Below reorder threshold
- Out of Stock - Zero quantity available
- Inactive - Product marked as unavailable
Inventory Validation
Stock Quantity Rules
When creating or updating products, stock values must be:- Required - Cannot be empty
- Numeric - Must be a valid number
- Non-negative - Typically should be zero or positive
Integration with Other Modules
Products
Inventory is tightly coupled with product management:- Stock is a core product attribute
- Product updates include stock adjustments
- Product searches return stock information
Suppliers (Proveedores)
Inventory entries link to supplier records:- Track which suppliers provide which products
- Monitor delivery frequency and reliability
- Analyze supplier performance
Sales
Sales transactions affect inventory:- Stock decreases with each sale
- Prevents overselling through availability checks
- Generates reorder alerts based on sales velocity
Database Structure
Product Stock Field
Inventory Entry Table
Best Practices
Regular Stock Counts
Regular Stock Counts
Perform physical inventory counts regularly:
- Schedule monthly or quarterly counts
- Compare physical counts to system records
- Adjust discrepancies immediately
- Investigate significant variances
- Document reasons for adjustments
Reorder Points
Reorder Points
Set appropriate reorder thresholds:
- Analyze sales velocity for each product
- Consider supplier lead times
- Account for seasonal variations
- Set safety stock levels
- Automate reorder alerts
Supplier Management
Supplier Management
Maintain good supplier relationships:
- Record all deliveries accurately
- Verify quantities received
- Report discrepancies promptly
- Track supplier reliability
- Diversify supplier base for critical items
Inventory Accuracy
Inventory Accuracy
Keep inventory data accurate:
- Train staff on proper entry procedures
- Validate data before saving
- Review inventory reports regularly
- Investigate unusual stock movements
- Implement stock audit procedures
Common Scenarios
Scenario 1: Receiving a Shipment
- Shipment arrives from supplier
- Verify quantity and product details
- Create inventory entry in the system
- Select correct product and supplier
- Enter received quantity
- System updates product stock automatically
Scenario 2: Low Stock Alert
- Product stock falls below threshold
- System flags product as low stock
- Manager reviews sales history
- Determines reorder quantity
- Contacts supplier
- Creates purchase order
- Receives shipment and creates entry
Scenario 3: Stock Discrepancy
- Physical count doesn’t match system
- Investigate cause of discrepancy
- Review recent transactions
- Check for data entry errors
- Adjust stock through product edit
- Document reason for adjustment
Related Features
- Products - Manage product details and stock
- Categories - Organize inventory by category