---
id: object/codeunit/99000835
type: object
title: Codeunit 99000835 "Item Jnl. Line-Reserve"
summary: Codeunit 99000835 "Item Jnl. Line-Reserve" in Base Application (Microsoft.Inventory.Journal). 18 public procedures, 20 events, 13 event subscribers. Present since at least BC23, still in BC30, changed in BC24-25, BC27-28, 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: eb4bd9906a685f8f94d8a7286f02d69fd3607c49aaa16c1daf29eebb992ec967
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Inventory/Journal/ItemJnlLineReserve.Codeunit.al
    title: src/Layers/W1/BaseApp/Inventory/Journal/ItemJnlLineReserve.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: 99000835
name: Item Jnl. Line-Reserve
namespace: Microsoft.Inventory.Journal
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"
  - "27"
  - "28"
  - "30"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 59
  events: 20
  subscribers: 13
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 1
  calls: 5
  called_by: 18
  implements: 0
---

# Codeunit 99000835 "Item Jnl. Line-Reserve"

> Codeunit 99000835 "Item Jnl. Line-Reserve" in Base Application (Microsoft.Inventory.Journal). 18 public procedures, 20 events, 13 event subscribers. Present since at least BC23, still in BC30, changed in BC24-25, BC27-28, BC30.

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

## Properties

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

## Events published

- `OnBeforeCallItemTracking(var ItemJournalLine: Record "Item Journal Line"; IsReclass: Boolean; var IsHandled: Boolean)` (integration)
- `OnBeforeDeleteLine(var ItemJournalLine: Record "Item Journal Line"; var DeleteItemTracking: Boolean)` (integration)
- `OnBeforeVerifyQuantity(var NewItemJournalLine: Record "Item Journal Line"; OldItemJournalLine: Record "Item Journal Line"; var ReservMgt: Codeunit "Reservation Management"; var Blocked: Boolean; var IsHandled: Boolean)` (integration)
- `OnBeforeTestOldReservEntryLocationCode(var OldReservEntry: Record "Reservation Entry"; var ItemJnlLine: Record "Item Journal Line"; var IsHandled: Boolean)` (integration)
- `OnTransferItemJnlToItemLedgEntryOnBeforeTestVariantCode(var OldReservEntry: Record "Reservation Entry"; var ItemJnlLine: Record "Item Journal Line"; var IsHandled: Boolean)` (integration)
- `OnTransferItemJnlToItemLedgEntryOnBeforeTransferReservEntry(var ItemLedgerEntry: Record "Item Ledger Entry")` (integration)
- `OnTransferItemJnlToItemLedgEntryOnAfterTransferReservEntry(OldReservationEntry2: Record "Reservation Entry"; ReservationStatus: Enum "Reservation Status"; ItemLedgerEntry: Record "Item Ledger Entry")` (integration)
- `OnVerifyChangeOnBeforeHasError(NewItemJnlLine: Record "Item Journal Line"; OldItemJnlLine: Record "Item Journal Line"; var HasError: Boolean; var ShowError: Boolean)` (integration)
- `OnCallItemTrackingOnBeforeItemTrackingLinesRunModal(var ItemJnlLine: REcord "Item Journal Line"; var ItemTrackingLines: Page "Item Tracking Lines")` (integration)
- `OnCreateReservationOnBeforeCreateReservEntry(var ItemJnlLine: Record "Item Journal Line"; var Quantity: Decimal; var QuantityBase: Decimal; var ForReservEntry: Record "Reservation Entry"; var IsHandled: Boolean; var FromTrackingSpecification: Record "Tracking Specification"; ExpectedReceiptDate: Date; var Description: Text[100]; ShipmentDate: Date)` (integration)
- `OnCallItemTrackingOnBeforeCallItemJnlLineItemTracking(var ItemJournalLine: Record "Item Journal Line"; var IsHandled: Boolean)` (integration)
- `OnCallItemTrackingOnCheckItemPosting(var ItemJournalLine: Record "Item Journal Line")` (integration)
  - subscribers: [Codeunit 99000762 "Mfg. Item Journal Mgt."](../codeunit/99000762.md) OnCallItemTrackingOnCheckItemPosting
- `OnBeforeVerifyChange(var NewItemJournalLine: Record "Item Journal Line"; OldItemJournalLine: Record "Item Journal Line"; var ReservationManagement: Codeunit "Reservation Management"; var Blocked: Boolean; var IsHandled: Boolean)` (integration)
- `OnReservEntryExistOnBeforeReservationEntryIsEmpty(var ReservationEntry: Record "Reservation Entry"; ItemJournalLine: Record "Item Journal Line")` (integration)
- `OnFindReservEntryOnBeforeReservationEntryFindLast(var ReservationEntry: Record "Reservation Entry"; ItemJournalLine: Record "Item Journal Line")` (integration)
- `OnCreateReservationOnBeforeCreateReservation(var ItemJournalLine: Record "Item Journal Line"; var TrackingSpecification: Record "Tracking Specification"; var Description: Text[100]; var ExpectedDate: Date; var Quantity: Decimal; var QuantityBase: Decimal; var ReservationEntry: Record "Reservation Entry")` (integration)
- `OnSetSourceForReservationOnBeforeUpdateReservation(var ReservEntry: Record "Reservation Entry"; ItemJnlLine: Record "Item Journal Line")` (integration, obsolete 27.0)
- `OnAfterInitFromItemJnlLine(var TrackingSpecification: Record "Tracking Specification"; ItemJournalLine: Record "Item Journal Line")` (integration)
- `OnAfterGetSourceValue(var ReservationEntry: Record "Reservation Entry"; var SourceRecRef: RecordRef; ReturnOption: Option "Net Qty. (Base)","Gross Qty. (Base)"; var ReturnQty: Decimal)` (integration)
- `OnAfterCreateReservation(var ItemJournalLine: Record "Item Journal Line"; Description: Text[100]; ExpectedReceiptDate: Date; Quantity: Decimal; QuantityBase: Decimal; ReservationEntry: Record "Reservation Entry")` (integration)

## Event subscriptions

- OnSetReservSource subscribes to Page "Reservation" OnSetReservSource
- OnFilterReservEntry subscribes to Page "Reservation" OnFilterReservEntry
- OnRelatesToEntrySummary subscribes to Page "Reservation" OnAfterRelatesToSummEntry
- OnCreateReservation subscribes to Codeunit "Reservation Management" OnCreateReservation
- OnLookupDocument subscribes to Codeunit "Reservation Management" OnLookupDocument
- OnLookupLine subscribes to Codeunit "Reservation Management" OnLookupLine
- OnLookupReserved subscribes to Page "Reservation Entries" OnLookupReserved
- OnGetSourceRecordValue subscribes to Codeunit "Reservation Management" OnGetSourceRecordValue
- CheckSourceTypeSubtype subscribes to Codeunit "Create Reserv. Entry" OnCheckSourceTypeSubtype
- OnGetActivePointerFieldsOnBeforeAssignArrayValues subscribes to Codeunit "Reservation Engine Mgt." OnGetActivePointerFieldsOnBeforeAssignArrayValues
- OnAfterCreateText subscribes to Codeunit "Reservation Engine Mgt." OnCreateText
- OnBeforeCheckApplyFromItemEntrySourceType subscribes to Table "Tracking Specification" OnBeforeCheckApplyFromItemEntrySourceType
- ReservationEntryOnUpdateSourceCost subscribes to Table "Reservation Entry" OnUpdateSourceCost

## Procedures

- `CreateReservation(var ItemJournalLine: Record "Item Journal Line"; Description: Text[100]; ExpectedReceiptDate: Date; Quantity: Decimal; QuantityBase: Decimal; ForReservationEntry: Record "Reservation Entry")`
- `CreateReservationSetFrom(TrackingSpecification: Record "Tracking Specification")`
- `Caption(ItemJournalLine: Record "Item Journal Line"): Text`
- `FindReservEntry(ItemJournalLine: Record "Item Journal Line"; var ReservationEntry: Record "Reservation Entry"): Boolean`
- `ReservEntryExist(ItemJournalLine: Record "Item Journal Line"): Boolean`
- `ReservEntryExist(ItemJournalLine: Record "Item Journal Line"; var ReservationEntry: Record "Reservation Entry"): Boolean`
- `VerifyChange(var NewItemJournalLine: Record "Item Journal Line"; var OldItemJournalLine: Record "Item Journal Line")`
- `VerifyQuantity(var NewItemJournalLine: Record "Item Journal Line"; var OldItemJournalLine: Record "Item Journal Line")`
- `TransferItemJnlToItemLedgEntry(var ItemJournalLine: Record "Item Journal Line"; var ItemLedgerEntry: Record "Item Ledger Entry"; TransferQty: Decimal; SkipInventory: Boolean): Boolean`
- `RenameLine(var NewItemJournalLine: Record "Item Journal Line"; var OldItemJournalLine: Record "Item Journal Line")`
- `DeleteLineConfirm(var ItemJournalLine: Record "Item Journal Line"): Boolean`
- `DeleteLine(var ItemJournalLine: Record "Item Journal Line")`
- `AssignForPlanning(var ItemJournalLine: Record "Item Journal Line")`
- `Block(SetBlocked: Boolean)`
- `CallItemTracking(var ItemJournalLine: Record "Item Journal Line"; IsReclass: Boolean)`
- `CreateItemTracking(var ItemJournalLine: Record "Item Journal Line")`
- `RegisterBinContentItemTracking(var ItemJournalLine: Record "Item Journal Line"; var TempTrackingSpecification: Record "Tracking Specification" temporary)`
- `InitFromItemJnlLine(var TrackingSpecification: Record "Tracking Specification"; ItemJnlLine: Record "Item Journal Line")`

Plus 8 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.

- [Codeunit 99000845 "Reservation Management"](../codeunit/99000845.md) (12 calls: `DeleteLine → DeleteReservEntries`, `DeleteLine → SetItemTrackingHandling`, `DeleteLine → SetReservSource`, …)
- [Codeunit 99000830 "Create Reserv. Entry"](../codeunit/99000830.md) (5 calls: `CreateReservation → CreateReservEntry`, `CreateReservation → CreateReservEntryFor`, `CreateReservation → CreateReservEntryFrom`, …)
- [Page 519 "Item Journal Lines"](../page/519.md) (3 calls: `OnLookupDocument → (object)`, `OnLookupLine → (object)`, `ShowSourceLines → (object)`)
- [Codeunit 6500 "Item Tracking Management"](../codeunit/6500.md) (1 call: `VerifyChange → GetWhseItemTrkgSetup`)
- [Codeunit 99000831 "Reservation Engine Mgt."](../codeunit/99000831.md) (1 call: `RenameLine → RenamePointer`)

## Called by

- [Table 83 "Item Journal Line"](../table/83.md) (7 calls: `CheckPlanningAssignment → AssignForPlanning`, `CreateItemTrackingLines → CreateItemTracking`, `LookUpTrackingSummary → InitFromItemJnlLine`, …)
- [Codeunit 22 "Item Jnl.-Post Line"](../codeunit/22.md) (3 calls: `InsertTransferEntry → TransferItemJnlToItemLedgEntry`, `ItemQtyPosting → TransferItemJnlToItemLedgEntry`, `UndoQuantityPosting → TransferItemJnlToItemLedgEntry`)
- [Codeunit 47026 "SL Item Migrator"](../codeunit/47026.md) (2 calls: `CreateItemTrackingLinesIfNecessary → InitFromItemJnlLine`, `CreateItemTrackingLinesSpecificID → InitFromItemJnlLine`)
- [Codeunit 5406 "Output Jnl.-Expl. Route"](../codeunit/5406.md) (2 calls: `OnRun → DeleteLine`, `OnRun → DeleteLineConfirm`)
- [Page 286 "Recurring Item Jnl."](../page/286.md) (2 calls: `OnDeleteRecord → DeleteLine`, `OnDeleteRecord → DeleteLineConfirm`)
- [Page 392 "Phys. Inventory Journal"](../page/392.md) (2 calls: `OnDeleteRecord → DeleteLine`, `OnDeleteRecord → DeleteLineConfirm`)
- [Page 393 "Item Reclass. Journal"](../page/393.md) (2 calls: `OnDeleteRecord → DeleteLine`, `OnDeleteRecord → DeleteLineConfirm`)
- [Page 40 "Item Journal"](../page/40.md) (2 calls: `OnDeleteRecord → DeleteLine`, `OnDeleteRecord → DeleteLineConfirm`)
- [Page 5510 "Production Journal"](../page/5510.md) (2 calls: `OnDeleteRecord → DeleteLine`, `OnDeleteRecord → DeleteLineConfirm`)
- [Page 99000823 "Output Journal"](../page/99000823.md) (2 calls: `OnDeleteRecord → DeleteLine`, `OnDeleteRecord → DeleteLineConfirm`)
- [Page 99000827 "Recurring Output Journal"](../page/99000827.md) (2 calls: `OnDeleteRecord → DeleteLine`, `OnDeleteRecord → DeleteLineConfirm`)
- [Page 99000846 "Consumption Journal"](../page/99000846.md) (2 calls: `OnDeleteRecord → DeleteLine`, `OnDeleteRecord → DeleteLineConfirm`)
- [Page 99000850 "Recurring Consumption Journal"](../page/99000850.md) (2 calls: `OnDeleteRecord → DeleteLine`, `OnDeleteRecord → DeleteLineConfirm`)
- [Codeunit 4019 "GP Item Migrator"](../codeunit/4019.md) (1 call: `CreateNewItemTrackingLinesIfNecessary → InitFromItemJnlLine`)
- [Codeunit 90 "Purch.-Post"](../codeunit/90.md) (1 call: `CollectPurchaseLineReservEntries → FindReservEntry`)
- [Codeunit 99000815 "Reservation-Check Date Confl."](../codeunit/99000815.md) (1 call: `ItemJnlLineCheck → FindReservEntry`)
- [Report 5405 "Calc. Consumption"](../report/5405.md) (1 call: `AssignItemTracking → InitFromItemJnlLine`)
- [Report 7391 "Whse. Get Bin Content"](../report/7391.md) (1 call: `GetItemTracking → RegisterBinContentItemTracking`)

## 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-25, BC27-28, BC30

## Deprecations

- procedure OnSetSourceForReservationOnBeforeUpdateReservation: 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 Jnl. Line-Reserve")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
