---
id: object/codeunit/99000841
type: object
title: Codeunit 99000841 "Item Ledger Entry-Reserve"
summary: Codeunit 99000841 "Item Ledger Entry-Reserve" in Base Application (Microsoft.Inventory.Ledger). 5 public procedures, 3 events, 10 event subscribers. Present since at least BC23, still in BC30, changed in BC25, BC27, BC30.
tier: official
language: en
tags:
  - codeunit
  - 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: 1918dfc000c29f862098b59b699121a71ec7f6523eb4f9e6cbbfb99a2b3f230a
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Inventory/Ledger/ItemLedgerEntryReserve.Codeunit.al
    title: src/Layers/W1/BaseApp/Inventory/Ledger/ItemLedgerEntryReserve.Codeunit.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: codeunit
object_id: 99000841
name: Item Ledger Entry-Reserve
namespace: Microsoft.Inventory.Ledger
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "25"
  - "27"
  - "30"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 22
  events: 3
  subscribers: 10
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 12
  calls: 1
  called_by: 13
  implements: 0
---

# Codeunit 99000841 "Item Ledger Entry-Reserve"

> Codeunit 99000841 "Item Ledger Entry-Reserve" in Base Application (Microsoft.Inventory.Ledger). 5 public procedures, 3 events, 10 event subscribers. Present since at least BC23, still in BC30, changed in BC25, BC27, BC30.

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

## Properties

| Property | Value |
|---|---|
| Permissions | TableData "Reservation Entry" = rimd |

## Events published

- `OnDrillDownTotalQuantity(SourceRecRef: RecordRef; EntrySummary: Record "Entry Summary"; ReservEntry: Record "Reservation Entry"; Location: Record Location; MaxQtyToReserve: Decimal; var IsHandled: Boolean)` (integration)
  - subscribers: [Codeunit 1032 "Job Planning Line-Reserve"](../codeunit/1032.md) ItemLedgerEntryOnDrillDownTotalQuantity, [Codeunit 925 "Assembly Header-Reserve"](../codeunit/925.md) ItemLedgerEntryOnDrillDownTotalQuantity, [Codeunit 926 "Assembly Line-Reserve"](../codeunit/926.md) ItemLedgerEntryOnDrillDownTotalQuantity, [Codeunit 99000832 "Sales Line-Reserve"](../codeunit/99000832.md) ItemLedgerEntryOnDrillDownTotalQuantity, [Codeunit 99000833 "Req. Line-Reserve"](../codeunit/99000833.md) ItemLedgerEntryOnDrillDownTotalQuantity, [Codeunit 99000834 "Purch. Line-Reserve"](../codeunit/99000834.md) ItemLedgerEntryOnDrillDownTotalQuantity, [Codeunit 99000836 "Transfer Line-Reserve"](../codeunit/99000836.md) ItemLedgerEntryOnDrillDownTotalQuantity, [Codeunit 99000837 "Prod. Order Line-Reserve"](../codeunit/99000837.md) OnDrillDownTotalQuantity, [Codeunit 99000838 "Prod. Order Comp.-Reserve"](../codeunit/99000838.md) OnDrillDownTotalQuantity, [Codeunit 99000840 "Plng. Component-Reserve"](../codeunit/99000840.md) ItemLedgerEntryOnDrillDownTotalQuantity, [Codeunit 99000842 "Service Line-Reserve"](../codeunit/99000842.md) ItemLedgerEntryOnDrillDownTotalQuantity
- `OnDrillDownTotalQuantityElseCase(SourceRecRef: RecordRef; EntrySummary: Record "Entry Summary"; ReservEntry: Record "Reservation Entry"; Location: Record Location; MaxQtyToReserve: Decimal)` (integration)
  - subscribers: [Codeunit 5854 "Invt. Doc. Line-Reserve"](../codeunit/5854.md) OnDrillDownTotalQuantityElseCase
- `OnSetItemLedgEntryOnBeforeUpdateReservation(var ReservEntry: Record "Reservation Entry"; ItemLedgerEntry: Record "Item Ledger Entry")` (integration, obsolete 27.0)

## Event subscriptions

- OnFilterReservEntry subscribes to Page "Reservation" OnFilterReservEntry
- OnRelatesToEntrySummary subscribes to Page "Reservation" OnAfterRelatesToSummEntry
- ReservationOnDrillDownTotalQuantity subscribes to Page "Reservation" OnDrillDownTotalQuantity
- OnLookupDocument subscribes to Codeunit "Reservation Management" OnLookupDocument
- OnLookupLine subscribes to Codeunit "Reservation Management" OnLookupLine
- OnFilterReservFor subscribes to Codeunit "Reservation Management" OnFilterReservFor
- OnLookupReserved subscribes to Page "Reservation Entries" OnLookupReserved
- OnGetSourceRecordValue subscribes to Codeunit "Reservation Management" OnGetSourceRecordValue
- OnRevertDateToSourceDate subscribes to Codeunit "Reservation Engine Mgt." OnRevertDateToSourceDate
- OnAfterCreateText subscribes to Codeunit "Reservation Engine Mgt." OnCreateText

## Procedures

- `FilterReservFor(var FilterReservationEntry: Record "Reservation Entry"; ItemLedgerEntry: Record "Item Ledger Entry")`
- `FilterReservFor(var FilterReservationEntry: Record "Reservation Entry"; ItemLedgerEntryNo: Integer; SourceKey: Boolean)`
- `Caption(ItemLedgerEntry: Record "Item Ledger Entry"): Text`
- `DrillDownTotalQuantity(SourceRecordRef: RecordRef; EntrySummary: Record "Entry Summary"; ReservationEntry: Record "Reservation Entry"; MaxQtyToReserve: Decimal)`
- `DrillDownTotalQuantity(SourceRecordRef: RecordRef; EntrySummary: Record "Entry Summary"; ReservationEntry: Record "Reservation Entry"; MaxQtyToReserve: Decimal; CheckOutbound: Boolean; SetMaxQtyToreserve: Boolean)`

Plus 4 local procedures.

## Triggers

OnRun

## 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.

- [Page 38 "Item Ledger Entries"](../page/38.md) (1 call: `ShowSourceLines → (object)`)

## Called by

- [Codeunit 1032 "Job Planning Line-Reserve"](../codeunit/1032.md) (1 call: `ItemLedgerEntryOnDrillDownTotalQuantity → DrillDownTotalQuantity`)
- [Codeunit 22 "Item Jnl.-Post Line"](../codeunit/22.md) (1 call: `ReservationPreventsApplication → FilterReservFor`)
- [Codeunit 6502 "Late Binding Management"](../codeunit/6502.md) (1 call: `NonSpecificReservedQtyExceptForSource → FilterReservFor`)
- [Codeunit 925 "Assembly Header-Reserve"](../codeunit/925.md) (1 call: `ItemLedgerEntryOnDrillDownTotalQuantity → DrillDownTotalQuantity`)
- [Codeunit 926 "Assembly Line-Reserve"](../codeunit/926.md) (1 call: `ItemLedgerEntryOnDrillDownTotalQuantity → DrillDownTotalQuantity`)
- [Codeunit 99000832 "Sales Line-Reserve"](../codeunit/99000832.md) (1 call: `ItemLedgerEntryOnDrillDownTotalQuantity → DrillDownTotalQuantity`)
- [Codeunit 99000833 "Req. Line-Reserve"](../codeunit/99000833.md) (1 call: `ItemLedgerEntryOnDrillDownTotalQuantity → DrillDownTotalQuantity`)
- [Codeunit 99000834 "Purch. Line-Reserve"](../codeunit/99000834.md) (1 call: `ItemLedgerEntryOnDrillDownTotalQuantity → DrillDownTotalQuantity`)
- [Codeunit 99000836 "Transfer Line-Reserve"](../codeunit/99000836.md) (1 call: `ItemLedgerEntryOnDrillDownTotalQuantity → DrillDownTotalQuantity`)
- [Codeunit 99000837 "Prod. Order Line-Reserve"](../codeunit/99000837.md) (1 call: `OnDrillDownTotalQuantity → DrillDownTotalQuantity`)
- [Codeunit 99000838 "Prod. Order Comp.-Reserve"](../codeunit/99000838.md) (1 call: `OnDrillDownTotalQuantity → DrillDownTotalQuantity`)
- [Codeunit 99000840 "Plng. Component-Reserve"](../codeunit/99000840.md) (1 call: `ItemLedgerEntryOnDrillDownTotalQuantity → DrillDownTotalQuantity`)
- [Codeunit 99000842 "Service Line-Reserve"](../codeunit/99000842.md) (1 call: `ItemLedgerEntryOnDrillDownTotalQuantity → DrillDownTotalQuantity`)

## 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: BC25, BC27, BC30

## Deprecations

- procedure OnSetItemLedgEntryOnBeforeUpdateReservation: 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). 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: "codeunit", object_name: "Item Ledger Entry-Reserve")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
