{"title":"Codeunit 5932 Service-Get Shipment, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/5932-service-get-shipment/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":5932,"name":"Service-Get Shipment","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/5932-service-get-shipment/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/5932-service-get-shipment/source/","path":"src/Layers/W1/BaseApp/Service/Document/ServiceGetShipment.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":{"page:5994":{"name":"Get Service Shipment Lines","url":"https://jonas-paprotka.de/ref/page/5994-get-service-shipment-lines/"},"table:5991":{"name":"Service Shipment Line","url":"https://jonas-paprotka.de/ref/table/5991-service-shipment-line/"},"table:5992":{"name":"Service Invoice Header","url":"https://jonas-paprotka.de/ref/table/5992-service-invoice-header/"},"codeunit:1173":{"name":"Document Attachment Mgmt","url":"https://jonas-paprotka.de/ref/codeunit/1173-document-attachment-mgmt/"}},"procs":[{"name":"OnRun","line":14,"kind":"trigger","steps":[[24,"event","OnAfterSetServiceShptLineFilters",0],[28,"ext","page",5994,"SetServiceHeader",1]]},{"name":"CreateInvLines","line":46,"kind":"procedure","params":1,"steps":[[81,"call","CheckServiceShipmentLineVATBusPostingGroup",2],[82,"ext","table",5991,"InsertInvLineFromShptLine",1],[83,"call","CopyDocumentAttachments",2],[84,"event","OnCreateInvLinesOnAfterServiceShptLineInsertInvLineFromShptLine",0],[90,"call","CopyDocumentAttachments",2],[91,"event","OnAfterCreateInvLines",0]]},{"name":"CheckServiceShipmentLineVATBusPostingGroup","line":95,"kind":"procedure","access":"local","params":2,"steps":[[100,"event","OnBeforeCheckServiceShipmentLineVATBusPostingGroup",1]]},{"name":"GetServiceOrderInvoices","line":107,"kind":"procedure","params":2,"steps":[[113,"write",5992,"DeleteAll"],[122,"write",5992,"Insert"]]},{"name":"CopyDocumentAttachments","line":132,"kind":"procedure","access":"local","params":2,"steps":[[139,"call","AnyLineHasAttachments",1],[144,"ext","codeunit",1173,"CopyAttachments",2]]},{"name":"CopyDocumentAttachments","line":147,"kind":"procedure","access":"local","params":2,"steps":[[156,"call","OrderHasAttachments",1],[158,"ext","codeunit",1173,"CopyAttachments",2]]},{"name":"OrderHasAttachments","line":161,"kind":"procedure","access":"local","params":1,"steps":[[163,"call","EntityHasAttachments",2]]},{"name":"AnyLineHasAttachments","line":166,"kind":"procedure","access":"local","params":1,"steps":[[169,"call","EntityHasAttachments",2]]}]}