Solving Supply Chain

by gopigment6fec49f4ce9dNo license22 starsListed Oct 8, 2026Updated Oct 8, 2026Repository updated 2 days ago

Planning skill. Supply chain use cases: demand planning, inventory management, procurement planning, S&OP alignment. Each use case has inline guidance.

Instructions onlyBusiness & Finance
AI-generated overview

Guides supply chain planning in a planning platform: demand, inventory, procurement and S&OP models.

What it does
Provides inline guidance for building supply chain planning models: demand planning with statistical forecasts and adjustments, inventory management with beginning and ending balances, procurement planning with net requirements and supplier allocation, and S&OP consolidation. It specifies dimensions, metric structures, formulas, build order and reporting layouts for each use case. It produces planning model designs and report specifications rather than files or code.
When to use it
Use when setting up or extending supply chain planning use cases such as demand forecasting, inventory and safety stock planning, purchase order planning, or S&OP alignment. It assumes an existing version dimension and configured calendar.
Requirements
Requires a planning platform with versions, calendar, metrics, iterative calculation cycles and forecasting functions; the named prerequisite skills for versions, calendar, forecasting, iteration and cross-application sharing. Instructions only, no scripts.

Supply Chain Planning

Prerequisites: Version dimension exists (skill:building-versions-and-planning-cycles). Calendar configured (skill:setting-up-calendar).


Demand Planning

When: forecast product demand based on historical sales, seasonality, market signals, or sales team input.

Dimensions: Version, Month, Product (or SKU), Region (or Channel). Add Customer segment if demand varies by customer type.

Structure: historical demand metric (imported from ERP/WMS). Statistical forecast using FORECAST_ETS (seasonal) or FORECAST_LINEAR (trend-only) (see skill:forecasting-in-pigment). Judgmental adjustment metric (input) for sales team overrides on top of the statistical baseline. Final demand = statistical forecast + adjustment, or override-first using IFBLANK(adjustment, statistical).

Version usage: each planning cycle produces a demand plan version. Consensus demand (from S&OP) is a separate version or a dedicated metric combining inputs.

Reporting: Product (rows) × Month (columns) showing historical, statistical forecast, adjustments, and final demand. Chart widgets for demand trend with actuals overlay. Forecast accuracy = (Actual - Forecast) / Actual, tracked per version.


Inventory Management

When: plan inventory levels, safety stock, reorder points, and days of supply by product and location.

Dimensions: Version, Month, Product (or SKU), Warehouse (or Location). Product properties: Lead Time (days or months), Unit Cost, Min Order Quantity, Safety Stock Target.

Structure: when both opening and closing balances must be visible (reporting, reorder analysis, drill-down), use separate beginning and ending balance metrics dimensioned by Product and Month. Link them with PREVIOUSOF over an iterative calculation cycle (see skill:iterating-with-previous-and-cycles). Do not collapse to a single balance metric with PREVIOUS(Month) unless the user only needs one output line.

Beginning balance = prior period ending balance (seed the first period from opening stock). Ending balance = beginning + supply/receipts − consumption/demand. Reorder logic is typically a flag plus quantity metric; supply can feed ending directly or via an intermediate receipts metric.

Build order:

  1. Create all metrics in the dependency chain (balances, demand, reorder logic, supply/receipts as needed).
  2. Create the iterative calculation cycle over Month including the mutually dependent balance metrics.
  3. Write PREVIOUSOF on the beginning balance, then the ending roll-forward.

Do not substitute [SELECT: Month - 1] for PREVIOUSOF on a separate ending balance; it does not join the cycle.

Reporting: Product × Month grid showing inventory levels, days of supply, reorder alerts. Conditional formatting: red when below safety stock. KPI widgets for total inventory value and average days of supply.


Procurement Planning

When: plan purchase orders, supplier allocation, and procurement spend based on demand and inventory targets.

Dimensions: Version, Month, Product (or SKU), Supplier. Product properties: Lead Time, Unit Cost, Min Order Quantity. Supplier properties: Lead Time Override, Preferred flag.

Structure: net requirements = demand plan - projected available inventory. Planned order quantity = net requirements adjusted to Min Order Quantity (round up using CEILING). Order timing = shift planned orders backward by lead time (SELECT: Month - Lead_Time). Supplier allocation: if single source, direct assignment; if multi-source, allocation weights by supplier. Procurement spend = quantity × unit cost.

Reporting: Supplier (rows) × Month (columns) showing planned orders and spend. Product-level detail in drill-down views. KPI widgets for total procurement spend by version.


S&OP (Sales & Operations Planning)

When: align demand plan, supply plan, and financial plan into a consensus view for executive review.

Dimensions: Version, Month, Product (or Product Family). S&OP typically operates at a higher granularity (product family, quarter) than detailed planning.

Structure: demand plan (from demand planning, aggregated to product family). Supply plan (from inventory + procurement, aggregated). Revenue plan (demand × price). Gap analysis: demand vs supply capacity, revenue plan vs financial target. Use a Table block to combine demand, supply, revenue, and gap metrics into a single S&OP dashboard.

Cross-application: if demand, supply, and finance live in separate applications, use Libraries to share the relevant output metrics into an S&OP reporting app (see skill:sharing-data-between-applications). Keep detailed planning in domain apps; S&OP app consumes aggregated outputs only.

Reporting: Product Family (rows) × Month or Quarter (columns). One Board page per S&OP topic: demand review, supply review, financial reconciliation, executive summary. Use chart widgets for demand vs supply overlay (combined chart) and revenue gap waterfall.

Source and attribution

Source:gopigment/ai-pluginsinskills/solving-supply-chainat commit6fec49f

License: No license

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal