---
id: object/table/5440
type: object
title: Table 5440 "Supply What-If Scenario"
summary: Table 5440 "Supply What-If Scenario" in Base Application (Microsoft.Inventory.Planning). 12 fields, 1 public procedures, 1 events. Introduced in BC30.
tier: official
language: en
tags:
  - table
  - base application
versions:
  introduced: "30"
  last_changed: null
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-07T23:32:29.863Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: a4bba804519014476eaf646913c92feae703a7107c46bbb43e9d015e448f4930
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/f18567dc08e2bd162bf192e1da4d714b57eb099f/src/Layers/W1/BaseApp/Inventory/Planning/WhatIfPlanning/SupplyWhatIfScenario.Table.al
    title: src/Layers/W1/BaseApp/Inventory/Planning/WhatIfPlanning/SupplyWhatIfScenario.Table.al (main)
    date: null
    commit: f18567dc08e2bd162bf192e1da4d714b57eb099f
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/9196
object_type: table
object_id: 5440
name: Supply What-If Scenario
namespace: Microsoft.Inventory.Planning
app: Base Application
extends: null
first_version: "30"
last_version: "30"
present_in:
  - "30"
changed_in: []
source_major: "30"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 12
  procedures: 5
  events: 1
  subscribers: 0
relations:
  out: 2
  referenced_by: 0
  pages: 1
  extended_by: 0
  event_subscribers: 1
  calls: 1
  called_by: 0
  implements: 0
---

# Table 5440 "Supply What-If Scenario"

> Table 5440 "Supply What-If Scenario" in Base Application (Microsoft.Inventory.Planning). 12 fields, 1 public procedures, 1 events. Introduced in BC30.

Base Application · Microsoft.Inventory.Planning · BC30 · [source at f18567dc](https://github.com/microsoft/BCApps/blob/f18567dc08e2bd162bf192e1da4d714b57eb099f/src/Layers/W1/BaseApp/Inventory/Planning/WhatIfPlanning/SupplyWhatIfScenario.Table.al) · facts from BC30

## Properties

| Property | Value |
|---|---|
| Caption | Supply What-If Scenario |
| TableType | Temporary |

## Fields

Explanation: the field's ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.

| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 1 | Entry No. | Integer | — |  |
| 2 | Scenario Name | Text[250] | — |  |
| 3 | Document Type | Integer | — |  |
| 4 | Document No. | Code[20] | — |  |
| 5 | Item No. | Code[20] | Specifies the item number for the what-if analysis. <small>via [Page 5440 "Supply What-If Scenarios"](../page/5440.md)</small> | TableRelation [Table 27 "Item"](../table/27.md) |
| 6 | Location Code | Code[10] | Specifies the location code for the what-if analysis. <small>via [Page 5440 "Supply What-If Scenarios"](../page/5440.md)</small> | TableRelation [Table 14 "Location"](../table/14.md) |
| 7 | Original Quantity | Decimal | Specifies the original quantity on the purchase line. <small>via [Page 5440 "Supply What-If Scenarios"](../page/5440.md)</small> |  |
| 8 | What-If Quantity | Decimal | Specifies the what-if quantity. Change this to see planning impact. <small>via [Page 5440 "Supply What-If Scenarios"](../page/5440.md)</small> |  |
| 9 | Original Date | Date | Specifies the original expected receipt date. <small>via [Page 5440 "Supply What-If Scenarios"](../page/5440.md)</small> |  |
| 10 | What-If Date | Date | Specifies the what-if expected receipt date. Change this to see timing impact. <small>via [Page 5440 "Supply What-If Scenarios"](../page/5440.md)</small> |  |
| 13 | Document Table No. | Integer | — |  |
| 14 | Document Line No. | Integer | — |  |

## Keys

- PK: Entry No. (clustered)
- Document: Document Type, Document No., Item No.

## Events published

- `OnUpdateBySourceRecordOnElseCase(Record: Variant; RecRef: RecordRef; var WhatIfScenario: Record "Supply What-If Scenario"; var IsHandled: Boolean)` (integration)
  - subscribers: [Codeunit 99000848 "Mfg. Supply What-If Plan. Eng."](../codeunit/99000848.md) OnUpdateBySourceRecordOnElseCase

## Procedures

- `CreateScenario(Record: Variant)`

Plus 3 local procedures.

## Relations

- Location Code: TableRelation [Table 14 "Location"](../table/14.md)
- Item No.: TableRelation [Table 27 "Item"](../table/27.md)

## Pages and codeunits on this table

- [Page 5440 "Supply What-If Scenarios"](../page/5440.md) (source table)

## Calls

From the extracted call graph of BC30 (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 701 "Data Type Management"](../codeunit/701.md) (1 call: `UpdateBySourceRecord → GetRecordRef`)

## Recent changes

- 2026-08-27 [#9196 [Master] - What If Impact on Planning and Supply](../../changes/bcapps/9196.md) (main, BC30, feature, added)

## Across versions

- Present in: BC30
- Changed (declaration) in: none

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 BC30 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: "table", object_name: "Supply What-If Scenario")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
