基于历史自动建议采购量

为了实现一个主动的推送式补货策略,*建议*功能基于历史需求建议采购量。

关键参数

  • 补货: 预测覆盖窗口(天).

  • 基于 : 定义历史需求的期间: 上7天、30天、3个月、12个月、或去年同月或去年同季度。

  • 因子 : 成长或下降因子(默认100%)。根据期间,将历史需求乘以此百分比,以确定应补货多少需求。(例如,输入`120%`,如果销售预计比上一个期间增长20%)

需求计算

为了估计需求,Odoo 将所有 已验证的出库组件消耗在制造订单中,来自 Based on 期间的仓库。平均每日需求 是此出库或消耗项目的和除以 Based on 期间中的天数,乘以 Factor估计需求平均每日需求 乘以 Replenish For 天数。

\[\begin{split}平均~每日~需求 = \frac{已发货或消耗项目}{Based~on~Days} \times Factor \\ \\ 估计需求 = 平均每日需求 \times Replenish~for~Days\end{split}\]

注解

已分配已确认 的出库项目被用于计算平均每日需求,销售报价或制造订单在 草稿 状态下不会被考虑,直到被验证。

小技巧

在多仓库设置中,内部出库项目也会被用于需求估计。在中央仓库向单个商店分发产品时,中央仓库的 平均每日需求 将包括内部转移至单个商店。

Prerequisite setup

  1. Purchase and Inventory apps must be installed.

  2. Validate at least one delivery order for each product.

    Ensures there is a past delivery record so the system can calculate average daily demand.

  3. Add a vendor to the vendor pricelist with a purchase price for each product.

    The Suggest feature is vendor-specific, so each product needs a matching vendor for accurate purchase quantity and price calculations.

  4. Set the Product Type to Goods and ensure the product is Tracked by quantity.

    Ensures the system can manage stock levels and calculate recommended replenishment quantities for tangible items.

Suggest quantities to order

To suggest quantities based on past sales, navigate to the Purchase app. Create a New RFQ or select an existing one.

In the RFQ, set the Vendor field to the chosen supplier.

In the Products tab, click the Catalog button to view that vendor’s items.

重要

Verify that each product in the catalog is configured with the chosen vendor and that the Purchase Order is in the RFQ stage

小技巧

By default, products listed in the product catalog are filtered by vendor.

Remove the filter in the search bar to view all items or use the built-in Group By for Product Category.

Inside the Catalog, toggle Suggest in the left sidebar to activate the feature. Complete its fields as follows:

  • Replenish for: Number of days intended to stock products.

  • Based on: There are two inputs:

    1. Period: select the time frame that represents historical demand (e.g., Last 30 Days, April 2024).

    2. Growth factor %: scale the demand up or down (e.g., 120% for 20% growth, 30% for 70% drop).

  • The total in the bottom shows the order value. Odoo multiplies the vendor’s Unit Price by the suggested quantity.

Once the parameters are confirmed, click Add All to add all suggestions to the order. Adjust amounts if needed, then click Back to Quotation to confirm the final numbers on the RFQ.

Example Workflow

Recommend at 100% growth

A company needs to replenish orchids for 14 days, referencing the last 30 days of historical data, assuming the revenue growth is the same this month, at 100%.

Delivered/consumed within the period:

  • 20 units delivered 15 days ago in a WH/OUT operation.

  • 20 units delivered 1 day ago

  • Total: 40 units in the last 30 days

Variables

  • Replenish for: 14 days

  • Based on: 30 days

    • total delivered/consumed in the period: 40 units

  • Factor: 100%

\[Average~Daily~Demand = \frac{40}{30} \approx 1.33 \text{ units/day}\]

Suggested quantity

\[Suggested~Quantity = 1.33 \times 14 \approx 18.67 \text{ (rounded to 19 units)}\]
Suggestion to purchase 19 units.

Suggestion to purchase 19 orchids. Since the Unit Price is $3, \($3 \times 19 = $57\), which is the total amount displayed.

Planning for Mother’s Day

To better plan for the upcoming Mother’s day week, the company changes Based on to the same month last year (May 2024). As the business has grown since then, they also decide to add a 120% growth factor.

Variables

  • Replenish for 7 days

  • Based on: May 2024,

    • total delivered/consumed in the entire May 2024 month: 361 units

  • Factor: 120%

\[Average~Daily~Demand = \frac{361}{30} \times 1.20 \approx 14.44 \text{ units/day}\]

Suggested quantity

\[Suggested~Quantity = 14.44 \times 7 \approx 101.08 \text{ (rounded up to 102 units)}\]
Suggestion to purchase 102 orchids.

Suggestion to purchase 102 orchids. Each orchid costs $3 with the chosen vendor, so \($3 \times 102 = $306\).

Best practices

  1. Validate historical data

    Forecasts are based on validated delivery orders, manufacturing orders, and other inventory actions that consume quantities. For delivery orders, the Effective Date field is considered the date the quantities were consumed.

    Example of effective date field.
  2. Maintain accurate vendor pricelists

    Review and update vendor pricelists to reflect the latest pricing and supplier information to ensure correct suggestions.

  3. Test sales projections based on seasonality

    Reference prior months or quarters to capture seasonal fluctuations and experiment with growth and decline factors to project sales.

  4. Review suggestions critically

    Although the tool provides a baseline recommendation, always apply business judgment. Market changes, promotions, and upcoming events can affect actual demand.