{"title":"Codeunit 99000842 Service Line-Reserve, procedures","url":"https://jonas-paprotka.de/ref/codeunit/99000842-service-line-reserve/procedures/","author":"JOP-AL","license":"Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-05","object":{"type":"codeunit","id":99000842,"name":"Service Line-Reserve","app":"Base Application","versions":"17-29","url":"https://jonas-paprotka.de/ref/codeunit/99000842-service-line-reserve/","json":"https://jonas-paprotka.de/ref/codeunit/99000842-service-line-reserve.json"},"aspect":"procedures","total":29,"rows":[{"name":"CreateReservation","sig":"(Record Service Line, Text[100], Date, Decimal, Decimal, Record Reservation Entry)","named":"(ServiceLine: Record \"Service Line\"; Description: Text[100]; ExpectedReceiptDate: Date; Quantity: Decimal; QuantityBase: Decimal; ForReservationEntry: Record \"Reservation Entry\")","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":22,"named":"(ServiceLine: Record \"Service Line\"; Description: Text[100]; ExpectedReceiptDate: Date; Quantity: Decimal; QuantityBase: Decimal; ForReservEntry: Record \"Reservation Entry\")","returns":"","kind":"procedure","access":"public","obsolete":null},{"from":23,"to":29,"named":"(ServiceLine: Record \"Service Line\"; Description: Text[100]; ExpectedReceiptDate: Date; Quantity: Decimal; QuantityBase: Decimal; ForReservationEntry: Record \"Reservation Entry\")","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"CreateReservation","sig":"(Record Service Line, Text[100], Date, Decimal, Decimal, Code[50], Code[50])","named":"(ServiceLine: Record \"Service Line\"; Description: Text[100]; ExpectedReceiptDate: Date; Quantity: Decimal; QuantityBase: Decimal; ForSerialNo: Code[50]; ForLotNo: Code[50])","returns":"","kind":"procedure","access":"public","obsolete":{"state":"Pending","reason":"Replaced by CreateReservation(ServiceLine, Description, ExpectedReceiptDate, Quantity, QuantityBase, ForReservEntry)","tag":"16.0"},"range":"17-18","first":17,"last":18,"obsoleteSince":17,"spans":[{"from":17,"to":18,"named":"(ServiceLine: Record \"Service Line\"; Description: Text[100]; ExpectedReceiptDate: Date; Quantity: Decimal; QuantityBase: Decimal; ForSerialNo: Code[50]; ForLotNo: Code[50])","returns":"","kind":"procedure","access":"public","obsolete":{"state":"Pending","reason":"Replaced by CreateReservation(ServiceLine, Description, ExpectedReceiptDate, Quantity, QuantityBase, ForReservEntry)","tag":"16.0"}}]},{"name":"CreateReservationSetFrom","sig":"(Record Tracking Specification)","named":"(TrackingSpecification: Record \"Tracking Specification\")","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(TrackingSpecification: Record \"Tracking Specification\")","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"SetBinding","sig":"(Enum Reservation Binding)","named":"(Binding: Enum \"Reservation Binding\")","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(Binding: Enum \"Reservation Binding\")","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"FilterReservFor","sig":"(var Record Reservation Entry, Record Service Line)","named":"(var FilterReservEntry: Record \"Reservation Entry\"; ServiceLine: Record \"Service Line\")","returns":"","kind":"procedure","access":"public","obsolete":{"state":"Pending","reason":"Replaced ServiceLine.SetReservationFilters(FilterReservEntry)","tag":"16.0"},"range":"17-18","first":17,"last":18,"obsoleteSince":17,"spans":[{"from":17,"to":18,"named":"(var FilterReservEntry: Record \"Reservation Entry\"; ServiceLine: Record \"Service Line\")","returns":"","kind":"procedure","access":"public","obsolete":{"state":"Pending","reason":"Replaced ServiceLine.SetReservationFilters(FilterReservEntry)","tag":"16.0"}}]},{"name":"Caption","sig":"(Record Service Line)","named":"(ServiceLine: Record \"Service Line\")","returns":"Text","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(ServiceLine: Record \"Service Line\")","returns":"Text","kind":"procedure","access":"public","obsolete":null}]},{"name":"FindReservEntry","sig":"(Record Service Line, var Record Reservation Entry)","named":"(ServiceLine: Record \"Service Line\"; var ReservationEntry: Record \"Reservation Entry\")","returns":"Boolean","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":22,"named":"(ServiceLine: Record \"Service Line\"; var ReservEntry: Record \"Reservation Entry\")","returns":"Boolean","kind":"procedure","access":"public","obsolete":null},{"from":23,"to":29,"named":"(ServiceLine: Record \"Service Line\"; var ReservationEntry: Record \"Reservation Entry\")","returns":"Boolean","kind":"procedure","access":"public","obsolete":null}]},{"name":"ReservQuantity","sig":"(Record Service Line, var Decimal, var Decimal)","named":"(ServiceLine: Record \"Service Line\"; var QtyToReserve: Decimal; var QtyToReserveBase: Decimal)","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":22,"named":"(ServLine: Record \"Service Line\"; var QtyToReserve: Decimal; var QtyToReserveBase: Decimal)","returns":"","kind":"procedure","access":"public","obsolete":null},{"from":23,"to":29,"named":"(ServiceLine: Record \"Service Line\"; var QtyToReserve: Decimal; var QtyToReserveBase: Decimal)","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"VerifyChange","sig":"(var Record Service Line, var Record Service Line)","named":"(var NewServiceLine: Record \"Service Line\"; var OldServiceLine: Record \"Service Line\")","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(var NewServiceLine: Record \"Service Line\"; var OldServiceLine: Record \"Service Line\")","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"VerifyQuantity","sig":"(var Record Service Line, var Record Service Line)","named":"(var NewServiceLine: Record \"Service Line\"; var OldServiceLine: Record \"Service Line\")","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(var NewServiceLine: Record \"Service Line\"; var OldServiceLine: Record \"Service Line\")","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"DeleteLineConfirm","sig":"(var Record Service Line)","named":"(var ServiceLine: Record \"Service Line\")","returns":"Boolean","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":22,"named":"(var ServLine: Record \"Service Line\")","returns":"Boolean","kind":"procedure","access":"public","obsolete":null},{"from":23,"to":29,"named":"(var ServiceLine: Record \"Service Line\")","returns":"Boolean","kind":"procedure","access":"public","obsolete":null}]},{"name":"DeleteLine","sig":"(var Record Service Line)","named":"(var ServiceLine: Record \"Service Line\")","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":22,"named":"(var ServLine: Record \"Service Line\")","returns":"","kind":"procedure","access":"public","obsolete":null},{"from":23,"to":29,"named":"(var ServiceLine: Record \"Service Line\")","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"CallItemTracking","sig":"(var Record Service Line)","named":"(var ServiceLine: Record \"Service Line\")","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(var ServiceLine: Record \"Service Line\")","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"TransServLineToServLine","sig":"(var Record Service Line, var Record Service Line, Decimal)","named":"(var OldServiceLine: Record \"Service Line\"; var NewServiceLine: Record \"Service Line\"; TransferQty: Decimal)","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":22,"named":"(var OldServLine: Record \"Service Line\"; var NewServLine: Record \"Service Line\"; TransferQty: Decimal)","returns":"","kind":"procedure","access":"public","obsolete":null},{"from":23,"to":29,"named":"(var OldServiceLine: Record \"Service Line\"; var NewServiceLine: Record \"Service Line\"; TransferQty: Decimal)","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"RetrieveInvoiceSpecification","sig":"(var Record Service Line, var Record Tracking Specification, Boolean)","named":"(var ServiceLine: Record \"Service Line\"; var TempTrackingSpecification: Record \"Tracking Specification\" temporary; Consume: Boolean)","returns":"Boolean","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":22,"named":"(var ServLine: Record \"Service Line\"; var TempInvoicingSpecification: Record \"Tracking Specification\" temporary; Consume: Boolean)","returns":"Boolean","kind":"procedure","access":"public","obsolete":null},{"from":23,"to":29,"named":"(var ServiceLine: Record \"Service Line\"; var TempTrackingSpecification: Record \"Tracking Specification\" temporary; Consume: Boolean)","returns":"Boolean","kind":"procedure","access":"public","obsolete":null}]},{"name":"DeleteInvoiceSpecFromHeader","sig":"(Record Service Header)","named":"(ServiceHeader: Record \"Service Header\")","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":22,"named":"(ServHeader: Record \"Service Header\")","returns":"","kind":"procedure","access":"public","obsolete":null},{"from":23,"to":29,"named":"(ServiceHeader: Record \"Service Header\")","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"TransServLineToItemJnlLine","sig":"(var Record Service Line, var Record Item Journal Line, Decimal, var Boolean)","named":"(var ServiceLine: Record \"Service Line\"; var ItemJournalLine: Record \"Item Journal Line\"; TransferQty: Decimal; var CheckApplFromItemEntry: Boolean)","returns":"Decimal","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":22,"named":"(var ServLine: Record \"Service Line\"; var ItemJnlLine: Record \"Item Journal Line\"; TransferQty: Decimal; var CheckApplFromItemEntry: Boolean)","returns":"Decimal","kind":"procedure","access":"public","obsolete":null},{"from":23,"to":29,"named":"(var ServiceLine: Record \"Service Line\"; var ItemJournalLine: Record \"Item Journal Line\"; TransferQty: Decimal; var CheckApplFromItemEntry: Boolean)","returns":"Decimal","kind":"procedure","access":"public","obsolete":null}]},{"name":"UpdateItemTrackingAfterPosting","sig":"(Record Service Header)","named":"(ServiceHeader: Record \"Service Header\")","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":22,"named":"(ServHeader: Record \"Service Header\")","returns":"","kind":"procedure","access":"public","obsolete":null},{"from":23,"to":29,"named":"(ServiceHeader: Record \"Service Header\")","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"BindToPurchase","sig":"(Record Service Line, Record Purchase Line, Decimal, Decimal)","named":"(ServiceLine: Record \"Service Line\"; PurchaseLine: Record \"Purchase Line\"; ReservQty: Decimal; ReservQtyBase: Decimal)","returns":"","kind":"procedure","access":"public","obsolete":{"state":"Pending","reason":"Replaced by procedure BindToTracking()","tag":"25.0"},"range":"17-27","first":17,"last":27,"obsoleteSince":25,"spans":[{"from":17,"to":22,"named":"(ServiceLine: Record \"Service Line\"; PurchLine: Record \"Purchase Line\"; ReservQty: Decimal; ReservQtyBase: Decimal)","returns":"","kind":"procedure","access":"public","obsolete":null},{"from":23,"to":24,"named":"(ServiceLine: Record \"Service Line\"; PurchaseLine: Record \"Purchase Line\"; ReservQty: Decimal; ReservQtyBase: Decimal)","returns":"","kind":"procedure","access":"public","obsolete":null},{"from":25,"to":27,"named":"(ServiceLine: Record \"Service Line\"; PurchaseLine: Record \"Purchase Line\"; ReservQty: Decimal; ReservQtyBase: Decimal)","returns":"","kind":"procedure","access":"public","obsolete":{"state":"Pending","reason":"Replaced by procedure BindToTracking()","tag":"25.0"}}]},{"name":"BindToRequisition","sig":"(Record Service Line, Record Requisition Line, Decimal, Decimal)","named":"(ServiceLine: Record \"Service Line\"; RequisitionLine: Record \"Requisition Line\"; ReservQty: Decimal; ReservQtyBase: Decimal)","returns":"","kind":"procedure","access":"public","obsolete":{"state":"Pending","reason":"Replaced by procedure BindToTracking()","tag":"25.0"},"range":"17-27","first":17,"last":27,"obsoleteSince":25,"spans":[{"from":17,"to":22,"named":"(ServiceLine: Record \"Service Line\"; ReqLine: Record \"Requisition Line\"; ReservQty: Decimal; ReservQtyBase: Decimal)","returns":"","kind":"procedure","access":"public","obsolete":null},{"from":23,"to":24,"named":"(ServiceLine: Record \"Service Line\"; RequisitionLine: Record \"Requisition Line\"; ReservQty: Decimal; ReservQtyBase: Decimal)","returns":"","kind":"procedure","access":"public","obsolete":null},{"from":25,"to":27,"named":"(ServiceLine: Record \"Service Line\"; RequisitionLine: Record \"Requisition Line\"; ReservQty: Decimal; ReservQtyBase: Decimal)","returns":"","kind":"procedure","access":"public","obsolete":{"state":"Pending","reason":"Replaced by procedure BindToTracking()","tag":"25.0"}}]},{"name":"BindToTransfer","sig":"(Record Service Line, Record Transfer Line, Decimal, Decimal)","named":"(ServiceLine: Record \"Service Line\"; TransferLine: Record \"Transfer Line\"; ReservQty: Decimal; ReservQtyBase: Decimal)","returns":"","kind":"procedure","access":"public","obsolete":{"state":"Pending","reason":"Replaced by procedure BindToTracking()","tag":"25.0"},"range":"17-27","first":17,"last":27,"obsoleteSince":25,"spans":[{"from":17,"to":22,"named":"(ServiceLine: Record \"Service Line\"; TransLine: Record \"Transfer Line\"; ReservQty: Decimal; ReservQtyBase: Decimal)","returns":"","kind":"procedure","access":"public","obsolete":null},{"from":23,"to":24,"named":"(ServiceLine: Record \"Service Line\"; TransferLine: Record \"Transfer Line\"; ReservQty: Decimal; ReservQtyBase: Decimal)","returns":"","kind":"procedure","access":"public","obsolete":null},{"from":25,"to":27,"named":"(ServiceLine: Record \"Service Line\"; TransferLine: Record \"Transfer Line\"; ReservQty: Decimal; ReservQtyBase: Decimal)","returns":"","kind":"procedure","access":"public","obsolete":{"state":"Pending","reason":"Replaced by procedure BindToTracking()","tag":"25.0"}}]},{"name":"BindToProdOrder","sig":"(Record Service Line, Record Prod. Order Line, Decimal, Decimal)","named":"(ServiceLine: Record \"Service Line\"; ProdOrderLine: Record \"Prod. Order Line\"; ReservQty: Decimal; ReservQtyBase: Decimal)","returns":"","kind":"procedure","access":"public","obsolete":{"state":"Pending","reason":"Replaced by procedure BindToTracking()","tag":"25.0"},"range":"17-27","first":17,"last":27,"obsoleteSince":25,"spans":[{"from":17,"to":24,"named":"(ServiceLine: Record \"Service Line\"; ProdOrderLine: Record \"Prod. Order Line\"; ReservQty: Decimal; ReservQtyBase: Decimal)","returns":"","kind":"procedure","access":"public","obsolete":null},{"from":25,"to":27,"named":"(ServiceLine: Record \"Service Line\"; ProdOrderLine: Record \"Prod. Order Line\"; ReservQty: Decimal; ReservQtyBase: Decimal)","returns":"","kind":"procedure","access":"public","obsolete":{"state":"Pending","reason":"Replaced by procedure BindToTracking()","tag":"25.0"}}]},{"name":"BindToAssembly","sig":"(Record Service Line, Record Assembly Header, Decimal, Decimal)","named":"(ServiceLine: Record \"Service Line\"; AssemblyHeader: Record \"Assembly Header\"; ReservQty: Decimal; ReservQtyBase: Decimal)","returns":"","kind":"procedure","access":"public","obsolete":{"state":"Pending","reason":"Replaced by procedure BindToTracking()","tag":"25.0"},"range":"17-27","first":17,"last":27,"obsoleteSince":25,"spans":[{"from":17,"to":22,"named":"(ServiceLine: Record \"Service Line\"; AsmHeader: Record \"Assembly Header\"; ReservQty: Decimal; ReservQtyBase: Decimal)","returns":"","kind":"procedure","access":"public","obsolete":null},{"from":23,"to":24,"named":"(ServiceLine: Record \"Service Line\"; AssemblyHeader: Record \"Assembly Header\"; ReservQty: Decimal; ReservQtyBase: Decimal)","returns":"","kind":"procedure","access":"public","obsolete":null},{"from":25,"to":27,"named":"(ServiceLine: Record \"Service Line\"; AssemblyHeader: Record \"Assembly Header\"; ReservQty: Decimal; ReservQtyBase: Decimal)","returns":"","kind":"procedure","access":"public","obsolete":{"state":"Pending","reason":"Replaced by procedure BindToTracking()","tag":"25.0"}}]},{"name":"CreateBindingReservation","sig":"(Record Service Line, Text[100], Date, Decimal, Decimal)","named":"(ServiceLine: Record \"Service Line\"; Description: Text[100]; ExpectedReceiptDate: Date; Quantity: Decimal; QuantityBase: Decimal)","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"19-29","first":19,"last":29,"obsoleteSince":null,"spans":[{"from":19,"to":29,"named":"(ServiceLine: Record \"Service Line\"; Description: Text[100]; ExpectedReceiptDate: Date; Quantity: Decimal; QuantityBase: Decimal)","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"GetReservedQtyFromInventory","sig":"(Record Service Line)","named":"(ServiceLine: Record \"Service Line\")","returns":"Decimal","kind":"procedure","access":"public","obsolete":null,"range":"23-29","first":23,"last":29,"obsoleteSince":null,"spans":[{"from":23,"to":29,"named":"(ServiceLine: Record \"Service Line\")","returns":"Decimal","kind":"procedure","access":"public","obsolete":null}]},{"name":"GetReservedQtyFromInventory","sig":"(Record Service Header)","named":"(ServiceHeader: Record \"Service Header\")","returns":"Decimal","kind":"procedure","access":"public","obsolete":null,"range":"23-29","first":23,"last":29,"obsoleteSince":null,"spans":[{"from":23,"to":29,"named":"(ServiceHeader: Record \"Service Header\")","returns":"Decimal","kind":"procedure","access":"public","obsolete":null}]},{"name":"BindToTracking","sig":"(Record Service Line, Record Tracking Specification, Text[100], Date, Decimal, Decimal)","named":"(ServiceLine: Record \"Service Line\"; TrackingSpecification: Record \"Tracking Specification\"; Description: Text[100]; ExpectedDate: Date; ReservQty: Decimal; ReservQtyBase: Decimal)","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"25-29","first":25,"last":29,"obsoleteSince":null,"spans":[{"from":25,"to":29,"named":"(ServiceLine: Record \"Service Line\"; TrackingSpecification: Record \"Tracking Specification\"; Description: Text[100]; ExpectedDate: Date; ReservQty: Decimal; ReservQtyBase: Decimal)","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"InitFromServLine","sig":"(var Record Tracking Specification, var Record Service Line, Boolean)","named":"(var TrackingSpecification: Record \"Tracking Specification\"; var ServiceLine: Record \"Service Line\"; Consume: Boolean)","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"25-29","first":25,"last":29,"obsoleteSince":null,"spans":[{"from":25,"to":29,"named":"(var TrackingSpecification: Record \"Tracking Specification\"; var ServiceLine: Record \"Service Line\"; Consume: Boolean)","returns":"","kind":"procedure","access":"public","obsolete":null}]},{"name":"ServiceInvLineCheck","sig":"(Record Service Line, Boolean)","named":"(ServiceLine: Record \"Service Line\"; ForceRequest: Boolean)","returns":"","kind":"procedure","access":"public","obsolete":null,"range":"25-29","first":25,"last":29,"obsoleteSince":null,"spans":[{"from":25,"to":29,"named":"(ServiceLine: Record \"Service Line\"; ForceRequest: Boolean)","returns":"","kind":"procedure","access":"public","obsolete":null}]}]}