{"title":"Codeunit 6485 Serv. Get Demand To Reserve, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/6485-serv-get-demand-to-reserve/points/","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":6485,"name":"Serv. Get Demand To Reserve","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/6485-serv-get-demand-to-reserve/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/6485-serv-get-demand-to-reserve/source/","path":"src/Layers/W1/BaseApp/Service/Inventory/Tracking/ServGetDemandToReserve.Codeunit.al","commit":"4303e5e584d3aa5d9e98cbc615525a5396ad6ed7","lines":"a line is <source url>#L<line>"},"steps":{"event":"[line, \"event\", name, handled]: raises an event of this object; handled 1 when it has an IsHandled parameter","call":"[line, \"call\", name, arguments]: calls a procedure of this object","ext":"[line, \"ext\", type, id, name, arguments]: calls a procedure of another object, through a variable declared with that type","write":"[line, \"write\", table id, method, 1 when called with true]: Insert, Modify, ModifyAll, Delete, DeleteAll or Rename","validate":"[line, \"validate\", table id, field name]","run":"[line, \"run\", type, id]: Codeunit.Run, Page.Run, Report.Run and their kin"},"objects":{"table:5902":{"name":"Service Line","url":"https://jonas-paprotka.de/ref/table/5902-service-line/"},"codeunit:99000842":{"name":"Service Line-Reserve","url":"https://jonas-paprotka.de/ref/codeunit/99000842-service-line-reserve/"},"page:5914":{"name":"Service Order Statistics","url":"https://jonas-paprotka.de/ref/page/5914-service-order-statistics/"},"report:302":{"name":"Get Demand To Reserve","url":"https://jonas-paprotka.de/ref/report/302-get-demand-to-reserve/"},"table:346":{"name":"Reservation Wksh. Line","url":"https://jonas-paprotka.de/ref/table/346-reservation-wksh-line/"},"codeunit:300":{"name":"Reservation Worksheet Mgt.","url":"https://jonas-paprotka.de/ref/codeunit/300-reservation-worksheet-mgt/"}},"procs":[{"name":"OnIsOutdated","line":19,"kind":"procedure","access":"local","params":2,"steps":[[28,"ext","table",5902,"IsInventoriableItem",0]]},{"name":"OnGetSourceDocumentLine","line":64,"kind":"procedure","access":"local","params":5,"steps":[[73,"ext","table",5902,"GetRemainingQty",2]]},{"name":"OnGetSourceDocumentLineQuantities","line":80,"kind":"procedure","access":"local","params":4,"steps":[[93,"ext","codeunit",99000842,"GetReservedQtyFromInventory",1]]},{"name":"OnShowReservationEntries","line":113,"kind":"procedure","access":"local","params":1,"steps":[[121,"ext","table",5902,"ShowReservationEntries",1]]},{"name":"OnShowStatistics","line":127,"kind":"procedure","access":"local","params":1,"steps":[[136,"run","page",5914]]},{"name":"SyncServiceOrderLines","line":142,"kind":"procedure","access":"local","params":2,"steps":[[154,"ext","report",302,"GetServiceOrderLines",1],[163,"ext","table",346,"IsOutdated",0],[164,"write",346,"Delete",1],[168,"ext","table",346,"GetLastLineNo",0],[198,"ext","table",5902,"GetRemainingQty",2],[202,"ext","codeunit",300,"GetAvailRemainingQtyOnItemLedgerEntry",7],[206,"validate",346,"Avail. Qty. to Reserve (Base)"],[207,"validate",346,"Qty. in Stock (Base)"],[208,"validate",346,"Qty. Reserv. in Stock (Base)"],[209,"validate",346,"Qty. in Whse. Handling (Base)"],[215,"event","OnSyncServiceOrderLinesOnBeforeInsertReservationWkshLine",0],[217,"write",346,"Insert",1]]}]}