{"title":"Codeunit 6455 Serv. Sales-Post, extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/6455-serv-sales-post/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":6455,"name":"Serv. Sales-Post","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/6455-serv-sales-post/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/6455-serv-sales-post/source/","path":"src/Layers/W1/BaseApp/Service/ServSalesPost.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:5940":{"name":"Service Item","url":"https://jonas-paprotka.de/ref/table/5940-service-item/"},"table:5941":{"name":"Service Item Component","url":"https://jonas-paprotka.de/ref/table/5941-service-item-component/"},"codeunit:5920":{"name":"ServItemManagement","url":"https://jonas-paprotka.de/ref/codeunit/5920-servitemmanagement/"},"table:111":{"name":"Sales Shipment Line","url":"https://jonas-paprotka.de/ref/table/111-sales-shipment-line/"},"table:32":{"name":"Item Ledger Entry","url":"https://jonas-paprotka.de/ref/table/32-item-ledger-entry/"}},"procs":[{"name":"OnRunOnBeforeCheckAndUpdate","line":25,"kind":"procedure","access":"local","params":0,"steps":[[27,"write",5940,"DeleteAll"],[28,"write",5941,"DeleteAll"]]},{"name":"OnAfterInsertShipmentLine","line":33,"kind":"procedure","access":"local","params":4,"steps":[[38,"ext","codeunit",5920,"CreateServItemOnSalesLineShpt",3],[40,"ext","codeunit",5920,"ReturnServItemComp",2],[44,"write",5940,"Insert"],[49,"write",5941,"Insert"]]},{"name":"OnInsertPostedHeadersDeleteServItemOnSaleCreditMemo","line":55,"kind":"procedure","access":"local","params":1,"steps":[[57,"ext","codeunit",5920,"DeleteServItemOnSaleCreditMemo",1]]},{"name":"OnInsertPostedHeadersOnAfterInsertShipmentHeader","line":61,"kind":"procedure","access":"local","params":1,"steps":[[63,"call","CreateServItemOnSalesInvoice",1]]},{"name":"CreateServItemOnSalesInvoice","line":66,"kind":"procedure","access":"local","params":1,"steps":[[71,"event","OnBeforeCreateServItemOnSalesInvoice",1],[75,"ext","codeunit",5920,"CopyReservationEntry",1],[80,"ext","codeunit",5920,"CreateServItemOnSalesInvoice",1]]},{"name":"OnAfterFinalizePostingOnBeforeCommit","line":89,"kind":"procedure","access":"local","params":0,"steps":[[91,"call","SynchBOMSerialNo",2]]},{"name":"SynchBOMSerialNo","line":94,"kind":"procedure","access":"local","params":2,"steps":[[111,"write",111,"DeleteAll"],[116,"write",111,"Insert"],[128,"write",5941,"DeleteAll"],[139,"write",5941,"Insert"],[160,"write",32,"Insert"],[171,"write",5941,"Modify"],[172,"write",32,"Delete"]]}]}