MREPS – Multi-Warehouse Inventory Tracking & Stock Levels
The Inventory Tracking module in MRSware Desktop (EYOND.MRSware.Modules.Inventory) delivers enterprise-grade, multi-warehouse stock management engineered for manufacturers' representative agencies, master stocking distributors, factory consignment depots, and field service organizations. It provides real-time visibility into physical quantity balances across warehouse branches and bin locations, manages inbound factory purchase orders against committed customer shipments, facilitates atomic inter-branch stock transfers, enforces audit-logged stock adjustments with mandatory reason codes, and provides lightning-fast batch reconciliation via the full-screen Inventory Spreadsheet Form.
Press Ctrl+N to add a new inventory item, Ctrl+E to edit the selected item, Del to delete, or choose Inventory → Edit in Spreadsheet to launch high-speed in-cell spreadsheet editing with Excel clipboard copy/paste (Ctrl+C/Ctrl+V).
Enterprise Multi-Warehouse Inventory Architecture
In wholesale distribution and rep agency operations, inventory management extends beyond simply storing part numbers. Agencies frequently hold consigned factory inventory, maintain regional emergency stock for key distributors, operate mobile service van fleets, or stock high-demand job supplies. MRSware Desktop models inventory as a live, location-aware transactional subsystem built upon four foundational pillars:
📍 Multi-Location Stock Tracking
Track stock balances across multiple physical facilities: central distribution centers, regional satellite warehouses, customer consignment lockers, warranty depots, and mobile service vans via INVWarehouse, INVLocation, and INVItemLocation.
📊 Four-Tier Balance Engine
Maintains real-time mathematical balances: On Hand (physical stock), On Order (inbound purchase orders), Allocated (committed customer orders), and calculated Available for Sale.
🔄 Inter-Branch Stock Transfers
Execute atomic, two-sided stock transfers between branches or consignment lockers (StockTransferForm.cs), automatically validating source quantity and logging immutable audit ledger entries.
⚡ Full-Screen Spreadsheet Mode
High-throughput Janus GridEX spreadsheet editor (InventorySpreadsheetForm.cs) with clipboard paste, column freezing, in-cell autocomplete dropdowns, and batch physical cycle count reconciliations.
Security Permissions & Desktop Navigation
Access to Inventory Tracking is governed by MRSware's granular role-based security system, managed under System Administration → Roles & Permissions:
| Permission String | Access Level | Capabilities & UI Elements Granted |
|---|---|---|
MRSware/Inventory |
Base / View | Grants access to open the Inventory Tracking explorer, view item lists, search stock balances, inspect dockable HTML preview panels, and view the spreadsheet editor in read-only mode. |
MRSware/Inventory/Edit |
Create / Edit | Enables the New Item (Ctrl+N) and Edit (Ctrl+E) toolbar actions, permits modification of catalog item linkages, pricing tiers, and reorder levels, and enables saving master data in spreadsheet mode. |
MRSware/Inventory/Adjust |
Inventory Control | Authorizes stock adjustments (positive/negative/scrap), inter-warehouse transfers, and physical cycle count reconciliation commits in the batch spreadsheet editor. |
MRSware/Inventory/Delete |
Record Removal | Enables the Delete (Del) action. Deleted records are retained in the Recycle Bin Vault for complete audit recovery. |
Desktop Shell Navigation & Openers:
- Left Navigation Shortcut Bar: Click the Inventory icon in the primary module strip.
- Application Main Menu: Select Modules → Inventory Tracking.
- File Menu Quick Create: Select File → New → Inventory Item to open a blank item editor.
- Inventory Menu Commands:
- Inventory → Stock Adjustment: Opens the adjustment dialog to log quantity deltas and reason codes.
- Inventory → Stock Transfer: Launches the inter-warehouse transfer dialog.
- Inventory → Edit in Spreadsheet: Opens the batch spreadsheet grid for bulk counts and rapid updates.
- Inventory → Adjustment Reasons: Opens category management for custom audit adjustment reasons.
- Multi-Module Universal Search (Ctrl+K): Type
inventory,stock, or an exact SKU to locate and open records instantly.
Inventory Items Explorer & 3-Mode View Switching
The main inventory workspace (InventoryItemsForm.cs) is built upon MRSware's zero-latency multi-view architecture. Users can toggle seamlessly between three view layouts using the toolbar buttons or the View menu, with layout preferences persisted automatically to their user profile:
1. Standard Table View (Mode 0)
A high-density tabular grid (EYOND.MRSware.Forms.Table) featuring sortable column headers, multi-column grouping, dynamic summary aggregates, and custom column arrangements:
| Column Header | Property Path | Data Type / Alignment | Description & Operational Usage |
|---|---|---|---|
| SKU | SKU | Text (Left) | Primary inventory part number or factory catalog code. |
| Description | ItemDescription | Text (Left) | Item specification text or catalog marketing title. |
| Group | ProductGroup | Text (Left) | Product family classification (e.g., Fittings, Lighting, Valves). |
| Default Warehouse | DefaultWarehouseName | Text (Left) | Primary assigned storage facility or distribution center. |
| Default Bin | DefaultBinCode | Text (Left) | Primary storage location aisle, rack, or bin code (e.g., A2-R04-B1). |
| On Hand | TotalQuantityOnHand | Decimal / Right (#,##0) | Current physical stock present across all warehouse locations. |
| Allocated | TotalQuantityAllocated | Decimal / Right (#,##0) | Quantity reserved for confirmed, unfulfilled customer sales orders. |
| Available | TotalQuantityAvailable | Decimal / Right (#,##0) | Net salable stock available for immediate delivery (On Hand - Allocated). |
| On Order | TotalQuantityOnOrder | Decimal / Right (#,##0) | Inbound units on open, unreceived factory purchase orders. |
| Reorder Point | ReorderPoint | Decimal / Right (#,##0) | Threshold level triggering replenishment purchase orders. |
| Standard Cost | StandardCost | Currency / Right ($#,##0.00) | Baseline factory contract cost established by the manufacturer. |
| Average Cost | AverageCost | Currency / Right ($#,##0.00) | Moving weighted average cost computed dynamically on inbound receipts. |
| Total Valuation | TotalValuation | Currency / Right ($#,##0.00) | Capitalized balance sheet value (TotalQuantityOnHand × AverageCost). |
2. Compact Cards View (Mode 1 – 2-Line GDI+ Drawer)
Engineered for high-throughput warehouse picking and rapid visual audits, the Compact Cards mode utilizes an optimized custom GDI+ rendering engine (InventoryCardDrawer.cs):
- Line 1 (Bold Header & Stock Badge): Displays the bold SKU, item description, and an instant color-coded stock health badge:
- [In Stock] – Rendered in green when Available stock exceeds the Reorder Point.
- [Low Stock (ROP X)] – Rendered in amber/orange when Available stock falls at or below the Reorder Point but On Hand > 0.
- [Out of Stock] – Rendered in bold red when On Hand reaches 0 or negative.
- Line 2 (Metrics Strip): A high-density data line rendering exact figures in subtle slate gray:
OH: 140 | Avail: 115 | PO: 50 | Avg: $42.50 | Val: $5,950.00
3. Multiline Cards View (Mode 2 – CardsView)
The Multiline Cards layout (EYOND.MRSware.Forms.CardsView) presents comprehensive product profile cards with full attribute grids, warehouse tags, and direct integration with the dockable preview window, ideal for customer service and inside sales teams.
Dockable HTML Preview Window
MRSware's signature dockable preview window (InventoryPreviewBuilder.cs) provides instant zero-click record inspection. As you navigate the inventory list using the keyboard or mouse, the right-hand panel renders rich, formatted HTML with no modal popups or database lag.
Preview Window Architecture & Action Toolbar
The preview window automatically aggregates information across multiple relational tables into six clearly structured sections:
- Header & Status Badges: Displays SKU, Catalog Item Description, Product Group badge, and prominent Stock Health badge (
IN STOCK,LOW STOCK, orOUT OF STOCK). - Stock Summary KPI Box: Four large-format KPI cards rendering On Hand, Allocated, Available, and On Order with color-coded alerts when balances dip below reorder points.
- Stock by Warehouse & Bin Location Sub-Table: Detailed location breakdown showing individual On Hand, Allocated, and Available counts for every assigned warehouse site and storage bin.
- Costing & Inventory Valuation Box: Summarizes Moving Average Cost, Standard Cost, Last Purchase Cost, Total Capitalized Valuation, Catalog Retail Price, and calculated Gross Margin %.
- Replenishment Rules: Reorder Point, Safety Stock threshold, Standard Reorder Quantity pack size, Supplier Lead Time (Days), and Preferred Supplier contact name.
- Recent Activity Audit Sub-Table: Displays the last 5 ledger entries from
INVTransactionwith Date, Transaction Type (Receipt, Shipment, Adjustment Increase/Decrease, Transfer In/Out, Physical Count), signed Quantity delta (+#,##0 or -#,##0), Warehouse, and memo Notes.
Add / Edit Inventory Item Details
The detail editor dialog (AddEditInventoryItemForm.cs) manages comprehensive warehouse attributes, catalog associations, and supplier parameters:
🏷️ Product Catalog Master Linkage
Directly links the inventory SKU to the Product Catalog (OMCatalogItem via CatalogItemId), inheriting UPC barcodes, weight, dimensions, packaging unit of measure, and default selling prices.
🏭 Preferred Supplier Principal
Links the item to the authorized manufacturer principal contact (PreferredSupplierContactId) in CRM, establishing vendor lead times and purchase order routing.
🏢 Warehouse & Bin Mappings
Assigns primary distribution centers, warehouse zones, aisles, and storage bins (InventoryItemLocation) to optimize picking tickets and shipping efficiency.
⚙️ Replenishment Parameters
Defines minimum Reorder Point, Safety Stock buffer, Standard Reorder Batch Pack Sizes, and expected Vendor Lead Time Days to automate purchase recommendations.
Stock Level Calculations & Moving Average Costing
MRSware Desktop executes strict transactional arithmetic across all inventory movements to guarantee balance sheet integrity and accurate available-to-promise (ATP) quantities.
Available stock is calculated at both individual warehouse locations and agency-wide aggregate levels:
Order & Invoice Transaction Lifecycle:
- Sales Order Booked: When a sales order is entered in Orders & Invoices, the ordered quantity is immediately tagged as Allocated, reducing the Available quantity while preserving physical On Hand stock.
- Invoice Shipped: Finalizing an invoice relieves physical inventory, decrementing both On Hand and Allocated simultaneously.
- Purchase Order Issued: Issuing an order to the factory increments On Order.
- Goods Received: Receiving inbound shipments increments On Hand and decrements On Order.
Moving Weighted Average Cost Formula:
Unlike simplistic First-In-First-Out (FIFO) methods that require complex batch tracking or Last-In-First-Out (LIFO) methods that distort valuation, MRSware maintains a true Moving Weighted Average Cost. Whenever new inventory is received (via factory receipt or positive costed adjustment), the unit average cost is updated dynamically:
Total inventory valuation across the enterprise is computed as:
Stock Adjustments & Standardized Reason Codes
Maintaining physical count accuracy requires disciplined adjustment workflows. In MRSware, users do not make arbitrary silent edits to inventory counts. Instead, opening Inventory → Stock Adjustment (StockAdjustmentForm.cs) enforces full audit tracking:
- Adjustment Type Selector: Choose between Increase (+), Decrease (-), or Scrap / Write-off.
- Warehouse & Bin Selection: Target the exact facility and bin location being adjusted.
- Quantity Delta & Unit Cost: Enter the quantity change and unit cost (increases recalculate average cost; decreases relieve inventory at current average cost).
- Mandatory Reason Codes (
INVAdjustmentReason):- Physical Recount – Reconciliation of physical cycle count variances.
- Damaged / Scrapped – Items damaged in warehouse transit, water leaks, or packaging compromise.
- Customer RMA Return – Restocked inventory from customer return authorizations.
- Sample Demonstration Dispatched – Units allocated to field sales reps for customer demonstrations and trade shows.
- Initial Warehouse Setup – Opening baseline balance establishment during system onboarding.
- Vendor Return / Defective – Defective goods returned to the factory for credit memo.
- Transactional Audit Ledger (
INVTransaction): Every adjustment creates an immutable transactional record capturing timestamp, user ID, prior balance, adjusted amount, unit cost, total cost, reason code, and detailed memo notes.
Multi-Branch & Bin Stock Transfers
For representative agencies with multiple stocking facilities, service vehicles, or consignment lockers, moving stock between physical sites is managed via Inventory → Stock Transfer (StockTransferForm.cs):
- Select Source Warehouse & Bin Location (Origin).
- Select Destination Warehouse & Bin Location (Target).
- Enter the Transfer Quantity. MRSware instantly verifies that the source location has sufficient unallocated On Hand inventory before permitting transfer execution.
- Enter transit notes (e.g., Van Driver, Transfer Bill of Lading, UPS tracking number, or Consignment Agreement reference).
- Atomic Dual-Entry Commit: Clicking Transfer executes an atomic SQL transaction creating two linked ledger records simultaneously:
- A
TransferOutrecord decrementing inventory at the source location. - A
TransferInrecord incrementing inventory at the destination location.
- A
Full-Screen Edit in Spreadsheet Mode
For high-throughput back-office administrators and warehouse managers conducting monthly cycle counts or seasonal catalog updates, launching Inventory → Edit in Spreadsheet (InventorySpreadsheetForm.cs) opens a dedicated, high-speed Janus GridEX batch editing interface:
📋 Master Data Batch Updates
Directly edit Part Numbers, Standard Costs, Reorder Points, Safety Stock levels, Reorder Pack Sizes, Lead Time Days, and Active status across hundreds of rows without opening individual forms.
🔍 Physical Cycle Count Reconciliation
Enter verified physical counts directly into the Physical Count column. If the count differs from Current On Hand, MRSware automatically computes the delta, creates an audit transaction, and updates stock balances!
📑 Excel Clipboard Copy & Paste
Full bidirectional clipboard integration (Ctrl+C / Ctrl+V). Paste count data directly from warehouse handheld barcode scanner spreadsheets or supplier price sheets.
🔒 Column Freezing & Sorting
Freeze the SKU and Description columns on the left while horizontally scrolling through physical counts, reorder rules, and cost parameters on the right.
When you click Save or Save and Close in Spreadsheet mode, MRSware evaluates every row. For rows where PhysicalCount != TotalQuantityOnHand, the system automatically retrieves the default warehouse, calculates the variance delta, assigns the reason note (e.g. "Spreadsheet Physical Count"), generates a PhysicalCount ledger entry, and commits all changes within a single transactional database boundary.
Advanced Inventory Search & Universal Search Integration
To pinpoint specific inventory items across large multi-thousand SKU catalogs, MRSware provides two integrated search mechanisms:
1. Advanced Inventory Search Dialog (AdvancedInventorySearch.cs)
- SKU Matcher: Text filter supporting Exact Match, Starts With, Contains, and SQL wildcards (e.g.
AB-10%). - Description Matcher: Multi-word keyword search scanning catalog description fields.
- Product Group Matcher: Filter by specific product categories or lines.
- Warehouse Multi-Select CheckedListBox: Check one or more specific physical warehouse sites to restrict results to local branches.
- Stock Status Checkboxes:
2. Universal Multi-Module Search Integration (Ctrl+K)
Inventory Tracking is wired into MRSware's global search engine. Pressing Ctrl+K anywhere in the application allows typing inventory, stock, or an exact part number. Double-clicking any search result immediately launches the record in the AddEditInventoryItemForm editor.
Reporting, 5 Magical Columns & Financial Analytics
All inventory balances and transaction histories feed directly into MRSware's executive business intelligence framework:
📊 Inventory Valuation by Principal
Analyze total capitalized stock value grouped by manufacturer line, product category, or warehouse facility in Data Analysis pivot grids.
📈 Inventory Turn Velocity
Compare average warehouse inventory against trailing 12-month invoiced sales volume to identify fast-turning cash generators versus stagnant dead stock.
⚠️ Stockout & Replenishment Alerts
Generate replenishment reports filtering items where Available stock has fallen below Reorder Point, automatically factoring in supplier lead time days.
🛡️ Consignment Stock Reconciliation
Audit consigned stock held at customer locations against factory consignment agreements, identifying discrepancies before annual factory inventory audits.
Inventory Best Practices for Manufacturers' Reps
- Enforce Mandatory Adjustment Reasons: Never allow silent manual quantity overwrites. Always require reason codes (e.g. Damaged, Sample, Recount) to maintain complete audit visibility and prevent inventory shrinkage.
- Perform Rolling Monthly Cycle Counts: Rather than shutting down operations for an annual physical inventory count, use Edit in Spreadsheet filtered by product group or manufacturer line to conduct rolling weekly or monthly cycle counts.
- Link Inventory SKUs to Master Catalog Items: Always link inventory records to the master Product Catalog (
OMCatalogItem). This ensures order entry, quote generation, and invoice pricing pull standardized part numbers and commission rates seamlessly. - Maintain Accurate Safety Stock & Lead Times: Regularly review supplier lead times with your factory principals. Updating Lead Time Days and Reorder Points prevents costly stockouts during peak construction and buying seasons.
- Segregate Consignment & Demo Equipment: Create dedicated warehouse records (e.g.
WHS-CONSIGN-01,VANS-DEMO) to maintain strict separation between customer consignment stock, field demo units, and commercial salable inventory.