generate new demand.md

Generate new demand

The Generate New Demand option on plan inputs allows you to control whether Autoplan should ignore existing supply for a top-level plan input item and always create new planned items for it. This is useful when a quality issue is found with a top-level assembly that must be rebuilt—ensuring the defective unit is not allocated to the plan while still utilizing any valid sub-component inventory already on hand.

Overview

There is a Generate New Demand flag on plan inputs. This will always be turned off by default. When on, Autoplan will not consider existing inventory for the plan input item itself, but will continue to allocate existing inventory for all mBOM sub-components.

When Generate New Demand is checked (enabled), Autoplan will:

When Generate New Demand is unchecked (default), Autoplan will:

The mBOM for the above part (part A) looks like this:

There is some inventory available for Part A and B:

If we run Autoplan with Generate New Demand unchecked for Part A (quantity of 2), we would get results for Part A and Part B, with Part B indicating that there is inventory on hand to fulfill this plan. Note also that Part A would reflect a quantity of 1 is needed in the plan as there is already 1 in inventory (for a total of 2).

If we were to run Autoplan with Generate New Demand checked for Part A, we would see that Part A's existing inventory is not allocated to the plan. However, Part B's inventory is still considered and allocated as available supply.

Plan Input–Level Inventory Exclusion

The Generate New Demand flag applies only to the plan input item itself, not to child parts in the BOM. This means:

  1. If you check Generate New Demand on a plan input for a parent part, Autoplan will exclude existing inventory for that top-level part only.
  2. Child demands created from the BOM will not inherit Generate New Demand behavior.
  3. Child parts will continue to have their existing supply allocated normally.

This targeted behavior ensures that a defective or otherwise unusable top-level assembly is not allocated to the plan, while all valid flight-spare sub-components remain available for the rebuild.

Mixed Behavior in the Same Plan

Different plan inputs within the same plan can have different Generate New Demand settings. This allows you to:

Example:


Examples

Example 1: Simple Gross Demand at the Plan Input Level

Setup:

With Generate New Demand checked:

With Generate New Demand unchecked:

Example 2: Multi-Level BOM

Setup:

Result:

Example 3: Mixed Settings

Setup:

Result:

Example 4: Real-World Quality Issue

Setup:

Result: