---
title: "Codeunit 99000842 Service Line-Reserve"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/99000842-service-line-reserve/
type: codeunit
id: 99000842
name: "Service Line-Reserve"
app: "Base Application"
namespace: Microsoft.Service.Document
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/99000842-service-line-reserve/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 99000842 Service Line-Reserve

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/99000842-service-line-reserve/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Service.Document |
| Versions | 17-28 |
| Source file | Service/Document/ServiceLineReserve.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| CreateReservation | (Record Service Line, Text[100], Date, Decimal, Decimal, Record Reservation Entry) | - | public | 17-28 | - | - |
| CreateReservation | (Record Service Line, Text[100], Date, Decimal, Decimal, Code[50], Code[50]) | - | public | 17-18 | Pending 16.0 | Replaced by CreateReservation(ServiceLine, Description, ExpectedReceiptDate, Quantity, QuantityBase, ForReservEntry) |
| CreateReservationSetFrom | (Record Tracking Specification) | - | public | 17-28 | - | - |
| SetBinding | (Enum Reservation Binding) | - | public | 17-28 | - | - |
| FilterReservFor | (var Record Reservation Entry, Record Service Line) | - | public | 17-18 | Pending 16.0 | Replaced ServiceLine.SetReservationFilters(FilterReservEntry) |
| Caption | (Record Service Line) | Text | public | 17-28 | - | - |
| FindReservEntry | (Record Service Line, var Record Reservation Entry) | Boolean | public | 17-28 | - | - |
| ReservQuantity | (Record Service Line, var Decimal, var Decimal) | - | public | 17-28 | - | - |
| VerifyChange | (var Record Service Line, var Record Service Line) | - | public | 17-28 | - | - |
| VerifyQuantity | (var Record Service Line, var Record Service Line) | - | public | 17-28 | - | - |
| DeleteLineConfirm | (var Record Service Line) | Boolean | public | 17-28 | - | - |
| DeleteLine | (var Record Service Line) | - | public | 17-28 | - | - |
| CallItemTracking | (var Record Service Line) | - | public | 17-28 | - | - |
| TransServLineToServLine | (var Record Service Line, var Record Service Line, Decimal) | - | public | 17-28 | - | - |
| RetrieveInvoiceSpecification | (var Record Service Line, var Record Tracking Specification, Boolean) | Boolean | public | 17-28 | - | - |
| DeleteInvoiceSpecFromHeader | (Record Service Header) | - | public | 17-28 | - | - |
| TransServLineToItemJnlLine | (var Record Service Line, var Record Item Journal Line, Decimal, var Boolean) | Decimal | public | 17-28 | - | - |
| UpdateItemTrackingAfterPosting | (Record Service Header) | - | public | 17-28 | - | - |
| BindToPurchase | (Record Service Line, Record Purchase Line, Decimal, Decimal) | - | public | 17-27 | Pending 25.0 | Replaced by procedure BindToTracking() |
| BindToRequisition | (Record Service Line, Record Requisition Line, Decimal, Decimal) | - | public | 17-27 | Pending 25.0 | Replaced by procedure BindToTracking() |
| BindToTransfer | (Record Service Line, Record Transfer Line, Decimal, Decimal) | - | public | 17-27 | Pending 25.0 | Replaced by procedure BindToTracking() |
| BindToProdOrder | (Record Service Line, Record Prod. Order Line, Decimal, Decimal) | - | public | 17-27 | Pending 25.0 | Replaced by procedure BindToTracking() |
| BindToAssembly | (Record Service Line, Record Assembly Header, Decimal, Decimal) | - | public | 17-27 | Pending 25.0 | Replaced by procedure BindToTracking() |
| CreateBindingReservation | (Record Service Line, Text[100], Date, Decimal, Decimal) | - | public | 19-28 | - | - |
| GetReservedQtyFromInventory | (Record Service Line) | Decimal | public | 23-28 | - | - |
| GetReservedQtyFromInventory | (Record Service Header) | Decimal | public | 23-28 | - | - |
| BindToTracking | (Record Service Line, Record Tracking Specification, Text[100], Date, Decimal, Decimal) | - | public | 25-28 | - | - |
| InitFromServLine | (var Record Tracking Specification, var Record Service Line, Boolean) | - | public | 25-28 | - | - |
| ServiceInvLineCheck | (Record Service Line, Boolean) | - | public | 25-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnVerifyChangeOnBeforeHasError | (Record Service Line, Record Service Line, var Boolean, var Boolean) | 17-28 | - | - |
| Integration event | OnCallItemTrackingOnBeforeItemTrackingLinesRunModal | (var Record Service Line, var Page Item Tracking Lines) | 18-28 | - | - |
| Integration event | OnBeforeTransServLineToItemJnlLine | (var Record Service Line, var Record Item Journal Line, Decimal, var Boolean, var Decimal, var Boolean) | 20-28 | - | - |
| Integration event | OnBeforeVerifyChange | (var Record Service Line, var Record Service Line, var Boolean) | 22-28 | - | - |
| Integration event | OnAfterReservQuantity | (Record Service Line, var Decimal, var Decimal) | 23-28 | - | - |
| Integration event | OnTransServLineToServLineOnBeforeCreateReservEntry | (Record Reservation Entry, Record Service Line, var Decimal, var Boolean) | 23-28 | - | - |
| Integration event | OnCreateReservationOnBeforeCreateReservEntry | (var Record Service Line, var Decimal, var Decimal, var Record Reservation Entry, var Boolean, var Record Tracking Specification, Date, Text[100], Date) | 24-28 | - | - |
| Integration event | OnAfterCreateReservation | (var Record Service Line) | 24-28 | - | - |
| Integration event | OnBeforeAutoReserveServLine | (Integer, var Decimal, var Decimal, Text[100], Date, var Boolean, Text[1], Integer, Record Reservation Entry) | 25-28 | - | - |
| Integration event | OnSetSourceForReservationOnBeforeUpdateReservation | (var Record Reservation Entry, Record Service Line) | 25-28 | Pending 27.0 | This event is never raised. |
| Integration event | OnAfterInitFromServLine | (var Record Tracking Specification, Record Service Line) | 25-28 | - | - |
| Integration event | OnSetServLineOnBeforeUpdateReservation | (var Record Reservation Entry, Record Service Line) | 26-28 | - | - |
| Integration event | OnTransServLineToItemJnlLineOnBeforeTransferReservationEntry | (var Record Reservation Entry, var Record Service Line, var Record Item Journal Line, var Boolean) | 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.
