---
title: "Codeunit 99000831 Reservation Engine Mgt."
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/99000831-reservation-engine-mgt/
type: codeunit
id: 99000831
name: "Reservation Engine Mgt."
app: "Base Application"
namespace: Microsoft.Inventory.Tracking
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/99000831-reservation-engine-mgt/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Codeunit 99000831 Reservation Engine Mgt.

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/99000831-reservation-engine-mgt/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Inventory.Tracking |
| Versions | 17-28 |
| Source file | Inventory/Tracking/ReservationEngineMgt.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| CancelReservation | (Record Reservation Entry) | - | public | 17-28 | - | - |
| CloseReservEntry | (Record Reservation Entry, Boolean, Boolean) | - | public | 17-28 | - | - |
| CloseSurplusTrackingEntry | (Record Reservation Entry) | - | public | 17-28 | - | - |
| ModifyReservEntry | (Record Reservation Entry, Decimal, Text[100], Boolean) | - | public | 17-28 | - | - |
| CreateForText | (Record Reservation Entry) | Text[80] | public | 17-28 | - | - |
| CreateFromText | (Record Reservation Entry) | Text[80] | public | 17-28 | - | - |
| CreateText | (Record Reservation Entry) | Text[80] | public | 17-28 | - | - |
| ModifyShipmentDate | (var Record Reservation Entry, Date) | - | public | 17-28 | - | - |
| ModifyExpectedReceiptDate | (var Record Reservation Entry, Date) | - | public | 17-28 | - | - |
| InitFilterAndSortingFor | (var Record Reservation Entry, Boolean) | - | public | 17-28 | - | - |
| InitFilterAndSortingLookupFor | (var Record Reservation Entry, Boolean) | - | public | 17-28 | - | - |
| ModifyUnitOfMeasure | (var Record Reservation Entry, Decimal) | - | public | 17-28 | - | - |
| ModifyActionMessageDating | (var Record Reservation Entry) | - | public | 17-28 | - | - |
| AddItemTrackingToTempRecSet | (var Record Reservation Entry, var Record Tracking Specification, Decimal, var Decimal, Record Item Tracking Code) | Decimal | public | 17-28 | - | - |
| AddItemTrackingToTempRecSet | (var Record Reservation Entry, var Record Tracking Specification, Decimal, var Decimal, Boolean, Boolean) | Decimal | public | 17-18 | Pending 16.0 | Replaced by AddItemTrackingToTempRecSet(var TempReservEntry: Record "Reservation Entry" temporary; var TrackingSpecification: Record "Tracking Specification"; QtyToAdd: Decimal; var QtyToAddAsBlank: Decimal; ItemTrackingCode: Record "Item Tracking Code") |
| CollectAffectedSurplusEntries | (var Record Reservation Entry) | Boolean | public | 17-28 | - | - |
| UpdateOrderTracking | (var Record Reservation Entry) | - | public | 17-28 | - | - |
| UpdateActionMessages | (Record Reservation Entry) | - | public | 17-28 | - | - |
| InitRecordSet | (var Record Reservation Entry) | Boolean | public | 17-28 | - | - |
| InitRecordSet | (var Record Reservation Entry, Code[50], Code[50]) | Boolean | public | 17-19 | Pending 17.0 | Replaced by InitRecordSet with parameter ItemTrackingSetup |
| InitRecordSet | (var Record Reservation Entry, Record Item Tracking Setup) | Boolean | public | 17-28 | - | - |
| NEXTRecord | (var Record Reservation Entry) | Integer | public | 17-28 | - | - |
| RenamePointer | (Integer, Integer, Code[20], Code[10], Integer, Integer, Integer, Code[20], Code[10], Integer, Integer) | - | public | 17-28 | - | - |
| SplitTrackingConnection | (Record Reservation Entry, Date) | - | public | 17-28 | - | - |
| RetrieveLostReservQty | (var Decimal) | Boolean | public | 17-28 | - | - |
| ResvExistsForSalesHeader | (var Record Sales Header) | Boolean | public | 17-28 | - | - |
| ResvExistsForPurchHeader | (var Record Purchase Header) | Boolean | public | 17-28 | - | - |
| ResvExistsForTransHeader | (var Record Transfer Header) | Boolean | public | 17-28 | - | - |
| ResvExistsForHeader | (var Record Reservation Entry) | Boolean | public | 21-28 | - | - |
| ChangeDateFieldOnReservEntry | (var Record Reservation Entry, Date, Date) | - | public | 25-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnAfterCreateText | (Record Reservation Entry, var Text) | 17-28 | - | - |
| Integration event | OnAfterItemTrackingMismatch | (Record Reservation Entry, Record Item Tracking Setup, var Boolean) | 17-28 | - | - |
| Integration event | OnAfterModifyReservEntry | (var Record Reservation Entry) | 17-28 | - | - |
| Integration event | OnAfterModifyShipmentDate | (var Record Reservation Entry, var Record Reservation Entry) | 17-28 | - | - |
| Integration event | OnAfterSetItemTracking2 | (var Record Tracking Specification, Record Reservation Entry) | 17-28 | - | - |
| Integration event | OnBeforeCancelReservation | (var Record Reservation Entry) | 17-21 | - | - |
| Integration event | OnBeforeCloseReservEntry | (var Record Reservation Entry, Boolean, Boolean) | 17-19 | - | - |
| Integration event | OnBeforeModifyReservEntry | (Record Reservation Entry, Decimal, Text[100], Boolean) | 17-28 | - | - |
| Integration event | OnBeforeUpdateItemTracking | (var Record Reservation Entry, var Record Tracking Specification) | 17-28 | - | - |
| Integration event | OnCancelReservationOnBeforeDoCancel | (Record Reservation Entry, Record Reservation Entry, var Boolean) | 17-28 | - | - |
| Integration event | OnInitRecordSetOnBeforeCheckItemTrackingExists | (var Boolean, var Record Reservation Entry, var Boolean) | 17-28 | - | - |
| Integration event | OnModifyReservEntryOnAfterExistingReservEntryModify | (var Record Reservation Entry) | 17-28 | - | - |
| Integration event | OnModifyReservEntryOnBeforeExistingReservEntryModify | (var Record Reservation Entry) | 17-28 | - | - |
| Integration event | OnNextRecordOnAfterFilterTempSortRec2 | (var Record Reservation Entry, Record Reservation Entry) | 17-28 | - | - |
| Integration event | OnGetActivePointerFieldsOnBeforeAssignArrayValues | (Integer, var Boolean, var Boolean) | 17-28 | - | - |
| Integration event | OnAfterModifyExpectedReceiptDate | (var Record Reservation Entry, var Record Reservation Entry) | 18-28 | - | - |
| Integration event | OnCancelReservationOnAfterDoCancel | (Record Reservation Entry, Record Reservation Entry) | 18-28 | - | - |
| Integration event | OnModifyItemTrackingOnTempRecOnBeforeModifyReservEntry | (var Record Reservation Entry) | 18-28 | - | - |
| Integration event | OnAfterCancelReservation | (Record Reservation Entry, Record Reservation Entry) | 19-28 | - | - |
| Integration event | OnBeforeCloseReservEntry | (var Record Reservation Entry, var Boolean, Boolean) | 20 | - | - |
| Integration event | OnAfterCloseReservEntry | (var Record Reservation Entry) | 20-28 | - | - |
| Integration event | OnCloseReservEntryOnAfterReservEntry2Get | (var Record Reservation Entry, var Record Reservation Entry) | 20-28 | - | - |
| Integration event | OnCloseReservEntryOnBeforeDeleteReservEntry2 | (var Record Reservation Entry, Record Reservation Entry) | 20-28 | - | - |
| Integration event | OnCloseReservEntryOnBeforeModifyReservEntry2 | (var Record Reservation Entry, Record Reservation Entry) | 20-28 | - | - |
| Integration event | OnSetItemTracking2OnBeforeShouldRaiseCannotStateItemTrackingError | (Record Reservation Entry, var Record Tracking Specification, var Boolean) | 20-28 | - | - |
| Integration event | OnBeforeCloseReservEntry | (var Record Reservation Entry, var Boolean, Boolean, var Boolean) | 21-28 | - | - |
| Integration event | OnBeforeSetKeyAndFilters | (var Record Reservation Entry, var Boolean) | 21-28 | - | - |
| Integration event | OnBeforeModifyReservEntryOnCheckNewQuantity | (var Record Reservation Entry, var Decimal, Text[100], var Boolean, var Boolean) | 21-28 | - | - |
| Integration event | OnBeforeCancelReservation | (var Record Reservation Entry, var Boolean) | 22-28 | - | - |
| Integration event | OnBeforeModifyItemTrkgByReservStatus | (var Record Reservation Entry, var Record Tracking Specification, Enum Reservation Status, var Decimal, var Decimal, Record Item Tracking Code, var Boolean) | 22-28 | - | - |
| Integration event | OnCreateText | (Record Reservation Entry, var Text[80]) | 25-28 | - | - |
| Integration event | OnRevertDateToSourceDate | (var Record Reservation Entry) | 25-28 | - | - |
| Integration event | OnModifyActionMessageDatingOnGetDampenerPeriod | (Record Reservation Entry, var DateFormula) | 26-28 | - | - |
| Integration event | OnAfterShouldModifyActionMessageDating | (Record Reservation Entry, var Boolean) | 26-28 | - | - |
| Integration event | OnCloseReservEntryOnAfterGetItem | (var Record Reservation Entry, var Record Item) | 27-28 | - | - |

## Source

Symbols: Microsoft.BaseApplication.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at a66254c3b8b5bb1cea290dc8f9d097aec4381153.

Jonas Paprotka, 2026-09-20.
