{"title":"Codeunit 5749 Serv. Whse Post-Shipment, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/5749-serv-whse-post-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":5749,"name":"Serv. Whse Post-Shipment","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/5749-serv-whse-post-shipment/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/5749-serv-whse-post-shipment/source/","path":"src/Layers/W1/BaseApp/Service/Warehouse/ServWhsePostShipment.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:416":{"name":"Release Service Document","url":"https://jonas-paprotka.de/ref/codeunit/416-release-service-document/"},"table:5900":{"name":"Service Header","url":"https://jonas-paprotka.de/ref/table/5900-service-header/"},"table:5902":{"name":"Service Line","url":"https://jonas-paprotka.de/ref/table/5902-service-line/"},"codeunit:5980":{"name":"Service-Post","url":"https://jonas-paprotka.de/ref/codeunit/5980-service-post/"},"table:265":{"name":"Document Entry","url":"https://jonas-paprotka.de/ref/table/265-document-entry/"},"table:5992":{"name":"Service Invoice Header","url":"https://jonas-paprotka.de/ref/table/5992-service-invoice-header/"},"table:5990":{"name":"Service Shipment Header","url":"https://jonas-paprotka.de/ref/table/5990-service-shipment-header/"}},"procs":[{"name":"OnInitSourceDocumentHeader","line":35,"kind":"procedure","access":"local","params":3,"steps":[[49,"event","OnInitSourceDocumentHeaderOnBeforeServiceHeaderUpdatePostingDate",1],[52,"ext","codeunit",416,"SetSkipWhseRequestOperations",1],[53,"ext","codeunit",416,"Reopen",1],[54,"ext","table",5900,"SetHideValidationDialog",1],[55,"validate",5900,"Posting Date"],[56,"run","codeunit",416],[57,"write",5900,"Modify"],[84,"event","OnInitSourceDocumentHeaderOnBeforeServiceHeaderModify",0],[86,"write",5900,"Modify"]]},{"name":"OnAfterInitSourceDocumentLines","line":92,"kind":"procedure","access":"local","params":2,"steps":[[96,"call","HandleServiceLine",2]]},{"name":"HandleServiceLine","line":100,"kind":"procedure","access":"local","params":2,"steps":[[108,"event","OnBeforeHandleServiceLine",1],[121,"validate",5902,"Qty. to Ship"],[123,"event","OnHandleServiceLineOnSourceDocumentServiceOrderOnBeforeModifyLine",0],[125,"validate",5902,"Qty. to Consume"],[126,"validate",5902,"Qty. to Invoice"],[145,"event","OnHandleServiceLineOnNonWhseLineOnAfterCalcModifyLine",0],[148,"validate",5902,"Qty. to Ship"],[149,"validate",5902,"Qty. to Invoice"],[150,"validate",5902,"Qty. to Consume"],[153,"event","OnBeforeServiceLineModify",0],[155,"write",5902,"Modify"]]},{"name":"OnPostSourceDocument","line":160,"kind":"procedure","access":"local","params":6,"steps":[[172,"ext","codeunit",5980,"SetPostingOptions",3],[173,"ext","codeunit",5980,"SetSuppressCommit",1],[174,"event","OnPostSourceDocumentBeforeRunServicePost",0],[178,"run","codeunit",5980],[182,"run","codeunit",5980],[186,"event","OnPostSourceDocumentAfterRunServicePost",0],[190,"event","OnPostSourceDocumentOnBeforePrintServiceShipment",1],[192,"call","InsertDocumentEntryToPrint",3],[197,"event","OnPostSourceDocumentOnBeforePrintServiceInvoice",1],[199,"call","InsertDocumentEntryToPrint",3],[205,"event","OnAfterServicePost",0]]},{"name":"InsertDocumentEntryToPrint","line":211,"kind":"procedure","access":"local","params":3,"steps":[[217,"write",265,"Insert"]]},{"name":"OnPrintDocuments","line":221,"kind":"procedure","access":"local","params":1,"steps":[[223,"call","PrintDocuments",1]]},{"name":"PrintDocuments","line":226,"kind":"procedure","access":"local","params":1,"steps":[[240,"ext","table",5992,"PrintRecords",1],[252,"ext","table",5990,"PrintRecords",1]]}]}