> For the complete documentation index, see [llms.txt](https://docs.xorosoft.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.xorosoft.com/xoroerp-1/purchase/short-inventory-planner/sales-forecasting.md).

# Sales Forecasting

### Sales Forecasting Overview

To empower businesses with predictive planning, **XoroERP** has introduced **Sales Forecasting** functionality in the **Short Inventory Planner** module.

This feature blends historical sales data, forecasted demand, and real-time inventory insights to help businesses plan more intelligently. With it, companies can prevent stockouts, minimize excess inventory, and ensure their procurement and production activities stay aligned with actual market needs.

***

### **How It Works**

When **Sales Forecasting** is enabled in the Short Inventory Planner:

* XoroERP automatically integrates data from **Sales Orders, Forecasts, Purchase Orders, Manufacturing Orders**, and **On-hand Inventory**.
* It uses this data to populate the new forecast-aligned fields.
* The planner displays actionable insights — such as items nearing shortage, procurement urgency, and expected replenishment timelines.
* Users can also view proactive alerts that help maintain optimal stock levels while reducing unnecessary purchases.

This helps businesses plan replenishment cycles with precision and ensures that supply chain decisions are guided by accurate projections.

***

### **Sales History & Forecast Trend**

To complement the forecasting functionality, XoroERP also introduces the **Sales History & Forecast Trend** section within the **Qty Details** screen.\
This visual and analytical enhancement allows users to **see the bigger picture** — how sales, purchases, and production have evolved, and how future forecasts align with them.

#### **Graph Overview**

The interactive graph showcases **item sales and purchase quantities** across the year.\
Hovering over the graph reveals **four crucial parameters** that offer deep operational insight:

* **Units Sold** – Displays the total quantity of items sold in the selected period, indicating consumer demand and sales performance.
* **Units Purchased** – Shows how much inventory was procured during the same period, providing clarity on procurement patterns.
* **Units Consumed** – For raw materials, it indicates the quantity used in production, revealing consumption trends.
* **Units Produced** – For manufacturable items, reflects the total quantity produced, offering insight into production efficiency.

***

#### **Detailed Analytical Views**

The **Sales History & Forecast Trend** section is divided into three detailed subsections for comprehensive analysis:

1. **Table View**\
   Presents sales history and forecast data in a structured table format, allowing users to compare metrics, identify trends, and analyze historical versus forecasted values.
2. **Incoming Deliveries**\
   Lists all purchase orders associated with the selected item, along with expected delivery dates and quantities — enabling users to plan proactively for incoming stock.
3. **Forecast Details** *(if enabled)*\
   Offers insights into how forecast data is influencing procurement and production planning, bridging the gap between predicted and actual performance.

***

### **Use Cases**

* **Retail and Distribution:** Plan for seasonal spikes by using forecast-based demand insights.
* **Manufacturing:** Align raw material procurement and production with forecasted orders.
* **Procurement Teams:** Optimize purchase scheduling based on lead times and forecast trends.
* **Inventory Managers:** Identify underperforming or fast-moving items to balance stock efficiently.

***

### **Benefits**

* Smarter, predictive inventory planning aligned with forecasts
* Data-driven procurement and manufacturing decisions
* Visual insights through historical and forecast trends
* Reduced carrying costs and minimized stockouts
* Seamless integration across XoroERP modules for accurate planning

***

### **Conclusion**

The **Sales Forecasting and Sales History & Forecast Trend** enhancements in **XoroERP’s Short Inventory Planner** bring intelligence and visibility to every level of inventory management.\
By uniting predictive data with operational insights, XoroERP empowers businesses to **plan better, act faster, and stay future-ready**.

With this advancement, inventory planning is no longer about reacting to the past — it’s about confidently preparing for what’s next.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.xorosoft.com/xoroerp-1/purchase/short-inventory-planner/sales-forecasting.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
