---
id: object/report/302
type: object
title: Report 302 "Get Demand To Reserve"
summary: Report 302 "Get Demand To Reserve" in Base Application (Microsoft.Inventory.Tracking). 6 public procedures, 4 events. Present since at least BC23, still in BC30, changed in BC24-27, BC30.
tier: official
language: en
tags:
  - report
  - base application
versions:
  introduced: null
  last_changed: "30"
  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: 303f12fe6a5610dbec4bc09ec3d3f5ab87d1706cbec0a64a5e760b0f5e5e2dab
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Inventory/Tracking/GetDemandToReserve.Report.al
    title: src/Layers/W1/BaseApp/Inventory/Tracking/GetDemandToReserve.Report.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/12066
object_type: report
object_id: 302
name: Get Demand To Reserve
caption: Get Demand to Reserve
namespace: Microsoft.Inventory.Tracking
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "24"
  - "25"
  - "26"
  - "27"
  - "30"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 11
  events: 4
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 3
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Report 302 "Get Demand To Reserve"

> Report 302 "Get Demand To Reserve" in Base Application (Microsoft.Inventory.Tracking). 6 public procedures, 4 events. Present since at least BC23, still in BC30, changed in BC24-27, BC30.

Base Application · Microsoft.Inventory.Tracking · captioned "Get Demand to Reserve" · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Inventory/Tracking/GetDemandToReserve.Report.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Caption | Get Demand to Reserve |
| ApplicationArea | Reservation |

## Events published

- `OnGetDemand(var FilterItem: Record Item; var ReservationWkshBatch: Record "Reservation Wksh. Batch"; DemandType: Enum "Reservation Demand Type"; DateFilter: Text; VariantFilterFromBatch: Text; LocationFilterFromBatch: Text; ItemFilterFromBatch: Text; ReservedFromStock: Enum "Reservation From Stock")` (integration, obsolete 27.0)
- `OnSalesOrderLineOnAfterGetRecordOnBeforeSetTempSalesLine(var OrderSalesLine: Record "Sales Line"; var IsHandled: Boolean)` (integration)
- `OnTransferOrderLineOnAfterGetRecordOnBeforeSetTempTransferLine(var TransferLine: Record "Transfer Line"; var IsHandled: Boolean)` (integration)
- `OnJobPlanningLineOnAfterGetRecordOnBeforeSetTempJobPlanningLine(var JobPlanningLine: Record "Job Planning Line"; var IsHandled: Boolean)` (integration)

## Procedures

- `GetSalesOrderLines(var TempSalesLineToReturn: Record "Sales Line" temporary)`
- `GetTransferOrderLines(var TempTransferLineToReturn: Record "Transfer Line" temporary)`
- `GetJobPlanningLines(var TempJobPlanningLineToReturn: Record "Job Planning Line" temporary)`
- `GetAllocateAfterPopulate(): Boolean`
- `SetBatchName(NewBatchName: Code[10])`
- `SetParameters(NewBatchFiltersVisible: Boolean; NewDemandType: Enum "Reservation Demand Type"; NewReservedFromStock: Enum "Reservation From Stock"; NewAutoAllocate: Boolean)`

Plus 1 local procedures.

## Triggers

OnInitReport, OnPreReport

## Extended by

- [Report extension 5932 "Serv. Get Demand To Reserve"](../reportextension/5932.md)
- [Report extension 929 "Asm. Get Demand To Reserve"](../reportextension/929.md)
- [Report extension 99000858 "Mfg. Get Demand To Reserve"](../reportextension/99000858.md)

## Recent changes

- 2026-10-02 [#12066 Bugs/remove asm inv mfg clean27 tags for wave2 2026](../../changes/bcapps/12066.md) (main, BC30, obsoletion)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC24-27, BC30

## Deprecations

- procedure OnGetDemand: Pending 27.0 (#if not CLEAN27), "This event is never raised."

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). 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: "report", object_name: "Get Demand To Reserve")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
