{"title":"Codeunit 5818 Undo Service Shipment Line, events","url":"https://jonas-paprotka.de/ref/codeunit/5818-undo-service-shipment-line/events/","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":5818,"name":"Undo Service Shipment Line","app":"Base Application","versions":"17-29","url":"https://jonas-paprotka.de/ref/codeunit/5818-undo-service-shipment-line/","json":"https://jonas-paprotka.de/ref/codeunit/5818-undo-service-shipment-line.json"},"aspect":"events","total":18,"rows":[{"name":"OnAfterCode","sig":"(var Record Service Shipment Line)","named":"(var ServiceShipmentLine: Record \"Service Shipment Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(var ServiceShipmentLine: Record \"Service Shipment Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnAfterCopyItemJnlLineFromServShpt","sig":"(var Record Item Journal Line, Record Service Shipment Header, Record Service Shipment Line)","named":"(var ItemJournalLine: Record \"Item Journal Line\"; ServiceShipmentHeader: Record \"Service Shipment Header\"; ServiceShipmentLine: Record \"Service Shipment Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(var ItemJournalLine: Record \"Item Journal Line\"; ServiceShipmentHeader: Record \"Service Shipment Header\"; ServiceShipmentLine: Record \"Service Shipment Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnAfterInsertNewShipmentLine","sig":"(var Record Service Shipment Line, Record Posted Whse. Shipment Line, var Boolean)","named":"(var ServiceShipmentLine: Record \"Service Shipment Line\"; PostedWhseShptLine: Record \"Posted Whse. Shipment Line\"; var PostedWhseShptLineFound: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(var ServiceShipmentLine: Record \"Service Shipment Line\"; PostedWhseShptLine: Record \"Posted Whse. Shipment Line\"; var PostedWhseShptLineFound: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnAfterUpdateOrderLine","sig":"(var Record Service Line, var Record Service Shipment Line)","named":"(var ServiceLine: Record \"Service Line\"; var ServiceShptLine: Record \"Service Shipment Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(var ServiceLine: Record \"Service Line\"; var ServiceShptLine: Record \"Service Shipment Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforeCheckServShptLine","sig":"(var Record Service Shipment Line, var Boolean)","named":"(var ServiceShptLine: Record \"Service Shipment Line\"; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(var ServiceShptLine: Record \"Service Shipment Line\"; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforeInsertNewShipmentLine","sig":"(var Record Service Shipment Line, Integer, var Record Item Entry Relation, var Boolean)","named":"(var ServiceShptLine: Record \"Service Shipment Line\"; ItemShptEntryNo: Integer; var TempGlobalItemEntryRelation: Record \"Item Entry Relation\" temporary; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(var ServiceShptLine: Record \"Service Shipment Line\"; ItemShptEntryNo: Integer; var TempGlobalItemEntryRelation: Record \"Item Entry Relation\" temporary; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforeNewServiceShptLineInsert","sig":"(var Record Service Shipment Line, Record Service Shipment Line)","named":"(var NewServiceShipmentLine: Record \"Service Shipment Line\"; OldServiceShipmentLine: Record \"Service Shipment Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(var NewServiceShipmentLine: Record \"Service Shipment Line\"; OldServiceShipmentLine: Record \"Service Shipment Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforePostResJnlLine","sig":"(var Record Res. Journal Line, var Record Service Shipment Line)","named":"(var ResJournalLine: Record \"Res. Journal Line\"; var ServiceShptLine: Record \"Service Shipment Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-20","first":17,"last":20,"obsoleteSince":null,"spans":[{"from":17,"to":20,"named":"(var ResJournalLine: Record \"Res. Journal Line\"; var ServiceShptLine: Record \"Service Shipment Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforeOnRun","sig":"(var Record Service Shipment Line, var Boolean)","named":"(var ServiceShipmentLine: Record \"Service Shipment Line\"; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(var ServiceShipmentLine: Record \"Service Shipment Line\"; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnCheckComponentsAdjustedOnAfterLocalServShptLineSetFilters","sig":"(var Record Service Shipment Line)","named":"(var ServiceShptLine: Record \"Service Shipment Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(var ServiceShptLine: Record \"Service Shipment Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnCodeOnAfterServShptLineModify","sig":"(var Record Service Shipment Line, var Record Warehouse Journal Line)","named":"(var ServShptLine: Record \"Service Shipment Line\"; var TempWarehouseJournalLine: Record \"Warehouse Journal Line\" temporary)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"20-29","first":20,"last":29,"obsoleteSince":null,"spans":[{"from":20,"to":29,"named":"(var ServShptLine: Record \"Service Shipment Line\"; var TempWarehouseJournalLine: Record \"Warehouse Journal Line\" temporary)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnCodeOnBeforeServShptLineModify","sig":"(var Record Service Shipment Line, var Record Warehouse Journal Line)","named":"(var ServShptLine: Record \"Service Shipment Line\"; var TempWarehouseJournalLine: Record \"Warehouse Journal Line\" temporary)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"20-29","first":20,"last":29,"obsoleteSince":null,"spans":[{"from":20,"to":29,"named":"(var ServShptLine: Record \"Service Shipment Line\"; var TempWarehouseJournalLine: Record \"Warehouse Journal Line\" temporary)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforePostResJnlLine","sig":"(var Record Res. Journal Line, var Record Service Shipment Line, var Boolean)","named":"(var ResJournalLine: Record \"Res. Journal Line\"; var ServiceShptLine: Record \"Service Shipment Line\"; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"21-29","first":21,"last":29,"obsoleteSince":null,"spans":[{"from":21,"to":29,"named":"(var ResJournalLine: Record \"Res. Journal Line\"; var ServiceShptLine: Record \"Service Shipment Line\"; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnAfterPostItemJnlLine","sig":"(var Record Item Journal Line, var Record Service Shipment Line)","named":"(var ItemJournalLine: Record \"Item Journal Line\"; var ServiceShipmentLine: Record \"Service Shipment Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"21-29","first":21,"last":29,"obsoleteSince":null,"spans":[{"from":21,"to":29,"named":"(var ItemJournalLine: Record \"Item Journal Line\"; var ServiceShipmentLine: Record \"Service Shipment Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnItemJnlPostLineOnAfterItemShptEntryNoOnBeforeExit","sig":"(var Record Item Journal Line, var Record Service Shipment Line)","named":"(var ItemJournalLine: Record \"Item Journal Line\"; var ServiceShipmentLine: Record \"Service Shipment Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"21-29","first":21,"last":29,"obsoleteSince":null,"spans":[{"from":21,"to":29,"named":"(var ItemJournalLine: Record \"Item Journal Line\"; var ServiceShipmentLine: Record \"Service Shipment Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnPostResJnlLineOnAfterRunWithCheck","sig":"(var Record Res. Journal Line, var Record Service Shipment Line)","named":"(var ResJournalLine: Record \"Res. Journal Line\"; var ServiceShipmentLine: Record \"Service Shipment Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"22-29","first":22,"last":29,"obsoleteSince":null,"spans":[{"from":22,"to":29,"named":"(var ResJournalLine: Record \"Res. Journal Line\"; var ServiceShipmentLine: Record \"Service Shipment Line\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnAfterGetCorrectionLineNo","sig":"(Record Service Shipment Line, var Integer)","named":"(ServiceShipmentLine: Record \"Service Shipment Line\"; var Result: Integer)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"23-29","first":23,"last":29,"obsoleteSince":null,"spans":[{"from":23,"to":29,"named":"(ServiceShipmentLine: Record \"Service Shipment Line\"; var Result: Integer)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforeGetCorrectionLineNo","sig":"(Record Service Shipment Line, var Integer, var Boolean)","named":"(ServiceShipmentLine: Record \"Service Shipment Line\"; var Result: Integer; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"23-29","first":23,"last":29,"obsoleteSince":null,"spans":[{"from":23,"to":29,"named":"(ServiceShipmentLine: Record \"Service Shipment Line\"; var Result: Integer; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]}]}