Technical use-case library

Low Stock Alerts | Rabbit Accounts Use-Case Library

Use this page for technical screen behavior, source references, and active Playwright coverage.

Rabbit Accounts This library is for reviewers, QA, and implementation traceability. Use the product manual for customer-facing guidance.
S41

Low Stock Alerts

Intelligent stock alerts with AI-powered recommendations, reorder suggestions, and stock insights based on sales velocity and lead times.

Route/low-stock-alerts
Entry pathAnalytics nav > Low Stock Alerts
Product manualOpen user manual page
Playwright coverage

Screen smoke

Detailed source

27-UC-LowStockAlerts.md

UC-LowStockAlerts: Low Stock Alerts Page Use Cases

Page: LowStockAlerts.razor Route: /low-stock-alerts Menu Position: 27 (Analytics & Tracking > Low Stock Alerts)


Overview

Intelligent stock alerts with AI-powered recommendations, reorder suggestions, and stock insights based on sales velocity and lead times.


Section: Page Header

ID Section Action Expected Outcome Controls Affected
UC-LSA-001 Header Load page Title "Low Stock Alert Explanations" with warning icon, subtitle "Intelligent stock alerts..." h3 title, p subtitle
UC-LSA-002 Header Click "Refresh Analysis" Loading spinner, then data reloads spinner, data refresh
UC-LSA-003 Header Click "Reorder Report" Generates/exports reorder report Report generation

Section: Loading State

ID Section Action Expected Outcome Controls Affected
UC-LSA-004 Loading During load Spinner with "Analyzing stock levels and generating recommendations..." spinner, loading text
UC-LSA-005 Loading Load completes Shows summary cards (Critical, Low, Healthy, Reorder counts) Summary cards display

Section: Summary Cards (4 cards)

ID Section Action Expected Outcome Controls Affected
UC-LSA-006 Summary Critical Stock card Red border, shows count, "Requires immediate action" card border-danger, display-4 text-danger, subtitle
UC-LSA-007 Summary Low Stock card Yellow border, shows count, "Reorder recommended" card border-warning, display-4 text-warning, subtitle
UC-LSA-008 Summary Healthy Stock card Green border, shows count, "Within normal levels" card border-success, display-4 text-success, subtitle
UC-LSA-009 Summary Reorder Items card Blue border, shows reorder recommendation count card border-primary, display-4 text-primary, subtitle

Section: Tabs (4 tabs)

ID Section Action Expected Outcome Controls Affected
UC-LSA-010 Tabs View tabs 4 tabs: Critical Alerts (count), Low Stock (count), Reorder Recommendations (count), Stock Insights 4 nav-link tabs
UC-LSA-011 Tabs Click Critical Alerts Shows critical stock items with URGENT cards, stockout days badge, View Insights button Critical tab content
UC-LSA-012 Tabs Click Low Stock Shows low stock items with warning cards, days until reorder badge Low Stock tab content
UC-LSA-013 Tabs Click Reorder Recommendations Shows summary card + table with Priority/Product/Stock/Qty/Days/Vendor/Cost/Actions Recommendations table
UC-LSA-014 Tabs Click Stock Insights Shows Stock Distribution chart, Days Until Stockout analysis, Top Products by Sales Velocity table Insights charts/tables

Section: Critical Alerts Tab Content

ID Section Action Expected Outcome Controls Affected
UC-LSA-015 Critical View item card Red border card with: URGENT product name, stockout badge, Stock Analysis section, Recommendation section card border-danger
UC-LSA-016 Critical Stockout <= 3 days Red badge "Stockout in X days" badge bg-danger
UC-LSA-017 Critical Stock Analysis Shows: Current Stock, Daily Sales Rate, Supplier Lead Time, Reorder Point, Seasonal Impact (if applicable) Analysis list
UC-LSA-018 Critical Click "View Insights" Modal opens with detailed product stock insights ProductInsight modal
UC-LSA-019 Critical Click "Create Emergency Order" Navigates to /po-gr-integration?productId=X&emergency=true Navigation
UC-LSA-020 Critical No critical items Green success alert "Great! No products are at critical stock levels." alert alert-success

Section: Low Stock Tab Content

ID Section Action Expected Outcome Controls Affected
UC-LSA-021 Low Stock View item card Yellow border card with: product name, days badge, Stock Analysis, Action Plan card border-warning
UC-LSA-022 Low Stock Stock Analysis Shows: Current Stock, Daily Sales Rate, Monthly Usage, Last Restocked date, Seasonal Factor Analysis list
UC-LSA-023 Low Stock Click "Create Reorder" Navigates to /po-gr-integration?productId=X Navigation
UC-LSA-024 Low Stock No low stock items Blue info alert "All products are above their low stock thresholds." alert alert-info

Section: Reorder Recommendations Tab

ID Section Action Expected Outcome Controls Affected
UC-LSA-025 Reorder Summary card Shows: Total Items count, Urgent Orders count, Estimated Cost sum Summary card
UC-LSA-026 Reorder Table headers 8 columns: Priority, Product, Current Stock, Recommended Qty, Days Until Stockout, Preferred Vendor, Est. Cost, Actions thead th × 8
UC-LSA-027 Reorder Priority Urgent Red "Urgent" badge badge bg-danger
UC-LSA-028 Reorder Priority High Yellow "High" badge badge bg-warning
UC-LSA-029 Reorder Days <= 7 Red bold text for urgency text-danger fw-bold
UC-LSA-030 Reorder Vendor column Shows vendor name, cost, lead time days; or "No vendor assigned" Vendor cell
UC-LSA-031 Reorder Click "Create PO" Confirmation with recommendation details, then navigates to PO-GR page Confirm dialog, navigation
UC-LSA-032 Reorder Click "Details" Alert shows recommendation justification Alert popup
UC-LSA-033 Reorder No recommendations Green success alert "No reorder recommendations at this time..." alert alert-success

Section: Stock Insights Tab

ID Section Action Expected Outcome Controls Affected
UC-LSA-034 Insights Stock Distribution chart Canvas chart showing stock distribution stockDistributionChart canvas
UC-LSA-035 Insights Days Until Stockout Shows counts by risk level: Immediate (≤3), Short-term (4-7), Medium-term (8-14), Longer-term (>14) Risk level badges
UC-LSA-036 Insights Top Products table 5 columns: Product, Daily Sales Rate, Current Stock, Days of Coverage, Seasonal Factor Table with top 10
UC-LSA-037 Insights Seasonal Factor badge Warning badge if > 1.0, Info badge if < 1.0, "Normal" text if ~1.0 badge or text

Section: Product Insight Modal

ID Section Action Expected Outcome Controls Affected
UC-LSA-038 Modal View modal Shows: Current Analysis (stock, sales rate, lead time, reorder point, optimal qty), Seasonal Pattern, Preferred Vendors table, 12-Month Demand Forecast Modal sections

Section: Data Validation Requirements

ID Validation Requirement
UC-LSA-039 Page Load Must load successfully without errors
UC-LSA-040 Summary Counts Card counts must match tab item counts
UC-LSA-041 Calculations Days until stockout = CurrentStock / DailySalesRate
UC-LSA-042 Priority Logic Critical < 3 days, Low Stock 3-14 days, Healthy > 14 days
UC-LSA-043 Currency Format All ₹ amounts use Indian format

Total Use Cases: 43