{"title":"Codeunit 5923 Service-Quote to Order, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/5923-service-quote-to-order/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":5923,"name":"Service-Quote to Order","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/5923-service-quote-to-order/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/5923-service-quote-to-order/source/","path":"src/Layers/W1/BaseApp/Service/Document/ServiceQuotetoOrder.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:18":{"name":"Customer","url":"https://jonas-paprotka.de/ref/table/18-customer/"},"codeunit:6489":{"name":"Serv. Check Credit Limit","url":"https://jonas-paprotka.de/ref/codeunit/6489-serv-check-credit-limit/"},"table:5900":{"name":"Service Header","url":"https://jonas-paprotka.de/ref/table/5900-service-header/"},"codeunit:310":{"name":"No. Series","url":"https://jonas-paprotka.de/ref/codeunit/310-no-series/"},"codeunit:447":{"name":"Record Link Management","url":"https://jonas-paprotka.de/ref/codeunit/447-record-link-management/"},"table:5906":{"name":"Service Comment Line","url":"https://jonas-paprotka.de/ref/table/5906-service-comment-line/"},"table:5950":{"name":"Service Order Allocation","url":"https://jonas-paprotka.de/ref/table/5950-service-order-allocation/"},"table:5901":{"name":"Service Item Line","url":"https://jonas-paprotka.de/ref/table/5901-service-item-line/"},"table:5914":{"name":"Loaner Entry","url":"https://jonas-paprotka.de/ref/table/5914-loaner-entry/"},"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/"},"codeunit:5906":{"name":"ServLogManagement","url":"https://jonas-paprotka.de/ref/codeunit/5906-servlogmanagement/"},"codeunit:1535":{"name":"Approvals Mgmt.","url":"https://jonas-paprotka.de/ref/codeunit/1535-approvals-mgmt/"},"codeunit:6453":{"name":"Serv. Item Check Avail.","url":"https://jonas-paprotka.de/ref/codeunit/6453-serv-item-check-avail/"},"codeunit:5900":{"name":"ServOrderManagement","url":"https://jonas-paprotka.de/ref/codeunit/5900-servordermanagement/"}},"procs":[{"name":"OnRun","line":24,"kind":"trigger","steps":[[34,"event","OnBeforeRun",1],[43,"event","OnRunOnAfterGetServMgtSetup",0],[46,"event","OnRunOnBeforeCheckBlockedCustOnDocs",1],[48,"ext","table",18,"CheckBlockedCustOnDocs",4],[51,"ext","table",18,"CheckBlockedCustOnDocs",4],[57,"ext","codeunit",6489,"ServiceHeaderCheck",1],[59,"call","CheckServiceItemBlockedForAll",1],[60,"call","CheckItemServiceBlocked",1],[62,"call","TransferQuoteToOrderLines",4],[64,"call","MakeOrder",1],[67,"event","OnBeforeServHeaderDelete",0]]},{"name":"GetNoSeriesCode","line":92,"kind":"procedure","access":"local","params":0,"steps":[[96,"event","OnAfterGetNoSeriesCode",0]]},{"name":"InsertServHeader","line":104,"kind":"procedure","access":"local","params":2,"steps":[[106,"event","OnBeforeInsertServHeader",0],[108,"write",5900,"Insert",1],[116,"event","OnBeforeServiceHeaderOrderModify",0],[117,"write",5900,"Modify"],[119,"event","OnAfterInsertServHeader",0]]},{"name":"MakeOrder","line":122,"kind":"procedure","access":"local","params":1,"steps":[[131,"event","OnBeforeMakeOrder",1],[137,"validate",5900,"Status"],[149,"event","OnMakeOrderOnBeforeTestNoSeries",1],[151,"call","TestNoSeries",0],[152,"call","GetNoSeriesCode",0],[153,"ext","codeunit",310,"GetNextNo",1],[157,"ext","codeunit",447,"CopyLinks",2],[158,"call","InsertServHeader",2],[170,"event","OnBeforeServCommentLineInsert",0],[171,"write",5906,"Insert"],[184,"write",5950,"Modify"],[204,"event","OnBeforeServiceItemLineInsert",0],[205,"write",5901,"Insert",1],[206,"event","OnAfterInsertServiceLine",0],[209,"ext","table",5900,"UpdateResponseDateTime",0],[216,"ext","table",5914,"GetDocTypeFromServDocType",1],[218,"write",5914,"Modify"],[231,"event","OnMakeOrderOnBeforeServCommentLine2Insert",0],[232,"write",5906,"Insert"],[245,"event","OnBeforeServOrderLineInsert",1],[247,"write",5902,"Insert"],[248,"event","OnAfterServOrderLineInsert",0],[249,"ext","codeunit",99000842,"TransServLineToServLine",3],[252,"ext","codeunit",5906,"ServOrderQuoteChanged",2],[253,"ext","codeunit",1535,"CopyApprovalEntryQuoteToOrder",3],[257,"event","OnBeforeServLineDeleteAll",0],[259,"ext","codeunit",1535,"DeleteApprovalEntries",1]]},{"name":"TransferQuoteToOrderLines","line":262,"kind":"procedure","access":"local","params":4,"steps":[[272,"event","OnTransferQuoteToOrderLinesOnAfterServiceQuoteLineSetFilters",0],[276,"event","OnBeforeTransferQuoteLineToOrderLineLoop",1],[279,"ext","codeunit",99000842,"TransServLineToServLine",3],[282,"validate",5902,"Reserved Qty. (Base)"],[284,"ext","codeunit",6453,"ServiceInvLineCheck",1],[285,"ext","codeunit",6453,"RaiseUpdateInterruptedError",0]]},{"name":"CheckServiceItemBlockedForAll","line":290,"kind":"procedure","access":"local","params":1,"steps":[[301,"ext","codeunit",5900,"CheckServiceItemBlockedForAll",1]]},{"name":"CheckItemServiceBlocked","line":305,"kind":"procedure","access":"local","params":1,"steps":[[317,"ext","codeunit",5900,"CheckItemServiceBlocked",1]]}]}