How does MySales Order goods for its own Production based on Sales Forecasts and Recipe Specifications?

How does MySales Order goods for its own Production based on Sales Forecasts and Recipe Specifications?

Orders for In-House Production in MySales

For in-house production, it is not enough to forecast how much finished product will be sold. It is also necessary to determine how much raw material and how many semi-finished products will be needed to manufacture it.

MySales automates this process: the system uses the sales forecast for the finished product and its recipe, BOM — Bill of Materials, to calculate component requirements.

As a result, forecast demand for finished products is automatically converted into requirements for raw materials and semi-finished products for production.

What Is Needed for the Calculation

Two main elements are required for the mechanism to work:

  1. BOM Recipe
    Defines which components make up the finished product and how much of each component is needed for its production.

  2. Production Flag
    Enables the component calculation mechanism for the corresponding item.

BOM Recipe

The recipe describes the structure of the finished product.

For example, for a sandwich, it may contain:

  • bread;

  • cheese;

  • other ingredients;

  • semi-finished products.

MySales also supports a multi-level BOM, where one of the components itself has its own recipe.

Technically, the recipe is uploaded to the IF_BOM table.

Main Fields

Field

What It Means

Field

What It Means

MASTER_SKU_ID

Finished product

SUB_SKU_ID

Component, raw material, or semi-finished product

QUANTITY

Quantity of the component required for one unit of the finished product

BOM shows the system what is needed for production and in what quantity.

Produce — Enabling the Calculation

On the Item Parameters screen, the Produce checkbox must be activated for the corresponding item.

image-20261014-094237.png

This flag enables the mechanism for calculating component requirements according to the recipe.

How the Calculation Works

The process consists of three main stages.

1. Finished Product Forecast

First, MySales generates a demand forecast for finished products.

Forecasting may take into account factors such as:

  • seasonality;

  • promotions;

  • price;

  • other factors affecting sales.

Forecast is generated for the finished product included in the assortment matrix.

2. Calculation of Component Requirements

After generating Forecast, the system uses BOM and determines how much of each component is needed to produce the forecast quantity of the item.

Simplified formula:

Component requirement = Finished product Forecast × QUANTITY

Simple Example

Suppose:

  • Sandwich Forecast = 100 units;

  • one sandwich requires 2 units of a certain component.

Then:

100 × 2 = 200

Therefore, producing the forecast 100 sandwiches requires 200 units of the component.

This calculation is performed for each component specified in the recipe.

3. Generation of Requirements and Orders

Within the production logic, MySales calculates requirements and orders for the components needed to manufacture the forecast quantity of finished products.

These may include:

  • raw materials;

  • ingredients;

  • semi-finished products.

Thus, the user does not need to manually convert the finished product Forecast into the required quantity of components.

How a Multi-Level BOM Works

If a component is itself a semi-finished product and has its own recipe, MySales can continue the decomposition.

For example:

Finished product
↓
Semi-finished product
↓
Components of the semi-finished product
↓
Raw materials

This allows requirements to be calculated not only at the first level of the recipe, but also at lower levels of production.

An Important Feature of Forecast

In this logic, MySales does not generate a separate Forecast directly for raw materials.

The starting point is the finished product Forecast.

Component requirements are then determined through:

Finished product Forecast × BOM

That is, the system forecasts demand for the item that is sold and then automatically converts this demand into production requirements for components.

Complete Process Logic

Finished product in the assortment
↓
Sales Forecast
↓
BOM / recipe
↓
MASTER_SKU_ID → SUB_SKU_ID × QUANTITY
↓
Decomposition of semi-finished products, if needed
↓
Calculation of component requirements
↓
Ordering raw materials and semi-finished products

Result

MySales automatically transforms future demand for finished products into requirements for the components needed for their production.

To do this, the system uses:

  • the finished product Forecast;

  • the BOM recipe;

  • the quantity of components per unit of product;

  • the multi-level BOM structure;

  • the Production flag.

As a result, MySales answers not only the question:

“How much finished product do we expect to sell?”

but also the following:

“How much raw material and how many semi-finished products need to be supplied to produce the forecast volume of products?”

This connects demand planning with production requirements and helps supply in-house production with the necessary components on time.