{"title":"Codeunit 9065 Check Service Document, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/9065-check-service-document/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":9065,"name":"Check Service Document","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/9065-check-service-document/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/9065-check-service-document/source/","path":"src/Layers/W1/BaseApp/Service/Document/CheckServiceDocument.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":{"codeunit:5980":{"name":"Service-Post","url":"https://jonas-paprotka.de/ref/codeunit/5980-service-post/"},"table:27":{"name":"Item","url":"https://jonas-paprotka.de/ref/table/27-item/"}},"procs":[{"name":"OnRun","line":15,"kind":"trigger","steps":[[17,"call","RunCheck",1]]},{"name":"RunCheck","line":23,"kind":"procedure","access":"local","params":1,"steps":[[28,"ext","codeunit",5980,"CheckServiceDocument",2]]},{"name":"ItemOnBeforeCheckDocuments","line":32,"kind":"procedure","access":"local","params":4,"steps":[[34,"call","CheckServiceLines",4],[35,"call","CheckServiceContractLines",4]]},{"name":"CheckServiceLines","line":38,"kind":"procedure","access":"internal","params":4,"steps":[[44,"event","OnBeforeCheckServiceLines",1],[59,"ext","table",27,"GetCannotChangeItemWithExistingDocumentLinesErr",0]]},{"name":"CheckServiceContractLines","line":64,"kind":"procedure","access":"internal","params":4,"steps":[[70,"event","OnBeforeCheckServiceContractLines",1],[79,"ext","table",27,"GetCannotDeleteItemWithExistingDocumentLinesErr",0],[83,"ext","table",27,"GetCannotChangeItemWithExistingDocumentLinesErr",0]]}]}