Overview
Stock Management provides real-time visibility into inventory quantities across all warehouses and bin locations. The system maintains three key quantity types: On-Hand, Reserved, and Available.Stock Quantity Types
On-Hand Quantity
Physical stock present in the warehouse:- Updated by posted inventory documents
- Represents actual parts in storage
- Cannot be negative (enforced by system)
Reserved Quantity
Parts allocated to accepted work orders:- Set when reserving parts for work orders
- Prevents double-allocation
- Released when parts are issued or unreserved
Available Quantity
Parts available for consumption:- True consumable inventory
- Used for reorder calculations
- Can be negative (over-reserved)
Accessing Stock Views
The system provides two main stock views:Availability View
Location: Inventory > Disponibilidad (/inventory/availability)
Shows: v_available_stock view
Columns:
- Part code and name
- Warehouse code and name
- On-Hand quantity
- Reserved quantity
- Available quantity (calculated)
- Filter by warehouse
- Search by part or warehouse name
- Toggle “Only Available” (available_qty > 0)
- Toggle “Only Reserved” (reserved_qty > 0)
- Summary statistics (totals)
Stock by Location View
Location: Inventory > Stock por ubicación (/inventory/stock-by-location)
Shows: v_stock_by_location view
Columns:
- Part code and name
- Warehouse
- Bin location
- Quantity on hand
- Unit of measure
- Filter by warehouse
- Filter by bin
- Search by part code/name
- Drill-down to specific bins
Service Functions
Access stock data programmatically:Stock Movements
Stock quantities change through posted inventory documents:- RECEIPT
- ISSUE
- TRANSFER
- ADJUSTMENT
Increases On-Hand
- Adds to destination bin
- Does not affect reservations
- Creates positive ledger entry
Stock Reservations
Reserve parts for work orders to ensure availability:Reservations do not physically move parts. They only allocate quantities to specific work orders.
Stock Validation Rules
The system enforces these constraints:Issue/Transfer Validation
Validation logic:Adjustment Validation
Validation logic:Cycle Counting Workflow
Regular physical inventory counts maintain accuracy:Generate Count List
Export parts to count from stock by location view:
- High-value parts
- High-turnover items
- ABC analysis categories
Perform Physical Count
Count actual parts in bins:
- Verify part codes
- Count quantities carefully
- Note any discrepancies
- Check for damage/obsolescence
Compare to System
Review system quantities:
- On-Hand from v_stock_by_location
- Note differences
- Investigate large variances
Create Adjustment Documents
For each discrepancy:
- Create ADJUSTMENT document
- Set warehouse and bin
- Enter adjustment quantity (+ or -)
- Document reason in notes field
- Post document
Stock Alerts
The system generates alerts based on stock levels:Low Stock Alerts
Whenavailable_qty < min_stock_qty for a part:
- Appears in reorder suggestions
- Triggers procurement workflow
- Considers reorder point if defined
Negative Available
Whenavailable_qty < 0 (over-reserved):
Zero On-Hand with Reservations
Whenon_hand_qty = 0 but reserved_qty > 0:
Reporting
Stock Valuation
Calculate total inventory value:Turnover Analysis
Identify slow-moving inventory:Best Practices
Regular Cycle Counts
Schedule periodic counts:
- Critical parts: Monthly
- High-value: Quarterly
- Standard: Annually
- Random samples: Weekly
Reserve Before Work
Always reserve parts for planned work:
- Prevents shortages
- Improves planning accuracy
- Tracks true availability
- Enables better procurement
Prompt Transaction Recording
Record movements immediately:
- Don’t batch transactions
- Use mobile devices for real-time entry
- Verify bin locations during picks
- Post documents same-day
Monitor Available Quantity
Focus on available, not on-hand:
- Use availability view for decisions
- Consider reservations in planning
- Alert on low available (not just on-hand)
- Review over-reserved situations
Related Topics
Documents
Process receipts, issues, and adjustments
Reservations
Manage work order part reservations
Reorder Policies
Automate reorder based on stock levels
Warehouses
Organize stock in locations