---
id: object/page/5830
type: object
title: Page 5830 "Demand Overview"
summary: Page 5830 "Demand Overview" in Base Application (Microsoft.Inventory.Availability). 4 public procedures, 3 events. Present since at least BC23, still in BC30, changed in BC25, BC28.
tier: official
language: en
tags:
  - page
  - base application
versions:
  introduced: null
  last_changed: "28"
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: ef468d013a0170ba28136574e7fc2cb9bc2c9b7744f2446d3c05c66f53bb1122
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Inventory/Availability/DemandOverview.Page.al
    title: src/Layers/W1/BaseApp/Inventory/Availability/DemandOverview.Page.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/production-how-track-demand-supply
    title: Track Relations Between Demand and Supply
    date: null
    commit: null
    t: null
    quote: null
links:
  learn:
    - https://learn.microsoft.com/dynamics365/business-central/production-how-track-demand-supply
  objects: []
  features: []
  topics:
    - topic/business-central/business-functionality/planning
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: page
object_id: 5830
name: Demand Overview
namespace: Microsoft.Inventory.Availability
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "25"
  - "28"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids:
  - docs/learn-smb-docs/business-central/production-how-track-demand-supply.md
counts:
  fields: 0
  procedures: 10
  events: 3
  subscribers: 0
  controls: 24
  actions: 1
relations:
  out: 1
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 12
  calls: 1
  called_by: 0
  implements: 0
---

# Page 5830 "Demand Overview"

> Page 5830 "Demand Overview" in Base Application (Microsoft.Inventory.Availability). 4 public procedures, 3 events. Present since at least BC23, still in BC30, changed in BC25, BC28.

Base Application · Microsoft.Inventory.Availability · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Inventory/Availability/DemandOverview.Page.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Caption | Demand Overview |
| SourceTable | Availability Calc. Overview |
| PageType | Worksheet |
| UsageCategory | ReportsAndAnalysis |
| ApplicationArea | Planning |

## Fields on this page

Layout controls in source order, grouped by the container they sit in. Shows: the table field a control is bound to (or its expression as written); ToolTip: the control's own, else the bound field's (marked).

| Group | Control | Shows | ToolTip |
|---|---|---|---|
| General | Start Date | `StartDate` | Specifies the start date of the period for which you want to calculate demand. |
|  | End Date | `EndDate` | Specifies the end date of the period for which you want to calculate demand. Enter a date that is later than the start date. |
|  | Demand Type | `DemandType` | Specifies a list of the types of orders for which you can calculate demand. Select one order type from the list: |
|  | Demand No. | `DemandNo` | Specifies the number of the item for which the demand calculation was initiated. |
|  | Calculated | `IsCalculated` | Specifies whether the demand overview has been calculated. The check box is selected after you choose the Calculate button. |
| Control1 | Item No. | [Item No.](../table/5830.md#fields) | Specifies the identifier number for the item. <small>from the table field</small> |
|  | Matches Criteria | [Matches Criteria](../table/5830.md#fields) | Specifies whether the line in the Demand Overview window is related to the lines where the demand overview was calculated. <small>from the table field</small> |
|  | Type | [Type](../table/5830.md#fields) | Specifies the type of availability being calculated. <small>from the table field</small> |
|  | Date | [Date](../table/5830.md#fields) | Specifies the date of the availability calculation. <small>from the table field</small> |
|  | SourceTypeText | `SourceTypeText` | Specifies the source type of the availability calculation. |
|  | Source Order Status | [Source Order Status](../table/5830.md#fields) | Specifies the order status of the item for which availability is being calculated. <small>from the table field</small> |
|  | Source ID | [Source ID](../table/5830.md#fields) | Specifies the identifier code of the source. <small>from the table field</small> |
|  | Description | [Description](../table/5830.md#fields) | Specifies the description of the item for which availability is being calculated. <small>from the table field</small> |
|  | Location Code | [Location Code](../table/5830.md#fields) | Specifies the location code of the item for which availability is being calculated. <small>from the table field</small> |
|  | Variant Code | [Variant Code](../table/5830.md#fields) | Specifies the variant of the item on the line. <small>from the table field</small> |
|  | Quantity | `QuantityText` | Specifies how many units of the item are demanded. |
|  | Reserved Quantity | `ReservedQuantityText` | Specifies how many units of the demanded item are reserved. |
|  | Running Total | [Running Total](../table/5830.md#fields) | Specifies the total count of items from inventory, supply, and demand. <small>from the table field</small> |
|  | Inventory Running Total | [Inventory Running Total](../table/5830.md#fields) | Specifies the count of items in inventory. <small>from the table field</small> |
|  | Supply Running Total | [Supply Running Total](../table/5830.md#fields) | Specifies the count of items in supply. <small>from the table field</small> |
|  | Demand Running Total | [Demand Running Total](../table/5830.md#fields) | Specifies the count of items in demand. <small>from the table field</small> |
| Filters | Item Filter | `ItemFilter` | Specifies the item number or a filter on the item numbers that you want to trace. |
|  | Location Filter | `LocationFilter` | Specifies the location you want to show item availability for. |
|  | Variant Filter | `VariantFilter` | Specifies the variant code or a filter on the variant code that you want to trace. |

## Actions

| Group | Action | ToolTip | Runs |
|---|---|---|---|
| Processing | Calculate | Update the window with any demand. |  |

## Events published

- `OnBeforeOnLookupDemandNo(var AvailabilityCalcOverview: Record "Availability Calc. Overview"; DemandType: Enum "Demand Order Source Type"; var Result: Boolean; var IsHandled: Boolean; var Text: Text)` (integration)
- `OnLookupDemandNo(var AvailabilityCalcOverview: Record "Availability Calc. Overview"; DemandType: Enum "Demand Order Source Type"; var Result: Boolean; var Text: Text)` (integration)
  - subscribers: [Codeunit 6452 "Serv. Availability Mgt."](../codeunit/6452.md) OnLookupDemandNo, [Codeunit 99000871 "Job Planning Availability Mgt."](../codeunit/99000871.md) OnLookupDemandNo, [Codeunit 99000872 "Sales Availability Mgt."](../codeunit/99000872.md) OnLookupDemandNo, [Codeunit 99000874 "Assembly Availability Mgt."](../codeunit/99000874.md) OnLookupDemandNo, [Codeunit 99000875 "Prod. Order Availability Mgt."](../codeunit/99000875.md) OnLookupDemandNo
- `OnSourceTypeTextOnFormat(var AvailabilityCalcOverview: Record "Availability Calc. Overview"; var Text: Text)` (integration)
  - subscribers: [Codeunit 6452 "Serv. Availability Mgt."](../codeunit/6452.md) OnSourceTypeTextOnFormat, [Codeunit 99000871 "Job Planning Availability Mgt."](../codeunit/99000871.md) OnSourceTypeTextOnFormat, [Codeunit 99000872 "Sales Availability Mgt."](../codeunit/99000872.md) OnSourceTypeTextOnFormat, [Codeunit 99000874 "Assembly Availability Mgt."](../codeunit/99000874.md) OnSourceTypeTextOnFormat, [Codeunit 99000875 "Prod. Order Availability Mgt."](../codeunit/99000875.md) OnSourceTypeTextOnFormat, [Codeunit 99000876 "Transfer Availability Mgt."](../codeunit/99000876.md) OnSourceTypeTextOnFormat, [Codeunit 99000973 "Purch. Availability Mgt."](../codeunit/99000973.md) OnSourceTypeTextOnFormat

## Procedures

- `InitTempTable()`
- `SetRecFilters()`
- `SetParameters(NewStartDate: Date; NewDemandType: Enum "Demand Order Source Type"; NewDemandNo: Code[20]; NewItemNo: Code[20]; NewLocationFilter: Code[250])`
- `SetCalculationParameter(CalculateDemandParam: Boolean)`

Plus 3 local procedures.

## Triggers

OnAfterGetRecord, OnInit, OnOpenPage

## Relations

- source table [Table 5830 "Availability Calc. Overview"](../table/5830.md)

## Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an `Object::"Name"` argument. Interface dispatch and calls through events are not counted, so the list is not complete.

- [Codeunit 5830 "Calc. Availability Overview"](../codeunit/5830.md) (6 calls: `ExpandAll → CalculateDate`, `ExpandAll → CalculateItem`, `ExpandAll → EntriesExist`, …)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC25, BC28

## Documented on Microsoft Learn

- [Track Relations Between Demand and Supply](https://learn.microsoft.com/dynamics365/business-central/production-how-track-demand-supply)

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "page", object_name: "Demand Overview")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
