See Real-Time Recipe Demand, Overdue Purchase Orders & Reorder Alerts on One Screen
Buyers are planning purchases in spreadsheets while fast-moving items run out of stock and aging inventory sits in the warehouse.
Buy our Smart Reorder Console to see live days-of-supply by item and generate replenishment purchase orders in one click.
ItemShip transactions did so with SUM(ABS(tl.quantity)) across all transactionline rows, without excluding COGS/GL posting lines (iscogs='T'). NetSuite writes more than one line per item on a fulfillment — the real physical shipment line has iscogs='F'; extra accounting lines referencing the same item can net to zero or inflate the count. Fix for the Suitelet: add AND tl.iscogs='F' to every ItemShip-based query. Everywhere this affects a metric below, it's flagged inline.
iscogs-style duplication. WO-based figures (forecast, Fcst-Fulfilled, Component Total Fulfilled) are not affected.
| Concept | Meaning | Suitelet Source | Status |
|---|---|---|---|
| Snapshot date / "Today" | The reference date all "this week," "next 7 days," and "late" comparisons are calculated against. Currently hardcoded to the date this snapshot was pulled. | In the Suitelet, replace with the server's current date at request time (new Date() in SuiteScript). | MOCK |
| Week (Mon–Sun) | "This Week" and "Next Week" are calendar weeks starting Monday, not a rolling 7-day window from today. | Computed client-side from the server's current date; no NetSuite field. | DERIVED |
| Week View toggle | Switches every week-scoped figure (Open Demand, On PO, Fulfilled, Total Demand, Customer Review's Closed/Open/Total Ordered) between this week and next week. | Client-side date math only; would re-query the same tables with a shifted date range in the Suitelet. | DERIVED |
| Metric | Meaning | Calculation | NetSuite Source | Status |
|---|---|---|---|---|
| On Hand | Current quantity physically in inventory at this location. | Direct field value. | aggregateItemLocation.quantityonhand (SuiteQL), filtered by item + location. | REAL |
| On PO (Wk) | Quantity on open Purchase Orders due to arrive within the remainder of the selected week. | SUM(quantity − quantityshiprecv) for open PO lines where due date falls within the week window. | transaction (type PurchOrd) joined to transactionline, filtered by duedate. | REAL — correctly sums across all lines for an item, including the (legitimate) case where a PO lists the same item on more than one line |
| Supply Tot. | Total available supply this week: what's already here plus what's arriving. | On Hand + On PO (Wk) | Sum of the two fields above. | DERIVED |
| Metric | Meaning | Calculation | NetSuite Source | Status |
|---|---|---|---|---|
| Open Demand | This item's own unshipped Sales Order quantity for the week, plus demand pulled through from any assemblies that use it as a BOM component. | Direct: open SO qty due this week. Implied: for each assembly using this component, max(0, assembly's open SO qty − assembly's On Hand) × BOM qty-per-unit, summed. | Direct from transaction (type SalesOrd) + transactionline (quantity − quantityshiprecv). Implied uses the same SO data for each assembly plus the Master BOM (bom / bomrevisioncomponent records). | REAL — correctly sums across all lines for an item, including the (legitimate) case where an SO lists the same item on more than one line |
| Δ vs Open | Whether Supply Total covers Open Demand, and by how much. | Supply Tot. − Open Demand | Derived from the two fields above. | DERIVED |
| Cov. vs Open | Covered/Short badge. | Δ vs Open ≥ 0 | Derived. | DERIVED |
| Metric | Meaning | Calculation | NetSuite Source | Status |
|---|---|---|---|---|
| 7-Day Fcst | Expected weekly demand based on the last 3 complete calendar weeks (kept short so it's agile to recent shifts), plus implied forecast pulled through from assemblies. | Direct: (sold qty, last 3 complete Mon–Sun weeks) ÷ 3. Implied: same BOM pull-through logic as Open Demand, but using each assembly's own 3-week forecast instead of its open SO qty. | ItemShip transactionline quantity over the 3-week window, plus WorkOrd transactionline consumption of this item as a component over the same window. | ⚠ ISCOGS BUG (ItemShip/sold side only — WO consumption side verified clean) |
| Fulfilled (Wk) | How much of this item's demand has already been physically fulfilled this week — shipped to a customer or consumed into a Work Order. | This week's shipped SO qty + this week's WO component consumption qty. (Next Week always shows 0 here since nothing has happened yet.) | ItemShip transactionline (shipped) + WorkOrd transactionline (consumed). | ⚠ ISCOGS BUG (ItemShip/shipped side only — WO consumption side verified clean) |
| Δ vs Fulfilled | How much of the 7-Day Forecast is still outstanding after netting out what's already been fulfilled. | max(0, 7-Day Fcst − Fulfilled (Wk)) | Derived. | DERIVED (inherits ⚠ above) |
| Supply vs Adj. Fcst | Whether Supply Total covers the still-outstanding forecast. | Supply Tot. − Δ vs Fulfilled | Derived. | DERIVED |
| Cov. vs Adj. Fcst | Covered/Short badge. | Supply vs Adj. Fcst ≥ 0 | Derived. | DERIVED |
| Metric | Meaning | Calculation | NetSuite Source | Status |
|---|---|---|---|---|
| On Hand | Same as Short Term. | — | aggregateItemLocation.quantityonhand | REAL |
| Open PO (3wk) | Quantity on open POs due within the next 3 weeks. | Same PO logic as Short Term, wider window. | transaction (PurchOrd) + transactionline | REAL |
| Total Supply | On Hand + Open PO (3wk). | Sum. | Derived. | DERIVED |
| Metric | Meaning | Calculation | NetSuite Source | Status |
|---|---|---|---|---|
| 3-Wk Demand (12-Wk Avg) | This item's own average weekly demand (direct sales + production consumption), smoothed over the trailing 12 weeks for a stable long-range view, plus demand pulled through from assemblies using the same 12-week basis. | Direct: (12-week Mon–Sun aligned sold + consumed total) ÷ 4. Implied: Σ (assembly's own 12-Wk 3-Wk Avg × BOM qty-per-unit). | ItemShip (sold) + WorkOrd (consumed) transactionline quantity, 12-week window, + Master BOM. | ⚠ ISCOGS BUG (ItemShip/sold side only — WO consumption side verified clean) |
| 3-Wk Demand (Last 3wk) | The same demand estimate, but built only from the last 3 complete calendar weeks instead of the 12-week average — catches a recent trend shift the smoothed number would mask. | Direct: (sold + consumed qty, last 3 complete Mon–Sun weeks) ÷ 3. Implied: same BOM pull-through, using each assembly's own last-3-week average. | Same sources as above, 3-week window. | ⚠ ISCOGS BUG (ItemShip/sold side only — WO consumption side verified clean) |
| Trend Δ (Last 3wk vs 12-Wk) | How far apart the two demand estimates are, to spot items where recent activity has diverged from the long-run average. Positive = trending up (recent activity higher than the 12-week average); negative = trending down. | 3-Wk Demand (Last 3wk) − 3-Wk Demand (12-Wk Avg) | Derived. | DERIVED |
| Δ vs Higher | Total Supply checked against whichever of the two demand estimates is larger, so a recent uptick can't hide behind a calmer 12-week average. | Total Supply − MAX(3-Wk Demand (12-Wk Avg), 3-Wk Demand (Last 3wk)) | Derived. | DERIVED |
| Cov. vs Higher | Covered/Short badge, based on Δ vs Higher. | Δ vs Higher ≥ 0 | Derived. | DERIVED |
| Metric | Meaning | Calculation | NetSuite Source | Status |
|---|---|---|---|---|
| Total Qty (12-wk) | This customer's total purchase volume across the trailing 12 weeks, scoped to the active Class/Location filters. | Sum of sold qty by customer × class × location. | ItemShip transactionline joined to customer (entity) and item classification. | ⚠ ISCOGS BUG |
| Closed Qty | Quantity already shipped to this customer in the selected week. | Sum of shipped qty, this customer, this week. | ItemShip transactionline, this week's date range. | ⚠ ISCOGS BUG |
| Open Qty | Quantity on this customer's open Sales Orders due to ship within the remainder of the selected week. | Same open-SO logic as Short Term's Open Demand, scoped to this customer. | transaction (SalesOrd) + transactionline | REAL |
| Total Ordered Qty | Closed Qty + Open Qty. | Sum. | Derived. | DERIVED |
| 7-Day Forecast | This customer's expected weekly volume, based on the same calendar-aligned 12-week baseline as the item-level forecast. | (customer's 12-week qty) ÷ 12 | Same source as Total Qty (12-wk). | ⚠ ISCOGS BUG |
| Total vs 7Day | Total Ordered Qty vs 7-Day Forecast, to see if this customer is trending above or below their usual pace. | Total Ordered Qty − 7-Day Forecast | Derived. | DERIVED |
| 3-Wk Avg (Long Term) | Same 12-week baseline as Total Qty, expressed as a 3-week average for consistency with the Long Term tab. | (customer's 12-week qty) ÷ 4 | Same source as Total Qty (12-wk). | ⚠ ISCOGS BUG |
| Order Days | Number of distinct dates this customer has shipped an order, in the trailing 12 weeks. | Count of distinct ship dates. | ItemShip transaction header trandate, distinct per customer. | REAL (date-count, not quantity — not affected by the iscogs line-duplication issue) |
| Last Order | Most recent ship date for this customer. | MAX(trandate) | ItemShip transaction header. | REAL |
| Avg Interval (d) | Average number of days between this customer's orders. | (last order date − first order date) ÷ (order days − 1) | Derived from Order Days / Last Order source data. | DERIVED |
| Frequency badge | Weekly / Bi-Weekly / Monthly / One-Time / Infrequent, based on Avg Interval. | Weekly ≤9 days; Bi-Weekly 10–18; Monthly 19–40; One-Time = single order; Infrequent = wider gaps. | Derived classification. | DERIVED |
| Metric | Meaning | Calculation | NetSuite Source | Status |
|---|---|---|---|---|
| Frequency | Weekly / Bi-Weekly / Monthly / One-Time / Infrequent, based on how often you've entered POs with this vendor over the trailing 12 weeks. | Same classification thresholds as Customer Review, applied to distinct PO entry dates. | transaction (type PurchOrd) header trandate, distinct per vendor. | REAL |
| Avg Lead Time (d) | How many calendar days this vendor typically takes from PO entry to first receipt. | AVG(first receipt date − PO entered date), across every historical PO for this vendor that has a receipt — not limited to 12 weeks, so infrequent vendors still get a meaningful average. | transaction (PurchOrd) trandate vs transaction (ItemRcpt) trandate, linked via the receipt's createdfrom. | REAL |
| Open PO Qty / Open PO Count | Total quantity and number of PO lines still open (not yet received) with this vendor, across all items and due dates — not limited to a 7-day or 3-week window like the item-level tabs. | Sum / count of open PO lines by vendor. | transaction (PurchOrd) + transactionline, quantity − quantityshiprecv. | REAL |
| Late POs | Count of open PO lines whose due date has already passed. | COUNT(open lines where due date < today). | Same source as Open PO Qty, compared to today's date. | DERIVED |
| Order Days (12-wk) / Last PO / Avg Interval (d) | Same concepts as Customer Review's Order Days / Last Order / Avg Interval, applied to PO entry dates instead of ship dates. | Same formulas as Customer Review. | transaction (PurchOrd) header. | REAL |
| PO Details drill-down (Item, Qty, Rate, Due Date, Status) | Every open PO line for this vendor, with a Late/On Time badge. | Same open-PO data as the main tabs' On PO figures, grouped by vendor instead of item. | transaction (PurchOrd) + transactionline. | REAL |
| Metric | Meaning | Calculation | NetSuite Source | Status |
|---|---|---|---|---|
| This Week Total | This customer's total activity on this specific item this week (open + closed). | Open Qty + Closed Qty (both scoped to this item + this customer). | SalesOrd (open) + ItemShip (closed), both joined to customer and this specific item. | ⚠ ISCOGS BUG (closed side only) |
| Open Qty | This customer's open SO qty for this item, due this week. | Same open-SO logic, scoped to item + customer. | transaction (SalesOrd) + transactionline | REAL |
| 7-Day Forecast | This customer's expected weekly volume for this specific item. | (customer's 12-wk qty for this item ÷ 12) × (this item's recent-3-week-vs-12-week trend ratio) | Customer×item breakdown (ItemShip) scaled by the item-level trend ratio. | ⚠ ISCOGS BUG + the trend-ratio scaling is an approximation, not a true customer-level 3-week pull |
| Total vs Forecast | This Week Total vs 7-Day Forecast for this customer/item pair. | This Week Total − 7-Day Forecast | Derived. | DERIVED |
| Metric | Meaning | Calculation | NetSuite Source | Status |
|---|---|---|---|---|
| On Hand | The assembly's own current inventory. | Direct field. | aggregateItemLocation.quantityonhand | REAL |
| Total Ordered | The assembly's own open SO qty this week (hover shows the SO #s). | Same open-SO logic as Short Term. | transaction (SalesOrd) + transactionline | REAL |
| Total Fulfilled | The assembly's own shipped qty this week (hover shows the SO #s it shipped against). | Sum of shipped qty this week. | ItemShip transactionline, joined back to the originating Sales Order for the hover. | ⚠ ISCOGS BUG |
| Metric | Meaning | Calculation | NetSuite Source | Status |
|---|---|---|---|---|
| Qty/Unit | How many units of this component go into one unit of the assembly. | Direct field. | Master BOM (bomrevisioncomponent.quantity). | REAL |
| Total Required | Gross component quantity needed to build the assembly's Total Ordered, before any netting. | Total Ordered × Qty/Unit | Derived. | DERIVED |
| Total Fulfilled | Exact quantity of this component already consumed this week building this specific assembly (hover shows the WO #s). | Sum of this component's consumption lines from Work Orders whose output was this assembly, this week. | WorkOrd transactionline (component consumption) joined to the WO's main/output line to identify which assembly it built. | ⚠ WO line-duplication not yet verified (see callout above) |
| Open Qty | What's still needed after netting out what's already been fulfilled. | max(0, Total Required − Total Fulfilled) | Derived. | DERIVED |
| Open Qty Δ | The true additional component demand once the assembly's own On Hand is also considered — if the assembly already has enough finished-goods inventory, it pulls no extra component demand at all. | max(0, Total Ordered − Assembly On Hand) × Qty/Unit | Derived (computed independently of Open Qty, netting directly against Assembly On Hand rather than chaining through it). | DERIVED |
| 7-Day Forecast | The assembly's own 7-Day Fcst, converted to this component's units. | Assembly's 7-Day Fcst × Qty/Unit | Same sources as Short Term's 7-Day Fcst. | ⚠ inherits ISCOGS BUG |
| Fcst-Fulfilled | The forecast-side equivalent of Open Qty Δ — component demand still implied by the assembly's forecast after netting fulfilled qty and On Hand. | max(0, (Assembly 7-Day Fcst − Assembly Fulfilled(Wk)) − Assembly On Hand) × Qty/Unit | Derived. | DERIVED |
| Section | What it shows |
|---|---|
| 1. Supply vs Actual (Open Demand) | Supply Total vs Open Demand, broken into its Direct + Implied components. |
| 2. Supply vs Forecast (adjusted for fulfilled) | 7-Day Fcst minus what's already Fulfilled this week, compared against Supply Total. |
| 3. Actual vs Forecast (this week) | Total Demand (Open + Closed + WO Consumption) vs 7-Day Fcst — a pure demand-side check with no supply involved. |
| Filter | Effect | NetSuite Source | Status |
|---|---|---|---|
| Class (Level 1 / Level 2) | Scopes every tab to items/customers within the selected product classification. | Item classification field (parent/child hierarchy). | REAL |
| Location | Scopes to a specific warehouse/location. | Item location record. | REAL |
| Coverage | Filters rows to only Covered or only Short. | Derived from the Covered boolean for the active tab. | DERIVED |
| Include late PO / Include late SO qty | Whether to fold in POs/SOs already past their due/ship date into Supply and Demand figures. | Date comparison against PO duedate / SO shipdate. | REAL |
| Consider Shorts | Adds a historical shortfall adjustment to Open Demand, based on a one-time check of closed-but-underfulfilled Sales Orders. | One-time pull: SalesOrd status H lines where ordered > shipped. | MOCK — static one-time pull, not live; would need to be a live query in the Suitelet. |
| Customer Freq. in Averages | Scales the 7-Day Fcst by the proportion of volume coming from customers in the selected frequency segments (Weekly/Bi-Weekly/Monthly/One-Time/Infrequent). | Uses class1FreqFractions: for each top-level class, what share of its 12-week volume comes from each frequency segment. | MOCK/PROXY — this is a class-level average applied to every item in that class, not a true per-item, per-customer-frequency breakdown. A live Suitelet could compute this exactly per item instead of by class. |
| Week View (This Week / Next Week) | Shifts every week-scoped figure to the following Mon–Sun window. | Date math only. | DERIVED |
| Search item / description | Text filter on item code and description. | Item itemid / displayname. | REAL |
| Item | Why it's not fully live yet |
|---|---|
| Snapshot date | Hardcoded to the pull date rather than the server's live current date. |
| ItemShip-based quantities (sold, closed, fulfilled — nearly every tab) | Missing the iscogs='F' filter; overcounts in most cases, undercounts to zero in some (see callout at top of this page). |
| SalesOrd / PurchOrd with the same item on multiple lines | Not an error — can happen legitimately (separate notes, different dates, etc.). Verified our approach already sums correctly across all matching lines either way. |
| Customer Freq. in Averages filter | Uses a class-level (not per-item) frequency-share proxy. |
| Sales by Customer 7-Day Forecast | Scales each customer's share by an item-level trend ratio rather than a true customer-level 3-week pull. |
| Consider Shorts toggle | Based on a static, one-time historical pull of underfulfilled closed Sales Orders, not a live query. |